[Samba] How can I restart samba?

Gareth Davies gdavies at willowbrook.co.uk
Mon Jan 13 16:50:01 GMT 2003


"Jamie Risk" <jamie_risk at yahoo.ca> wrote in message
news:avupuf$6h6$1 at main.gmane.org...
> I'm fiddling with the various configuration files to try and get Samba
> working - after making changes to various files I end up rebooting
[shudder]
> the box to get the settings to take.
>
> I invoke the smbd, and nmbd binaries from a root bash command line, each
> with the "-D" option. I can't seem to send a "kill SIGHUP" command to the
> PID I read from a "ps -ex" command because I get the message "bash: kill:
> SIGHUP: no such pid".
>
> Can someone give me a time saving tip?
> - Jamie

ps aux | grep smb

kill -9 PID

ps aux | grep nmb

kill -9 PID

Or just make a script for stop/start/restart :)

Shaolin



*****************************************************************
This email has been checked by the altohiway e-Sweeper Service
*****************************************************************




More information about the samba mailing list