Has anyone else run into
Fouquet, Errol
Errol.Fouquet at mms.gov
Mon May 7 20:09:08 GMT 2001
Trevor,
A couple of things to check.
First off, the system doesn't run scripts from /etc/rc.d/init.d directly.
These are run from "run level" directories such as /etc/rc.d/rc2.d (run
level 2). If you "cd" into /etc/rc.d/rc2.d/ you will find scripts which are
merely symlinks (or sometimes hard links) back to /etc/rc.d/init.d scripts.
They will begin with either an "S" for start or a "K" for stop.
With RedHat 7.0 my "smb" script is located in both /etc/rc.d/init.d/smb and
/etc/rc.d/rc5.d/S91smb.
Also, with RedHat (and other Linux's) you need to run "ntsysv" from the
command line and mark smb as a script which should be started at boot time.
-----Original Message-----
From: Trevor Benson [mailto:Tbenson at associatedbp.com]
Sent: Monday, May 07, 2001 2:31 PM
To: Samba List (E-mail)
Subject: Has anyone else run into
A problem with using chkconfig to load the smb file placed in init.d? If I
run /etc/rc.d/init.d/smb start it works, same as lets say the dhcpd daemon
im running, but doesn't seem to work on boot. Any suggestions? I modified
the file so that if it was initiated with *) that it did the same as start)
and then it starts without me interfering, but this isn't needed in any
other script placed in the init.d directory. Anyone got a guess on this?
Thanks,
Trevor Benson
Director of Information Technology
Associated Business Products
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list