After some research I found that I should not use xinetd for apache,
and that it should be a daemon process.
Therefore, I renamed /etc/rc5.d/K15httpd to /etc/rc5.d/S15httpd,
rebooted, and httpd is running now.
Chris
OnMyWayHome wrote:
> I'm having trouble getting httpd to run on startup.
>
> I created the file /etc/xinetd.d/httpd
> containing...
>
> service httpd
> {
> port = 80
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> passenv = PATH
> server = /usr/sbin/apachectl
> server_args = start
> disabled = no
> }
>
> Is there something else I need to do?
>
> I can start the service manually, but I would like it to start on reboot.
>
> Any help appreciated,
> Chris
>> Stay informed about: Apache and xinetd