[Samba] Re: How can I restart samba?
Jim
jcllings at tsunamicomm.net
Fri Jan 17 08:20:01 GMT 2003
My distro (Mandrake) comes with a series of scripts which do this for
ALL of the services.
If I wanted to restart my samba server I would change to the superuser
and just type:
service smb restart[enter]
Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 13 Jan 2003, Gareth Davies wrote:
>
>
>>ps aux | grep smb
>>
>>kill -9 PID
>>
>>ps aux | grep nmb
>>
>>kill -9 PID
>>
>>Or just make a script for stop/start/restart :)
>
>
> Better to use the -TERM signal and let Samba gracefully shutdown.
>
>
>
>
> cheers, jerry
> ----------------------------------------------------------------------
> Hewlett-Packard ------------------------- http://www.hp.com
> SAMBA Team ---------------------- http://www.samba.org
> GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
> ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
> "You can never go home again, Oatman, but I guess you can shop there."
> --John Cusack - "Grosse Point Blank" (1997)
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (GNU/Linux)
> Comment: For info see http://quantumlab.net/pine_privacy_guard/
>
> iD8DBQE+JYlnIR7qMdg1EfYRAuOrAJ9wxcNiMqhhvgZ0zR1NOi7QWTV3JACcD9s5
> r2WBc251k9BEcboeJSw/ZwY=
> =vrhY
> -----END PGP SIGNATURE-----
>
More information about the samba
mailing list