SOLVED Samba deamon (smbd) dies, nmdb keeps running

Cedric cedric.dewijs at tiscali.nl
Sun Jun 3 07:03:04 UTC 2007


On Saturday 02 June 2007, Cedric wrote:
> Hi All,
>
> Yesterday I have installed samba on my kubuntu 7.04 box, and i've started
> to play with it's settings. If i remember correctly, both the deamons
> (smbd, and nmbd) kept running.
> After a reboot, and more fiddling with the settings (in
> /etc/samba/smb.conf), i noticed smbd wasn't running.
> Could you please tell me what i can do to investigate this problem further?
> Best regards,
> Cedric
>
> Here's how it looks in the console:
> cedric at athlon:/etc/samba$ sudo -i
> Password:
> root at athlon:~# /etc/init.d/samba restart
>  * Stopping Samba daemons...
> start-stop-daemon: warning: failed to kill 5364: No such process [ OK ]
>  * Starting Samba daemons... [ OK ]
> root at athlon:~#ps  -A
> PID TTY          TIME CMD
>     1 ?        00:00:01 init
> <lot's of processes>
> 9062 pts/2    00:00:00 bash
>  9119 ?        00:00:00 nmbd
>  9138 pts/2    00:00:00 ps
> root at athlon:~#cat /etc/samba/smb.conf
> ;HELLO WORLD /etc/smb.conf
>  ;Includes only a Global Section which
>  ;Defines the guest account and defines MS Win workgroup.
>  ;Replace MYWGRP with the windows workgroup defined in
> Windows ;ControlPanel:Network:Identification_Tab:Workgroup_field.
>  ;Note that for best results, the workgroup field should be
>  ;8 or less characters, and upper case
> [global]
>     guest account = pcguest
>     workgroup = BOLWERK
>
>
> root at athlon:~#smbd -V
> Version 3.0.24
> root at athlon:~#uname -a
> Linux athlon 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686
> GNU/Linux
> root at athlon:~#
> --
> The only stupid question is the one you don't ask

Hi All,
It turns out the above config file was not good. I have replaced it with the 
backup of the origional file, and now all is working.

Best regards,
Cedric
-- 
The only stupid question is the one you don't ask




More information about the ubuntu-users mailing list