[Samba] SMB service not starting automatically
Chuck Theobald
chuckt at darkwing.uoregon.edu
Fri May 20 18:00:48 GMT 2005
This would depend on what OS you run. For Solaris, I create an smb script
in /etc/init.d, then link to this from /etc/rc2.d. I also create a kill
link in /etc/rc0.d:
# ln -s /etc/init.d/smb /etc/rc0.d/K90smb
# ln -s /etc/init.d/smb /etc/rc2.d/S90smb
# more /etc/init.d/smb
#!/bin/sh
case "$1" in
start)
/usr/local/samba/sbin/smbd -D
/usr/local/samba/sbin/nmbd -D
;;
stop)
/usr/bin/pkill -x -u 0 smbd
/usr/bin/pkill -x -u 0 nmbd
;;
*)
echo "Usage: smb {start|stop}"
;;
esac
exit 0
#
Cheers,
Chuck
At 09:42 AM 5/20/2005, Liz Ackerman wrote:
>The smb service is not starting automatically. I can type service smb start
>at the prompt and it loads, and I can then connect, but its not loading
>automatically as it used to. Can someone point me in the right direction as
>what file I need to change to make it load at startup. Thanks!
>
>Liz
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/listinfo/samba
Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345
More information about the samba
mailing list