Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stopping and re-starting Samba



On Fri, 27 Aug 1999, Phil Buckley wrote:

> Is there a method to stop samba and restart it - like you can with
> httpd?
> 
> If so, what is the syntax.

If you're on a RedHat system, or one with a similar SysV init, 

  /etc/rc.d/init.d/smb stop
  /etc/rc.d/init.d/smb start

You can also do it in one step by doing a restart instead of stop and
start, but I find that with some subsystems, this doesn't always seem to
be effective.  I'm not sure why but I suspect that it doesn't wait long
enough for existing processes to finish dying.
 

Derek D. Martin   |  UNIX System Administrator
derek at netria.com  |  dmartin at lancity.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org