Php (Internal Server error)
Hello Everyone
5th Time I have tried to make this post but here it goes:
I have been having issues with my CPanel server by getting 500 Internal Server Error.
I have searched the forums and tried some solutions but nothing has worked.
Here is the Apache Error log. - Removed -
Thanks and Kind Regards
Jack
Oct 27 19:37:43 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Oct 27 19:37:43 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Mon Oct 27 19:37:44 2014] [error] [client 114.76.xx.xxx] SoftException in Application.cpp:601: Directory "/" is writeable by group, referer: http://domain.com/billing/index.php
[Mon Oct 27 19:37:44 2014] [error] [client 114.76.xx.xxx] Premature end of script headers: jsCodeInjecter.php, referer: http://domain.com/billing/index.php
[Mon Oct 27 19:37:44 2014] [error] [client 114.76.xx.xxx] File does not exist: /home/username/public_html/500.shtml, referer: http://domain.com/billing/index.php
[Mon Oct 27 19:37:46 2014] [notice] caught SIGTERM, shutting down
[Mon Oct 27 19:37:49 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Oct 27 19:37:49 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Oct 27 19:37:49 2014] [notice] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
[Mon Oct 27 19:37:49 2014] [notice] ModSecurity: APR compiled version="1.5.0"; loaded version="1.5.0"
[Mon Oct 27 19:37:49 2014] [notice] ModSecurity: PCRE compiled version="8.21 "; loaded version="8.21 2011-12-12"
[Mon Oct 27 19:37:49 2014] [notice] ModSecurity: LUA compiled version="Lua 5.1"
[Mon Oct 27 19:37:49 2014] [notice] ModSecurity: LIBXML compiled version="2.9.0"
[Mon Oct 27 19:37:49 2014] [notice] Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Mon Oct 27 19:37:50 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Oct 27 19:37:50 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Mon Oct 27 19:37:55 2014] [error] [client 114.76.xx.xxx] SoftException in Application.cpp:601: Directory "/" is writeable by group, referer: http://domain.com/billing/index.php
[Mon Oct 27 19:37:55 2014] [error] [client 114.76.xx.xxx] Premature end of script headers: jsCodeInjecter.php, referer: http://domain.com/billing/index.php
[Mon Oct 27 19:37:55 2014] [error] [client 114.76.xx.xxx] File does not exist: /home/username/public_html/500.shtml, referer: http://domain.com/billing/index.php
[Mon Oct 27 19:37:57 2014] [error] [client 66.249.xx.xx] SoftException in Application.cpp:601: Directory "/" is writeable by group
[Mon Oct 27 19:37:57 2014] [error] [client 66.249.xx.xx] Premature end of script headers: index.php
[Mon Oct 27 19:37:57 2014] [error] [client 66.249.xx.xx] File does not exist: /home/eclipse7/public_html/500.shtml
~
~
~-
Hello :) The important error message here is: SoftException in Application.cpp:601: Directory "/" is writeable by group
Check the permissions on the "/" directory on your system with a command such as:stat /
Default permissions are 0755 on this directory. Also, review the directories within the account to make sure none of them are set to 0777. Note that it's also a good idea to investigate how/why the directory permissions were manually changed. Thank you.0 -
Thanks Michael. Your solution did work, and I have no Idea how it was changed (going through logs) the directory (www) was set to 0777 after changing them all the websites started to work again. Thanks and Kind Regards Jack. 0 -
I am happy to see the issue is now resolved. You can review /var/log/messages or /usr/local/cpanel/logs/access_log to determine if the user modified the permissions via FTP or cPanel's File Manager. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments