[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Starting httpd at boot time
- Subject: [ale] Starting httpd at boot time
- From: jimpop at yahoo.com (Jim Popovitch)
- Date: Wed, 02 Aug 2006 22:22:13 -0400
- In-reply-to: <047901c6b6a2$5c050d70$640110ac@win2kpro1>
- References: <047901c6b6a2$5c050d70$640110ac@win2kpro1>
Ryan Fish wrote:
> Hello
>
> I have the line
>
> /etc/init.d/httpd start
>
> in the file
>
> /etc/rc.d/rc.local
Why? That is not necessary.
> but the web server will not start when the machine is booted.
>
> I am using fedora core 5.
>
> What do I need to do to cause the server to start at boot time?.
chkconfig --add httpd
then use 'chkconfig --list' to see what starts up under each runlevel.
If, apache still won't start, try manually running "/etc/init.d/httpd
start" to see if their are any errors. Also, run "apachectl -t" to test
apache's config for any errors. One note: apachectl won't tell you if
network IP/hosts specified in httpd.conf are active on the system, so
you will have to manually verify that.
hth,
-Jim P.