on 7/15/00 7:47 PM, faisal wrote:
> I want my apache server to start during startup i have to start it up
> manaully what to do ?
> it is in standalone mode
>
> I am also getting this message unable to determine local host name .........\
have you set your machine's hostname parameter?
things start up automaticaly by having a startup script in the right run
control folder.
the start up script for apache is /etc/rc.d/init.d/httpd
you need an alias to in the folder for the run level you're using.
if you use run level 3 add a symlink to /etc/rc.d/rc3.d/
or /etc/rc.d/rc5.d/ for run level 5
like this:
#ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc3.d/S80httpd
the S80 part allows you to adjust the order in which the scripts in the
folder are run. change it to S90 or S75 or anything else to change when it
starts with respect to other items in the folder.
Gavin