httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Getting apache to boot
Date Fri, 22 Nov 2002 09:13:50 GMT
It would be nice to know what brand of Unix.... etc.

The basic idea is that the booting system goes through a series of run
levels. On my Solaris system, when it gets to run level 3, it looks in
the directory /etc/rc3.d and takes any script which begins with an "S"
in the order of the number following the S, so it eventually comes to a
script called "S50apache". It then executes that script with the
argument "start" (that's what the S is for). 

Now, S50apache is really a symbolic link to /etc/init.d/apache which is
simply a copy of /usr/local/apache/bin/apachctl. So all that really
happens is that we execute "apachectl start".

This may be subtly different on your machine (I know linux tends to have
/etc/rc.local/rc3.d - I think...) but the basic idea is the same. Just
poke around in /etc until you find the "Snnprog" scripts... Have a look
at the one for sendmail (probably S88sendmail) to get the general idea.

Just make sure you start apache pretty late on - it needs lots of other
daemons to be running before it will work (e.g. TP/IP stack, inetd


Owen Boyle

>-----Original Message-----
>From: Martyn Longhurst (MJ) []
>Sent: Freitag, 22. November 2002 10:04
>Subject: [users@httpd] Getting apache to boot
>I have been trying now for a while to get apache to start when Unix
>loads up. I have managed to get it right with Tomcat, but Apache just
>doesn't want to work. Any suggestions?
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message