SecurityException in Application.cpp:188: Do not have root privileges. Executable not setuid root?

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..!!

About Sarath

A Techie from Kochi, India with 8+ years of experience in Linux and Windows server administration. I learn new things almost everyday and I enjoy the fun of learning and sharing my knowledge.

Related Posts

COMMENTS

One thought on “SecurityException in Application.cpp:188: Do not have root privileges. Executable not setuid root?

Leave a Reply

Your email address will not be published. Required fields are marked *