1
我想在一個乾淨的CentOS 6的安裝運行這個web2py install script,並且正在以下組的錯誤:瞭解外殼安裝腳本錯誤
checkmodule: loading policy configuration from httpd.te
httpd.te:1:ERROR 'Building a policy module, but no module specification found.
' at token 'EOF' on line 1:
checkmodule: error(s) encountered while parsing configuration
semodule_package: Could not open file No such file or directory: httpd.mod
semodule: Failed on httpd.pp!
- Configure Apache to use mod_wsgi
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/default.conf:
Invalid command 'EOF', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
- Complete!
./setup-web2py-fedora.sh: line 407: EOF: command not found
./setup-web2py-fedora.sh: line 408: EOF: command not found
./setup-web2py-fedora.sh: line 409: EOF: command not found
爲什麼腳本有問題,我不明白處理'EOF',因爲它只是應該是heredoc的分隔標識符。
@ larsks-感謝我看到了現在 - 是線228,300和407-9的錯誤呢? – Yarin 2012-04-24 11:43:10
他們確實看起來像。 – larsks 2012-04-24 13:03:42