[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Help! RAQ4 virtual sites not responding



"Laurence Pearce" <laurence@xxxxxxxxx> wrote:
> Many thanks for the comments. Fault has corrected itself - seemed to be a
> firewall port 80 problem with our hosting company! That seems the only
> explanation as to why no virtual sites were responding yet the admin
> services were ok. Its too easy to assume that you have broken something
when
> installing server software.

Laurence, that's a possible explanation, but I've worked on many RaQs where
the main Apache (ports 80 and 443) were down, but the Apache which runs as
root for the GUI (ports 81 and 443) was accessible.  The normal Apache and
the Apache used by the GUI are 2 separate binaries running on separate ports
as separate users.  When Active Monitor runs (every 15 minutes) it checks to
see if certain services are stopped and if so it tries to restart them.
It's possible that the main Apache was stopped for some reason and restarted
by Active Monitor.  Next time you can verify whether Apache is actually
working by logging into the shell and typing:

/etc/rc.d/init.d/httpd status

You can also use lynx from the shell to try to access Apache for the main
site.

lynx http://`echo $HOSTNAME`

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/