Home > Programming, Servers & Scripts > Hosting, Servers & Security

Server's up but site's down (7)


01-15-2012 07:39 AM #1 shanktank (Member)
Server's up but site's down

My server's up but site's down.

What do you think could be the problem?


01-15-2012 10:24 AM #2 zeno (Administrator)

Shouldn't you be talking to your hosting support?


01-15-2012 10:28 AM #3 bbrock32 (Administrator)

Means most prob your web server crashed.

Try restarting it (apache/nginx/litespeed).


01-15-2012 12:48 PM #4 nitroman (Member)

Quote Originally Posted by bbrock32 View Post
Means most prob your web server crashed.

Try restarting it (apache/nginx/litespeed).
This or you may need to restart mysql if your site is showing a blank white page.


01-15-2012 01:18 PM #5 shanktank (Member)

It's unmanaged and my programmer's not around during the weekend.

I tried restarting using

Code:
/etc/init.d/httpd restart
But it's giving me this error:
Code:
Stopping httpd:[FAILED]
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 49 of /etc/httpd/conf.d/~lxcenter.conf: Syntax error on line 20 of /home/apache/conf/defaults/_default.conf: </VirtualHost> without matching <VirtualHost> section [FAILED]


01-15-2012 02:01 PM #6 bbrock32 (Administrator)

Looks like there is an error in your default.conf file ( an extra </VirtualHost> according to the error ).

I would open the file and go to like no 20.

If it is an </VirtualHost> without an opening <VirtualHost> I would delete it and try to restart the server again.


01-15-2012 02:59 PM #7 shanktank (Member)

Fixed now.
Seems like I needed to add a new line for the closing </ifmodule>

Weird.


Home > Programming, Servers & Scripts > Hosting, Servers & Security