Jump to content

Internal error 500


Recommended Posts

Can anyone help me out with diagnosing the issue with installing whmcs I get an error 500 displayed and when I retrieve the error logs via SSH I get the out put as this:-

 

Fri Sep 15 18:03:51.978010 2017] [mpm_worker:notice] [pid 28839:tid 140297470605440] AH00297: SIGUSR1 received.  Doing graceful restart
[Fri Sep 15 18:03:52.188419 2017] [mpm_worker:notice] [pid 28839:tid 140297470605440] AH00292: Apache/2.4.27 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4 configured -- resuming normal operations
[Fri Sep 15 18:03:52.188470 2017] [core:notice] [pid 28839:tid 140297470605440] AH00094: Command line: '/usr/sbin/httpd'
[Fri Sep 15 18:11:38.817270 2017] [cgid:error] [pid 30253:tid 140297187096320] [client 185.69.145.145:22951] End of script output before headers: install.php
[Fri Sep 15 18:13:49.652258 2017] [cgid:error] [pid 30256:tid 140297170310912] [client 185.69.145.145:37266] End of script output before headers: update.php
[Fri Sep 15 18:17:01.554943 2017] [cgid:error] [pid 30255:tid 140297052813056] [client 185.69.145.145:44451] End of script output before headers: install.php
[Fri Sep 15 18:43:46.465794 2017] [cgid:error] [pid 30256:tid 140297119954688] [client 140.250.92.179:63233] AH01264: script not found or unable to stat: /var/www/html/hedwig.cgi
[Fri Sep 15 20:00:38.058208 2017] [mpm_worker:notice] [pid 28839:tid 140297470605440] AH00297: SIGUSR1 received.  Doing graceful restart
[Fri Sep 15 20:00:38.160441 2017] [mpm_worker:notice] [pid 28839:tid 140297470605440] AH00292: Apache/2.4.27 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4 configured -- resuming normal operations
[Fri Sep 15 20:00:38.160477 2017] [core:notice] [pid 28839:tid 140297470605440] AH00094: Command line: '/usr/sbin/httpd'

 

Any Ideas would be greatly appreciated as I have been working on this for 2 days.

 

Back ground information.

Dedicated server environment

Cpanel integration

Link to comment
Share on other sites

So I have now been looking into this in more detail and have re-installed the system I am now aware that this has to be a permission based issue as I have been playing with the settings whilst reading the logs and also tried installing another script in php and this works without issue.

 

 

[sun Sep 17 19:19:31.786671 2017] [cgi:error] [pid 27739] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php
[sun Sep 17 19:17:49.369686 2017] [cgi:error] [pid 27636] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php
[sun Sep 17 19:16:44.399634 2017] [cgi:error] [pid 27634] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php
[sun Sep 17 19:16:19.557679 2017] [cgi:error] [pid 27638] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php
[sun Sep 17 19:15:38.269483 2017] [cgi:error] [pid 27635] [client IP:1024] AH01215: (13)Permission denied: exec of '/home/user/public_html/index.php' failed: /home/user/public_html/index.php

 

Current setting are:-

 

Files 755

scripts 644

 

templates_c, downloads, and attachments 777

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated