Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

HTTP ERROR 500 on some website page hosted from vesta cpanel?

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
sunil1200
Posts: 5
Joined: Thu Jul 07, 2016 1:45 pm

HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by sunil1200 » Thu Jul 07, 2016 1:50 pm

I currently hosted a site using vesta and it all went ok but in some pages of website it displays http error 500 when i click on whereas other pages work perfectly. The same site works all perfectly in local.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by skamasle » Thu Jul 07, 2016 1:59 pm

Can you check your error_log ?

paste here some information.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by skurudo » Thu Jul 07, 2016 2:16 pm

Logs - good, but

It can be like in this topic ->
viewtopic.php?p=46855#p46831
viewtopic.php?p=46855#p46855
Top

sunil1200
Posts: 5
Joined: Thu Jul 07, 2016 1:45 pm

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by sunil1200 » Thu Jul 07, 2016 2:54 pm

skamasle wrote:Can you check your error_log ?

paste here some information.
Where is error_log file located?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by skurudo » Thu Jul 07, 2016 2:57 pm

sunil1200 wrote: Where is error_log file located?
https://vestacp.com/docs/#config-log-lo ... hel-centos
https://vestacp.com/docs/#config-log-lo ... ian-ubuntu
Top

sunil1200
Posts: 5
Joined: Thu Jul 07, 2016 1:45 pm

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by sunil1200 » Thu Jul 07, 2016 3:04 pm

skamasle wrote:Can you check your error_log ?

paste here some information.
I dont know if it helps but i found this error_log file in var/log/httpd

[Thu Jul 07 09:29:58.058121 2016] [suexec:notice] [pid 887] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 09:29:58.121098 2016] [so:warn] [pid 887] AH01574: module ruid2_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globall$
[Thu Jul 07 09:29:58.138937 2016] [auth_digest:notice] [pid 887] AH01757: generating secret for digest authentication ...
[Thu Jul 07 09:29:58.147075 2016] [:notice] [pid 887] mod_ruid2/0.9.8 enabled
[Thu Jul 07 09:29:58.356076 2016] [mpm_prefork:notice] [pid 887] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45$
[Thu Jul 07 09:29:58.356135 2016] [core:notice] [pid 887] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jul 07 09:30:29.136151 2016] [mpm_prefork:notice] [pid 887] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jul 07 09:30:46.372962 2016] [suexec:notice] [pid 889] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 07 09:30:46.486019 2016] [so:warn] [pid 889] AH01574: module ruid2_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globall$
[Thu Jul 07 09:30:46.508191 2016] [auth_digest:notice] [pid 889] AH01757: generating secret for digest authentication ...
[Thu Jul 07 09:30:46.519544 2016] [:notice] [pid 889] mod_ruid2/0.9.8 enabled
[Thu Jul 07 09:30:46.755887 2016] [mpm_prefork:notice] [pid 889] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45$
[Thu Jul 07 09:30:46.755952 2016] [core:notice] [pid 889] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Top

gwolf2u
Posts: 12
Joined: Wed Apr 27, 2016 7:07 pm

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by gwolf2u » Fri Jul 08, 2016 9:24 am

try to output /var/log/httpd/domains/<your domain here>.error.log
Top

sunil1200
Posts: 5
Joined: Thu Jul 07, 2016 1:45 pm

Re: HTTP ERROR 500 on some website page hosted from vesta cpanel?
  • Quote

Post by sunil1200 » Fri Jul 08, 2016 3:24 pm

OK. I fixed the error. The error was due to PHP 5.4 .After i upgraded it to PHP 5.6 everything went fine.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password