Failed to start Samba SMB Daemon. Failed with result 'exit-code'












2














My ubuntu was working fine, I logged in a shell and found that some packages could be upgraded so I launched an apt update && apt upgrade and after a while I got an error:



fmf@kodi:~$ sudo apt upgrade
[sudo] password for fmf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.3) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-11-07 17:05:30 CET; 25ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1873 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 1873 (code=exited, status=1/FAILURE)

Nov 07 17:05:30 kodi systemd[1]: Starting Samba SMB Daemon...
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Failed with result 'exit-code'.
Nov 07 17:05:30 kodi systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
fmf@kodi:~$


I tried to remove completely samba with apt remove --purge samba and reinstall it from scratch, but still no luck.
I also removed the /etc/samba/smb.conf file and tried again, still no luck.
Rebooted, still no luck.



fmf@kodi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
fmf@kodi:~$
fmf@kodi:~$ samba
[2018/11/07 17:04:05.862379, 0] ../lib/util/debug.c:1053(reopen_logs_internal)
Unable to open new log file '/var/log/samba/log.samba': No such file or directory
[2018/11/07 17:04:05.862951, 0] ../source4/smbd/server.c:448(binary_smbd_main)
samba version 4.7.6-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2017


Any suggestion?



EDIT
As requested in the comment:



fmf@kodi:~$ grep smbd /var/log/auth.log
Nov 7 16:34:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:36:10 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:37:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:41:12 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:46:19 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:46:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:47:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd stop
Nov 7 16:47:50 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/apt install smbd
Nov 7 17:07:41 kodi sudo: fmf : TTY=pts/0 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/dpkg --install smbd
Nov 8 11:00:57 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
fmf@kodi:~$


I don't see anything wrong here, am I right?










share|improve this question
























  • Do grep smbd /var/log/auth.log. Any interesting lines?
    – Jos
    Nov 7 at 16:19










  • Eidted the original question with the output, but I don't see anything wrong.
    – effemmeffe
    Nov 8 at 10:05
















2














My ubuntu was working fine, I logged in a shell and found that some packages could be upgraded so I launched an apt update && apt upgrade and after a while I got an error:



fmf@kodi:~$ sudo apt upgrade
[sudo] password for fmf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.3) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-11-07 17:05:30 CET; 25ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1873 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 1873 (code=exited, status=1/FAILURE)

Nov 07 17:05:30 kodi systemd[1]: Starting Samba SMB Daemon...
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Failed with result 'exit-code'.
Nov 07 17:05:30 kodi systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
fmf@kodi:~$


I tried to remove completely samba with apt remove --purge samba and reinstall it from scratch, but still no luck.
I also removed the /etc/samba/smb.conf file and tried again, still no luck.
Rebooted, still no luck.



fmf@kodi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
fmf@kodi:~$
fmf@kodi:~$ samba
[2018/11/07 17:04:05.862379, 0] ../lib/util/debug.c:1053(reopen_logs_internal)
Unable to open new log file '/var/log/samba/log.samba': No such file or directory
[2018/11/07 17:04:05.862951, 0] ../source4/smbd/server.c:448(binary_smbd_main)
samba version 4.7.6-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2017


Any suggestion?



EDIT
As requested in the comment:



fmf@kodi:~$ grep smbd /var/log/auth.log
Nov 7 16:34:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:36:10 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:37:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:41:12 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:46:19 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:46:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:47:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd stop
Nov 7 16:47:50 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/apt install smbd
Nov 7 17:07:41 kodi sudo: fmf : TTY=pts/0 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/dpkg --install smbd
Nov 8 11:00:57 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
fmf@kodi:~$


I don't see anything wrong here, am I right?










share|improve this question
























  • Do grep smbd /var/log/auth.log. Any interesting lines?
    – Jos
    Nov 7 at 16:19










  • Eidted the original question with the output, but I don't see anything wrong.
    – effemmeffe
    Nov 8 at 10:05














2












2








2







My ubuntu was working fine, I logged in a shell and found that some packages could be upgraded so I launched an apt update && apt upgrade and after a while I got an error:



fmf@kodi:~$ sudo apt upgrade
[sudo] password for fmf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.3) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-11-07 17:05:30 CET; 25ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1873 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 1873 (code=exited, status=1/FAILURE)

Nov 07 17:05:30 kodi systemd[1]: Starting Samba SMB Daemon...
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Failed with result 'exit-code'.
Nov 07 17:05:30 kodi systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
fmf@kodi:~$


I tried to remove completely samba with apt remove --purge samba and reinstall it from scratch, but still no luck.
I also removed the /etc/samba/smb.conf file and tried again, still no luck.
Rebooted, still no luck.



fmf@kodi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
fmf@kodi:~$
fmf@kodi:~$ samba
[2018/11/07 17:04:05.862379, 0] ../lib/util/debug.c:1053(reopen_logs_internal)
Unable to open new log file '/var/log/samba/log.samba': No such file or directory
[2018/11/07 17:04:05.862951, 0] ../source4/smbd/server.c:448(binary_smbd_main)
samba version 4.7.6-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2017


Any suggestion?



EDIT
As requested in the comment:



fmf@kodi:~$ grep smbd /var/log/auth.log
Nov 7 16:34:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:36:10 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:37:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:41:12 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:46:19 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:46:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:47:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd stop
Nov 7 16:47:50 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/apt install smbd
Nov 7 17:07:41 kodi sudo: fmf : TTY=pts/0 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/dpkg --install smbd
Nov 8 11:00:57 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
fmf@kodi:~$


I don't see anything wrong here, am I right?










share|improve this question















My ubuntu was working fine, I logged in a shell and found that some packages could be upgraded so I launched an apt update && apt upgrade and after a while I got an error:



fmf@kodi:~$ sudo apt upgrade
[sudo] password for fmf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.3) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-11-07 17:05:30 CET; 25ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1873 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 1873 (code=exited, status=1/FAILURE)

Nov 07 17:05:30 kodi systemd[1]: Starting Samba SMB Daemon...
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Nov 07 17:05:30 kodi systemd[1]: smbd.service: Failed with result 'exit-code'.
Nov 07 17:05:30 kodi systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
fmf@kodi:~$


I tried to remove completely samba with apt remove --purge samba and reinstall it from scratch, but still no luck.
I also removed the /etc/samba/smb.conf file and tried again, still no luck.
Rebooted, still no luck.



fmf@kodi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
fmf@kodi:~$
fmf@kodi:~$ samba
[2018/11/07 17:04:05.862379, 0] ../lib/util/debug.c:1053(reopen_logs_internal)
Unable to open new log file '/var/log/samba/log.samba': No such file or directory
[2018/11/07 17:04:05.862951, 0] ../source4/smbd/server.c:448(binary_smbd_main)
samba version 4.7.6-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2017


Any suggestion?



EDIT
As requested in the comment:



fmf@kodi:~$ grep smbd /var/log/auth.log
Nov 7 16:34:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:36:10 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/bin/systemctl status smbd.service
Nov 7 16:37:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:41:12 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
Nov 7 16:46:19 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:46:44 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure smbd
Nov 7 16:47:26 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd stop
Nov 7 16:47:50 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/apt install smbd
Nov 7 17:07:41 kodi sudo: fmf : TTY=pts/0 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/bin/dpkg --install smbd
Nov 8 11:00:57 kodi sudo: fmf : TTY=pts/2 ; PWD=/home/fmf ; USER=root ; COMMAND=/usr/sbin/service smbd restart
fmf@kodi:~$


I don't see anything wrong here, am I right?







18.04 samba






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 10:04

























asked Nov 7 at 16:06









effemmeffe

168417




168417












  • Do grep smbd /var/log/auth.log. Any interesting lines?
    – Jos
    Nov 7 at 16:19










  • Eidted the original question with the output, but I don't see anything wrong.
    – effemmeffe
    Nov 8 at 10:05


















  • Do grep smbd /var/log/auth.log. Any interesting lines?
    – Jos
    Nov 7 at 16:19










  • Eidted the original question with the output, but I don't see anything wrong.
    – effemmeffe
    Nov 8 at 10:05
















Do grep smbd /var/log/auth.log. Any interesting lines?
– Jos
Nov 7 at 16:19




Do grep smbd /var/log/auth.log. Any interesting lines?
– Jos
Nov 7 at 16:19












Eidted the original question with the output, but I don't see anything wrong.
– effemmeffe
Nov 8 at 10:05




Eidted the original question with the output, but I don't see anything wrong.
– effemmeffe
Nov 8 at 10:05










2 Answers
2






active

oldest

votes


















1














Same problem in fedora 29, docker container.



At least in the docker container the issue is the logging is now down with the service bus, which doesn't work...



The solution was to change my configuration to start with -i flag. e.g.



/sbin/smbd -i -F



and



/sbin/nmbd -i -F



Then the log goes to the console, which works normally.



Chances are the ubuntu issue is also a failing to log problem.






share|improve this answer








New contributor




user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0














    This may be a bug as reported here on the Debian bug tracker :



    You might try to remove the winbind package and try again.



    sudo apt-get remove winbind
    sudo apt-get update
    sudo apt-get dist-upgrade





    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090856%2ffailed-to-start-samba-smb-daemon-failed-with-result-exit-code%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Same problem in fedora 29, docker container.



      At least in the docker container the issue is the logging is now down with the service bus, which doesn't work...



      The solution was to change my configuration to start with -i flag. e.g.



      /sbin/smbd -i -F



      and



      /sbin/nmbd -i -F



      Then the log goes to the console, which works normally.



      Chances are the ubuntu issue is also a failing to log problem.






      share|improve this answer








      New contributor




      user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.























        1














        Same problem in fedora 29, docker container.



        At least in the docker container the issue is the logging is now down with the service bus, which doesn't work...



        The solution was to change my configuration to start with -i flag. e.g.



        /sbin/smbd -i -F



        and



        /sbin/nmbd -i -F



        Then the log goes to the console, which works normally.



        Chances are the ubuntu issue is also a failing to log problem.






        share|improve this answer








        New contributor




        user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





















          1












          1








          1






          Same problem in fedora 29, docker container.



          At least in the docker container the issue is the logging is now down with the service bus, which doesn't work...



          The solution was to change my configuration to start with -i flag. e.g.



          /sbin/smbd -i -F



          and



          /sbin/nmbd -i -F



          Then the log goes to the console, which works normally.



          Chances are the ubuntu issue is also a failing to log problem.






          share|improve this answer








          New contributor




          user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          Same problem in fedora 29, docker container.



          At least in the docker container the issue is the logging is now down with the service bus, which doesn't work...



          The solution was to change my configuration to start with -i flag. e.g.



          /sbin/smbd -i -F



          and



          /sbin/nmbd -i -F



          Then the log goes to the console, which works normally.



          Chances are the ubuntu issue is also a failing to log problem.







          share|improve this answer








          New contributor




          user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered Dec 20 at 5:18









          user6856

          1111




          1111




          New contributor




          user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          user6856 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.

























              0














              This may be a bug as reported here on the Debian bug tracker :



              You might try to remove the winbind package and try again.



              sudo apt-get remove winbind
              sudo apt-get update
              sudo apt-get dist-upgrade





              share|improve this answer




























                0














                This may be a bug as reported here on the Debian bug tracker :



                You might try to remove the winbind package and try again.



                sudo apt-get remove winbind
                sudo apt-get update
                sudo apt-get dist-upgrade





                share|improve this answer


























                  0












                  0








                  0






                  This may be a bug as reported here on the Debian bug tracker :



                  You might try to remove the winbind package and try again.



                  sudo apt-get remove winbind
                  sudo apt-get update
                  sudo apt-get dist-upgrade





                  share|improve this answer














                  This may be a bug as reported here on the Debian bug tracker :



                  You might try to remove the winbind package and try again.



                  sudo apt-get remove winbind
                  sudo apt-get update
                  sudo apt-get dist-upgrade






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 9 at 11:26









                  Zanna

                  50k13131238




                  50k13131238










                  answered Nov 9 at 10:18









                  Alex

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090856%2ffailed-to-start-samba-smb-daemon-failed-with-result-exit-code%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      數位音樂下載

                      When can things happen in Etherscan, such as the picture below?

                      格利澤436b