Paul Gear wrote:
Paul Johnson wrote:debi@niit.edu.pk writes:I am new to debina. I have certain services running like lpd rpc etc. In RedHat there is a command chkconfig with which i can start/ top services for certain run levels or completely stop it from running.Well, first off, you only have installed an extremely minimal base system plus anything you've chosen to install. This isn't Hed Rat, Debian doesn't install a bunch of useless stuff by default.That is *SO* not the point. chkconfig is a simple way to turn on and off at boot time the important services that you explicitly want to have on. It also provides a convenient overview of which ones are on and off in which levels.
It also uses the vendor-designed sequencing information. The Debian equivalent throws that information so the poor old sysadmin who turns stuff off this way has t o puzzle out something that will work when its time to reenable it..
Take this list from a Debian box: Numbat:/etc/rc2.d# ls -o total 0 lrwxrwxrwx 1 root 18 2004-08-02 12:01 S10sysklogd -> ../init.d/sysklogd lrwxrwxrwx 1 root 15 2004-08-02 12:01 S11klogd -> ../init.d/klogd lrwxrwxrwx 1 root 13 2004-08-02 12:01 S14ppp -> ../init.d/ppp lrwxrwxrwx 1 root 15 2004-08-02 12:01 S20exim4 -> ../init.d/exim4 lrwxrwxrwx 1 root 15 2004-08-02 12:01 S20inetd -> ../init.d/inetd lrwxrwxrwx 1 root 17 2004-08-02 12:01 S20makedev -> ../init.d/makedev lrwxrwxrwx 1 root 17 2004-08-02 12:01 S20postfix -> ../init.d/postfix lrwxrwxrwx 1 root 13 2004-08-02 12:01 S20ssh -> ../init.d/ssh lrwxrwxrwx 1 root 15 2004-08-02 12:01 S25mdadm -> ../init.d/mdadm lrwxrwxrwx 1 root 13 2004-08-02 12:01 S89atd -> ../init.d/atd lrwxrwxrwx 1 root 14 2004-08-02 12:01 S89cron -> ../init.d/cron lrwxrwxrwx 1 root 19 2004-08-02 12:01 S99rmnologin -> ../init.d/rmnologinlrwxrwxrwx 1 root 23 2004-08-02 12:01 S99stop-bootlogd -> ../init.d/stop-bootlogd
Numbat:/etc/rc2.d#If I disable ppp for some time, then want to reenable it I have to remember to start it before other processes that might require it to be up.
On RHL this info is stored on the script so that when I turn the facility back on, it will be done in the right sequence.
btw It's not entirely clear to me that this order is correct. -- Cheers John -- spambait 1aaaaaaa@computerdatasafe.com.au Z1aaaaaaa@computerdatasafe.com.au Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/