Koozali.org: home of the SME Server

DHCP & chkconfig

David White

DHCP & chkconfig
« on: January 30, 2003, 12:03:07 AM »
Dear All,

Been exploring my SME 5.5 box a little recently and have found an "oddity".  The box is configured to supply DHCP services to the rest of the network, which it does very well.  But... If I run chkconfig --list it tells me that dhcpd is set to off in all run levels.  This seems weird.  If dhcpd is not started automatically via the initd process, where is it being started from?

The same is true for httpd and a number of other services that I know are in fact running - confirmed with 'top'.

Can anyone explain what the startup process is and how these services get started?

Thanks in advance

Dave

Charlie Brady

Runlevels (was Re: DHCP & chkconfig)
« Reply #1 on: January 30, 2003, 12:31:46 AM »
David White wrote:

> If I run chkconfig --list it tells me that
> dhcpd is set to off in all run levels.  This seems weird.  If
> dhcpd is not started automatically via the initd process,
> where is it being started from?
>
> The same is true for httpd and a number of other services
> that I know are in fact running - confirmed with 'top'.

SME Server runs at runlevel 7, and chkconfig only knows about runlevels up to 6. We chose a different runlevel so that just installing an RPM isn't enough to start software running (and possibly interfering with correct operation of your server). You need to explicitly configure services to run at run level 7.

Regards

Charlie

David White

Re: Runlevels (was Re: DHCP & chkconfig)
« Reply #2 on: January 30, 2003, 03:05:26 AM »
Ah - that will be it then!  Thanks for the info.