samba wont launch with signal 11

Bug #1390752 reported by ErikMartre
8
This bug affects 1 person
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/samba/log.%m) :

[2014/11/08 17:59:44.320560, 0] ../source4/smbd/server.c:370(binary_smbd_main)
  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/util/util.c:216(directory_create_or_exist)
  mkdir failed on directory /var/lib/samba/private/smbd.tmp: No such file or directory
[2014/11/08 17:59:44.404989, 0] ../lib/util/fault.c:72(fault_report)
  ===============================================================
[2014/11/08 17:59:44.405021, 0] ../lib/util/fault.c:73(fault_report)
  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/util/fault.c:75(fault_report)
  ===============================================================
[2014/11/08 17:59:44.405124, 0] ../lib/util/fault.c:133(smb_panic_default)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 950]
[2014/11/08 17:59:44.476990, 0] ../lib/util/fault.c:141(smb_panic_default)
  smb_panic(): action returned status 0
[2014/11/08 17:59:44.477074, 0] ../lib/util/fault.c:144(smb_panic_default)
  PANIC: internal error

here is log.smdb :

[2014/11/08 17:59:44, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:44.729899, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:44.750918, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:44.750974, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:45, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:45.597905, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:45.598167, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:45.598200, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:45, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:45.921717, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:45.922261, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:45.922306, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:45, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:45.975929, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:45.976206, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:45.976244, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.006333, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.006615, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.006653, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.034475, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.034760, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.034797, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.062704, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.062966, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.063000, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.091660, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.091942, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.091980, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.118895, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.119173, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.119208, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.146475, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.146758, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.146793, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13
[2014/11/08 17:59:46, 0] ../source3/smbd/server.c:1209(main)
  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/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.176761, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 17:59:46.177065, 0] ../source3/passdb/secrets.c:85(secrets_init_path)
  Failed to open /var/lib/samba/private/secrets.tdb
[2014/11/08 17:59:46.177101, 0] ../lib/util/become_daemon.c:124(exit_daemon)
  STATUS=daemon failed to start: smbd can not open secrets.tdb, error code 13

Thanks
Erik

Revision history for this message
ErikMartre (erikmartre-k) wrote :

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)
  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/smbd/server.c:475(binary_smbd_main)
  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/util/become_daemon.c:124(exit_daemon)
  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 version 4.1.11-Ubuntu started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/08 18:59:23.662299, 0] ../source3/smbd/server.c:1289(main)
  standard input is not a socket, assuming -D option
[2014/11/08 18:59:25.739999, 0] ../lib/util/become_daemon.c:136(daemon_ready)
  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_UNSUCCESSFUL

Erik

Revision history for this message
ErikMartre (erikmartre-k) wrote :

This bug looks like #1385854 which has been decided as "Invalid" since the distro was Ubuntu-mate.

Erik

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Samba is expecting the secrets database secrets.tdb to be in /var/lib/samba/private. Do you have it elsewhere, perhaps /var/lib/samba? There was a bug about that: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726472

Changed in samba (Ubuntu):
status: New → Incomplete
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.