← Back to team overview

enterprise-support team mailing list archive

[Question #292198]: smbd not starting in ubuntu

 

New question #292198 on samba in Ubuntu:
https://answers.launchpad.net/ubuntu/+source/samba/+question/292198

Smbd service is not starting in samba. Tried reinstalling samba package which did not help. Dmesg logs these messages and exit 127 is an anonymous error which is of not much in troubleshooting issue. 

[100422.925336] init: smbd main process (2352) terminated with status 127
[100422.925356] init: smbd main process ended, respawning
[100422.942974] init: smbd main process (2356) terminated with status 127
[100422.942994] init: smbd main process ended, respawning
[100422.960687] init: smbd main process (2360) terminated with status 127
[100422.960708] init: smbd main process ended, respawning
[100422.979847] init: smbd main process (2364) terminated with status 127
[100422.979868] init: smbd main process ended, respawning
[100422.999061] init: smbd main process (2368) terminated with status 127
[100422.999082] init: smbd respawning too fast, stopped


$service samba status
 * nmbd is running
 * smbd is not running
]$service smbd start
smbd start/pre-start, process 3845
$dmesg | tail
[100549.441032] init: smbd main process ended, respawning
[100549.452919] init: smbd main process (3871) terminated with status 127
[100549.452929] init: smbd main process ended, respawning


testparm result looks fine. 
===============
$testparm
Load smb config files from /etc/samba/smb.conf
WARNING: The "syslog" option is deprecated
Processing section "[PraveenDiwakar]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
        server string = %h server (Samba, Ubuntu)
        interfaces = 10.102.1.98/24 eth0
        server role = standalone server
        map to guest = Bad User
        obey pam restrictions = Yes
        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
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        idmap config * : backend = tdb


[PraveenDiwakar]
        path = /export/home/praveendi/Automation
        valid users = praveendi
        read only = No
        guest ok = Yes


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


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

Please suggest a solution to this issue. 


-- 
You received this question notification because your team Ubuntu
Server/Client Support Team is an answer contact for samba in Ubuntu.