samba restart broken in intrepid

Bug #298680 reported by c.bubel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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@HAL9000:~# /etc/init.d/samba restart
 * Stopping Samba daemons [ OK ]
 * Starting Samba daemons [ OK ]

but samba status says:

root@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@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.

Revision history for this message
Chuck Short (zulcss) wrote :

What does your log files say before this?

Thanks
chuck

Changed in samba:
status: New → Incomplete
Revision history for this message
c.bubel (c-bubel) wrote :

It is at the beginning of the logfile. There is nothing before that.

Revision history for this message
Steve Langasek (vorlon) wrote :

Is this a recurring problem, or did it just happen the one time? If the problem is not reproducible, then we'll have to close this report since there's not enough information here to reproduce the problem.

Revision history for this message
c.bubel (c-bubel) wrote :

It still happens every time i try to restart samba - reproducible. It was bothering me when i set up the machine. But now it runs stable and i simply try to avoid restaring samba.

Revision history for this message
Thierry Carrez (ttx) wrote :

Any chance you could try a 9.04 update and tell us if you're still experiencing this bug ?

Revision history for this message
Chuck Short (zulcss) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.