samba wont launch with signal 11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Not absolutely sure this bug is not already reported due to my insufficient technical abilities.
Since installation of Ubuntu 14.10 I can't have a remote access to my computer from lan -> tried to open samba but it didn't launch or crashed immediately (asking for password, dialog box closes when it is given and nothing then) -> uninstalled, purged and reinstalled samba -> same issue.
Samba version is included in the log report hereunder (from /var/log/
[2014/11/08 17:59:44.320560, 0] ../source4/
samba version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:44.404857, 0] ../lib/
mkdir failed on directory /var/lib/
[2014/11/08 17:59:44.404989, 0] ../lib/
=====
[2014/11/08 17:59:44.405021, 0] ../lib/
INTERNAL ERROR: Signal 11 in pid 950 (4.1.11-Ubuntu)
Please read the Trouble-Shooting section of the Samba HOWTO
[2014/11/08 17:59:44.405066, 0] ../lib/
=====
[2014/11/08 17:59:44.405124, 0] ../lib/
smb_panic(): calling panic action [/usr/share/
[2014/11/08 17:59:44.476990, 0] ../lib/
smb_panic(): action returned status 0
[2014/11/08 17:59:44.477074, 0] ../lib/
PANIC: internal error
here is log.smdb :
[2014/11/08 17:59:44, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:44.729823, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:44.729899, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:44.750918, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:44.750974, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:45, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:45.597845, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:45.597905, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:45.598167, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:45.598200, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:45, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:45.921613, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:45.921717, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:45.922261, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:45.922306, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:45, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:45.975873, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:45.975929, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:45.976206, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:45.976244, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.006277, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.006333, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.006615, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.006653, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.034416, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.034475, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.034760, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.034797, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.062646, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.062704, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.062966, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.063000, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.091605, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.091660, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.091942, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.091980, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.118841, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.118895, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.119173, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.119208, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.146415, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.146475, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.146758, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.146793, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 17:59:46.176694, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.176761, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.177065, 0] ../source3/
Failed to open /var/lib/
[2014/11/08 17:59:46.177101, 0] ../lib/
STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
Thanks
Erik
I manually added /var/lib/ samba/private/ smbd.tmp but it did'nt allow samba to launch instead.
The lines below where added to log.%m at reboot :
[2014/11/08 18:59:23.013446, 0] ../source4/ smbd/server. c:370(binary_ smbd_main) smbd/server. c:475(binary_ smbd_main) util/become_ daemon. c:124(exit_ daemon)
samba version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 18:59:25.972830, 0] ../source4/
At this time the 'samba' binary should only be used for either:
'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
[2014/11/08 18:59:25.972938, 0] ../lib/
STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
and the following ones to log.smbd :
[2014/11/08 18:59:23, 0] ../source3/ smbd/server. c:1209( main) smbd/server. c:1289( main) util/become_ daemon. c:136(daemon_ ready) UNSUCCESSFUL
smbd version 4.1.11-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 18:59:23.662299, 0] ../source3/
standard input is not a socket, assuming -D option
[2014/11/08 18:59:25.739999, 0] ../lib/
STATUS=daemon 'smbd' finished starting up and ready to serve connectionsUnable to connect to CUPS server localhost:631 - Bad file descriptor
STATUS=daemon 'smbd' finished starting up and ready to serve connectionsfailed to retrieve printer list: NT_STATUS_
Erik