• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved 500 Internal Server Error

Conor Hill

New Pleskian
Hi All,

I am getting a 500 internal server error when I am trying to run a hello-world.cgi script.

permissions for hello-world.cgi are 755.

These are the logs.

error_log:
[Thu Nov 16 10:47:53 2017] [error] [client 89.101.164.98] failed to open log file /var/log/httpd/suexec_log
[Thu Nov 16 10:47:53 2017] [error] [client 89.101.164.98] fopen: Permission denied
[Thu Nov 16 10:47:53 2017] [error] [client 89.101.164.98] Premature end of script headers: hello-world.cgi
suexec_log:
[2017-11-16 10:47:53]: uid: (10004/c0no4) gid: (503/503) cmd: hello-world.cgi

Any help is appreciated.

Thanks,
Conor.
 
Back
Top