On Wed, 13 Aug 2003, Sean Estabrooks wrote: > On Thu, 14 Aug 2003 10:20:12 +1000 (EST) > snort bsd <[EMAIL PROTECTED]> wrote: > > > hi: > > > > i have one daemon under /etc/rc.d/init.d. it starts > > fine manually, but it doesn't start whne the system > > reboots. i used "chkconfig --add xxxxxd" and it still > > could not start automatically. if the xxxxd script was > > wrong, then it should not have been able to start > > manually. so the script should be ok. using "chkconfig > > xxxxxd" and it retuns nothing, i guess it means > > "true". any linux gurus here have any ideas on this? > > are there any log files for this? > > > > i used solaris for two yeras and it always start those > > daemons with S unless the scripts have problem ... > > > > tahnsk > > > > dave > > Dave, > > might help to read over the man page for chkconfig once again. > > chkconfig --level 345 xxxxd on > > would set the specified service on... use off to turn it off. > > adding the service simply makes it available for control. > > it doesn't automatically turn it on for a particular run level.
It will if the script in /etc/init.d has the appropriate comments. From /etc/init.d/sshd: # chkconfig: 2345 55 25 # description: OpenSSH server daemon If Dave's script doesn't have the comments, or if he wants to override the levels listed in the comments, then he needs the --level option. -- Matthew Saltzman Clemson University Math Sciences [EMAIL PROTECTED] http://www.math.clemson.edu/~mjs -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list