[Bug 298680] [NEW] samba restart broken in intrepid

c.bubel miip at n4n0.de
Sun Nov 16 13:53:27 GMT 2008


Public bug reported:

Binary package hint: samba

Hello, I found a strange Bug in Intrepid today. When i try to restart my
perfectly working samba I get the following:

root at HAL9000:~# /etc/init.d/samba restart
 * Stopping Samba daemons                                                                                     [ OK ]
 * Starting Samba daemons                                                                                     [ OK ]

but samba status says:

root at HAL9000:~# /etc/init.d/samba status
 * nmbd is running.
 * smbd is not running.

The log shows this:

[2008/11/16 12:51:42,  0] smbd/server.c:main(1213)
  smbd version 3.2.3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/11/16 12:51:42,  0] printing/print_cups.c:cups_connect(68)
  Unable to connect to CUPS server localhost:631 - Connection refused
[2008/11/16 12:51:42,  0] printing/print_cups.c:cups_connect(68)
  Unable to connect to CUPS server localhost:631 - Connection refused

After a full reboot of the machine samba works again.

This seems to be the same problem: http://ubuntu-
ky.ubuntuforums.org/showthread.php?t=970160


And to ensure my smb.conf is not messed up:

root at HAL9000:~# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[Bilder]"
Processing section "[files]"
Processing section "[share]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        server string = %h server (Samba, Ubuntu)
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = tdbsam
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        load printers = No
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        invalid users = root

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No

[Bilder]
        comment = Bilder auf HAL9000
        path = /srv/bilder
        write list = cbubel

[files]
        comment = Files auf HAL9000
        path = /srv/files
        read only = No

[share]
        comment = Share auf HAL9000
        path = /home/share/Private
        force user = share
        force group = share
        read only = No

---

I hope someone can fix this.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
samba restart broken in intrepid
https://bugs.launchpad.net/bugs/298680
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list