Comment 1 for bug 1390752

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