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 Web Server
  • Search

Help with "500 Internal Server Error"

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
13 posts
  • 1
  • 2
  • Next
croc122
Posts: 11
Joined: Sat Mar 28, 2015 5:15 pm

Help with "500 Internal Server Error"
  • Quote

Post by croc122 » Sat Mar 28, 2015 5:25 pm

I have a VPS from ovh.com and I have 4 IPv4 addresses connected to it, so I can host 4 different websites each on port 80.
Three of the IPs are located in the US, whereas the VPS is located in Canada. It is telling me they are "failover" IPs.
The primary IP address for the VPS works fine. It brings you to clubzebula.com just as expected, but all my other websites display after a few seconds "500 Internal Server Error". I have added all the IPs and domains via the Vesta control panel, but I might be missing an important step.

Any help would be very much appreciated!
Top

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

Re: Help with "500 Internal Server Error"
  • Quote

Post by skurudo » Sat Mar 28, 2015 6:04 pm

500 Internal Server Error - it's webserver error. See in error logs, what it is.
Top

croc122
Posts: 11
Joined: Sat Mar 28, 2015 5:15 pm

Re: Help with "500 Internal Server Error"
  • Quote

Post by croc122 » Sat Mar 28, 2015 6:06 pm

skurudo wrote:500 Internal Server Error - it's webserver error. See in error logs, what it is.
I looked in the error logs and didn't really see much. Which one do I look in?
Top

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

Re: Help with "500 Internal Server Error"
  • Quote

Post by skurudo » Sat Mar 28, 2015 6:07 pm

domain error log
and
/var/log/apache2 or httpd (if you're use centos/rhel)
Top

croc122
Posts: 11
Joined: Sat Mar 28, 2015 5:15 pm

Re: Help with "500 Internal Server Error"
  • Quote

Post by croc122 » Sat Mar 28, 2015 6:12 pm

skurudo wrote:domain error log
and
/var/log/apache2 or httpd (if you're use centos/rhel)
Here is a snippet from the error.log file...

Code: Select all

[Tue Mar 24 14:06:42 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/lib$
[Tue Mar 24 14:06:42 2015] [notice] mod_ruid2/0.9.7 enabled
[Tue Mar 24 14:06:42 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/$
[Tue Mar 24 14:06:48 2015] [notice] Graceful restart requested, doing restart
[Tue Mar 24 14:06:48 2015] [warn] NameVirtualHost 192.99.244.195:8080 has no Vi$
[Tue Mar 24 14:06:48 2015] [warn] NameVirtualHost 192.99.244.195:8443 has no Vi$
[Tue Mar 24 14:06:48 2015] [notice] mod_ruid2/0.9.7 enabled
[Tue Mar 24 14:06:48 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/$
[Tue Mar 24 14:06:49 2015] [notice] Graceful restart requested, doing restart
[Tue Mar 24 14:06:49 2015] [warn] NameVirtualHost 192.99.244.195:8443 has no Vi$
[Tue Mar 24 14:06:49 2015] [notice] mod_ruid2/0.9.7 enabled
[Tue Mar 24 14:06:49 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/$
[Tue Mar 24 14:10:17 2015] [notice] Graceful restart requested, doing restart
[Tue Mar 24 14:10:17 2015] [error] (9)Bad file descriptor: apr_socket_accept: ($
[Tue Mar 24 14:10:17 2015] [warn] NameVirtualHost 192.99.244.195:8443 has no Vi$
[Tue Mar 24 14:10:17 2015] [warn] NameVirtualHost 192.99.97.56:8080 has no Virt$
[Tue Mar 24 14:10:17 2015] [warn] NameVirtualHost 192.99.97.56:8443 has no Virt$
[Tue Mar 24 14:10:17 2015] [notice] mod_ruid2/0.9.7 enabled
[Tue Mar 24 14:10:17 2015] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 PHP/$
Top

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

Re: Help with "500 Internal Server Error"
  • Quote

Post by skurudo » Sat Mar 28, 2015 6:39 pm

Can you ping your other IP?

What's not-working domains logs can us tell? /home/user/web/domainru/logs/
Top

croc122
Posts: 11
Joined: Sat Mar 28, 2015 5:15 pm

Re: Help with "500 Internal Server Error"
  • Quote

Post by croc122 » Sat Mar 28, 2015 6:49 pm

skurudo wrote:Can you ping your other IP?

What's not-working domains logs can us tell? /home/user/web/domainru/logs/
The server pings...

My domains that are not working are...
bronycroc.me
speedycrocdesign.com
animalsvsmonsters.com

Here is the error log for the first domain...

Code: Select all

2015/03/24 14:36:07 [error] 28137#0: *15 upstream timed out (110: Connection timed out) while connecting to upstream, client: 66.249.67.48, server: brony$
2015/03/24 14:36:09 [error] 28137#0: *17 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:43:21 [error] 28137#0: *41 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:45:18 [error] 28137#0: *43 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:46:49 [error] 28137#0: *46 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:46:49 [error] 28137#0: *47 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:48:51 [error] 28137#0: *50 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:54:07 [error] 28137#0: *60 upstream timed out (110: Connection timed out) while connecting to upstream, client: 75.102.129.175, server: bro$
2015/03/24 14:54:50 [error] 28137#0: *62 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.36, server: bronyc$
2015/03/24 17:02:25 [error] 4716#0: *126 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.105, server: brony$
2015/03/24 18:53:04 [error] 4716#0: *272 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.221, server: brony$
2015/03/24 19:34:50 [error] 4716#0: *298 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.5.80, server: bronyc$
2015/03/24 19:36:04 [error] 4716#0: *300 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.6.28, server: bronyc$
2015/03/24 20:56:26 [error] 4716#0: *350 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.91, server: bronyc$
2015/03/24 22:52:33 [error] 4716#0: *447 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.207, server: brony$
2015/03/25 00:58:21 [error] 4716#0: *534 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.61, server: bronyc$
2015/03/25 02:55:02 [error] 4716#0: *601 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.26, server: bronyc$
2015/03/25 05:01:04 [error] 4716#0: *704 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.91, server: bronyc$
2015/03/25 06:52:20 [error] 4716#0: *798 upstream timed out (110: Connection timed out) while connecting to upstream, client: 180.76.4.251, server: brony$
Top

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

Re: Help with "500 Internal Server Error"
  • Quote

Post by skurudo » Sat Mar 28, 2015 7:05 pm

Try to disable firewall and check your sites.

This topic might helps - viewtopic.php?f=10&t=7394
Top

croc122
Posts: 11
Joined: Sat Mar 28, 2015 5:15 pm

Re: Help with "500 Internal Server Error"
  • Quote

Post by croc122 » Sat Mar 28, 2015 7:33 pm

skurudo wrote:Try to disable firewall and check your sites.

This topic might helps - viewtopic.php?f=10&t=7394
When I disable the firewall, the site loads just fine. How do I get the site to load with the firewall enabled?
Top

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

Re: Help with "500 Internal Server Error"
  • Quote

Post by skurudo » Sat Mar 28, 2015 7:47 pm

This topic might helps - viewtopic.php?f=10&t=7394
Top


Post Reply
  • Print view

13 posts
  • 1
  • 2
  • Next

Return to “Web Server”



  • 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