Rootop 服务器运维与web架构

extmail升级1.2 500 Internal Server Error错误

| 暂无评论

     因为emos1.5默认的extmail版本,在通讯录的“组”中,姓名如果是中文的话,选中组,发邮件时,变为乱码,原因是extmail中的一个bug,只好升级到extmail1.2,在虚拟机下测试访问时遇到错误:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/2.2.3 (Red Hat) Server at mail.nq.com Port 80

检查日志:

[root@emos extmail]# vi /var/log/httpd/error_log
[Thu May 26 19:35:04 2011] [error] [client 1.1.1.1] Premature end of script headers: index.cgi
[Thu May 26 19:35:05 2011] [error] [client 1.1.1.1] suexec policy violation: see suexec log for more details
提示我们检查suexec日志

[root@emos extmail]# vi /var/log/httpd/suexec.log

[2011-05-26 19:34:09]: uid: (1000/vuser) gid: (1000/1000) cmd: index.cgi
[2011-05-26 19:34:09]: file has no execute permission: (/var/www/extsuite/extmail/cgi/index.cgi)

执行:

[root@emos extmail]# chmod -R 755 cgi/

再次访问,ok了~   (不要忘记cgi 和tmp属主属组皆为vuser vgroup,否则访问时会报另一个错误)

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/518.html

作者:Venus

服务器运维与性能优化

发表回复