[svlug] httpd is down
Javilk
javilk at polly.mall-net.com
Tue Nov 30 00:34:38 PST 1999
> > ps -a confirms that httpd is not running. Just entering "httpd" on the
command line doesn't seem to help. Can anyone give me a tip on how you're
supposed to launch the http daemon manually?
I did have a problem similar to yours recently.
I have a bit of experience with httpd, earning a good part of my
income from web related endeavors. I have four web servers here in this
office.
Not all systems install httpd to auto start. On those, simply typing
httpd on the command line should start it... _IF_ the files in
/etc/httpd/conf or /home/httpd/conf are set up properly. (Early Caldera
releases used /home/httpd/conf/, while Red Hat uses /etc/httpd/conf/ . I
am not sure about the current Caldera release.)
Simply typing httpd is how I start it on machines that don't
auto-start it, or after I kill httpd for whatever reason.
Configuration issues will keep it from starting, as will something
else that had grabbed port 80. On most systems, httpd error messages can
be found in /var/log/httpd. Although this mostly contains cgi-bin related
error messages, you should examine the error logs there to see if there is
a clue to configuration issues.
It may help to try
httpd -t
which will test the configuration files and give you some error messages.
Does not always give enough.
httpd -X
will keep the program from detaching from the console, so you should get
more messages than usual directed to the terminal. This may be important
if the server starts, then crashes when something happens.
The combination of the three helped me find my error, which was
related to setting up virtual domains on one of my servers. (I probably
still don't have it "right", as what I have seems a bit counter-intuitive,
but httpd stays up and clients get their pages.)
There is much on-line documentation at http://www.Apache.org/ .
javilk at mall-net.com ------------------ webmaster at Mall-Net.com
----------------------- IMAGINEERING --------------------------
----------------- Every mouse click, a Vote -------------------
---------- Do they vote For, or Against your pages? -----------
--- Web Imagineering -- Architecture to Programming CGI-BIN ---
---------------------------------------------------------------
--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
see http://www.svlug.org/mdstuff/lists.shtml for posting guidelines.
More information about the svlug
mailing list