Friday 29 March 2013

Last month I came across a situation where all websites on a server were throwing Internal Server errors. Upon checking error logs I found "SecurityException in Application.cpp:188: Do not have root privileges. Executable not setuid root?" in the logs and a quick googling lead me to the cause of the error.

The error was because the suphp binary was missing its suid permissions and assigning it fixed the issue.
# chmod +s /opt/suphp/sbin/suphp
All good..!!

1 comment: