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