Starting Samba daemons: nmbd failed!

Kernels, Network, and Services configuration
Post Reply
Message
Author
woop
Posts: 7
Joined: 2009-07-10 12:02

Starting Samba daemons: nmbd failed!

#1 Post by woop »

Hi
i installed samba yesterday but i just can't get it to work. When i try to start it it says:

Code: Select all

Starting Samba daemons: nmbd failed!
i looked in the log.nmbd and it says:

Code: Select all

[2009/07/22 10:10:23,  0] nmbd/nmbd.c:854(main)                                                                                
  nmbd version 3.4.0 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2009/07/22 10:10:23,  0] lib/messages_local.c:112(messaging_tdb_init)
  ERROR: Failed to initialise messages database: No such file or directory
[2009/07/22 10:10:23,  0] lib/messages.c:204(messaging_init)
  messaging_tdb_init failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2009/07/22 10:10:23,  0] nmbd/nmbd.c:60(nmbd_messaging_context)
  Could not init nmbd messaging context.
I hope someone can help me with this problem

woop

Nomad-71
Posts: 32
Joined: 2009-07-22 06:57
Location: Russia
Contact:

Re: Starting Samba daemons: nmbd failed!

#2 Post by Nomad-71 »

try to run

Code: Select all

testparm

woop
Posts: 7
Joined: 2009-07-10 12:02

Re: Starting Samba daemons: nmbd failed!

#3 Post by woop »

Code: Select all

Load smb config files from /etc/samba/smb.conf                                                                                 
Processing section "[homes]"                                                                                                   
Processing section "[printers]"                                                                                                
Processing section "[print$]"                                                                                                  
Processing section "[SHARED]"                                                                                                  
Loaded services file OK.                                                                                                       
ERROR: lock directory file:///var/run/samba does not exist                                                                     
ERROR: pid directory file:///var/run/samba does not exist                                                                      
Server role: ROLE_STANDALONE                                                                                                   
Press enter to see a dump of your service definitions                                                                          

[global]
        workgroup = UNIVERSUM
        server string = %h server
        security = SHARE         
        obey pam restrictions = Yes
        smb passwd file = file:///etc/samba/smbpasswd
        private dir = file:///etc/samba              
        pam password change = Yes                    
        passwd program = file:///usr/bin/passwd%20%25u
        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 = file:///var/log/samba/log.%25m                                                                         
        max log size = 1000                                                                                               
        logon path = %5C%5C%25N%5C%25U%5Cprofile                                                                          
        logon home = %5C%5C%25N%5C%25U                                                                                    
        domain master = No                                                                                                
        dns proxy = No                                                                                                    
        wins server = =                                                                                                   
        lock directory = file:///var/run/samba                                                                            
        pid directory = file:///var/run/samba                                                                             
        panic action = /usr/share/samba/panic-action %d                                                                   

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

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No
        browsable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

[SHARED]
        path = /home/woop/shared
        read only = No
        guest ok = Yes
now i understand even less. The 2 errors near the top really confuse me, because the directory DOES exist...

woop
Posts: 7
Joined: 2009-07-10 12:02

Re: Starting Samba daemons: nmbd failed!

#4 Post by woop »

nobody? there has to be a solution....

timwhit
Posts: 1
Joined: 2009-08-08 19:30

Re: Starting Samba daemons: nmbd failed!

#5 Post by timwhit »

I had the same problem, I fixed it by removing all instances of "file://" from smb.conf.

Post Reply