Samba Question - How do I stop samba?

Samba Question - How do I stop samba?

Post by Mark Gardn » Thu, 22 Aug 1996 04:00:00



I have been changing my smb.conf file.  I have been using
the startsmb script to start samba so that I can get everything worked
out before I include it with inetd.  My problem is when I stop
samba by killing the smbd and nmbd processes, I've had to reboot
to start samba again. If I try to restart it without reboot, I get
a can't find port 139 error.
Mark Gardner
Project Leader
Keystone Systems, Inc.

 
 
 

Samba Question - How do I stop samba?

Post by Emilia » Sat, 24 Aug 1996 04:00:00




Quote:>I have been changing my smb.conf file.  I have been using
>the startsmb script to start samba so that I can get everything worked
>out before I include it with inetd.  My problem is when I stop
>samba by killing the smbd and nmbd processes, I've had to reboot
>to start samba again. If I try to restart it without reboot, I get
>a can't find port 139 error.

AFAICR, the samba server regularly rescans it's config files, so there
should be no need to restart.

In any case:
- are you sure you killed the processes? "ps -ef | grep mb" should
  tell you whether they're still alive.
- do you try to restart the server as non-root? Non-root users must use
  ports > 1024.

--
Bye,

Emile

===========================================================

===========================================================
Alla sani sa mi e taki na ini disi email na mi denki wawan
-- A no abi fu de dati mi wrokope abi na sem denki.
===========================================================
7:30, Channel 5: The Bionic Dog (Action/Adventure)
        The Bionic Dog drinks too much and kicks over the National
        Redwood Forest.

 
 
 

Samba Question - How do I stop samba?

Post by David Bann » Tue, 27 Aug 1996 04:00:00



.... My problem is when I stop

Quote:>samba by killing the smbd and nmbd processes...

Don't stop it, just send smb a HUP signal.
ie kill -HUP xxx    (where xxx is process id)
This will make smb (but not nmbd) reread config file.

------------------------------------------------------------

School of Biochemistry            Phone 61 03 479 2197
La Trobe University, Plenty Rd,   Fax   61 03 479 2467
Bundoora, Vic, Australia, 3083    http://bioserve.latrobe.edu.au
------------------------------------------------------------
..... Humpty Dumpty was pushed !