Comment 3 for bug 1772709

Revision history for this message
luisgamon (luisgamon) wrote : Re: [Bug 1772709] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.13 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

this is the output:

lubuntu@lubuntu-KQ495AA-ABA-a6500f:~$ sudo systemctl status smbd.service
nmbd.service
[sudo] password for lubuntu:
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
    Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
    Active: active (running) since Thu 2018-05-24 11:08:53 PDT; 29min ago
      Docs: man:systemd-sysv-generator(8)
   Process: 1536 ExecStart=/etc/init.d/smbd start (code=exited,
status=0/SUCCESS)
    CGroup: /system.slice/smbd.service
            ├─1561 /usr/sbin/smbd -D
            ├─1565 /usr/sbin/smbd -D
            └─1567 /usr/sbin/smbd -D

May 24 11:08:52 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Starting LSB:
start Samba SMB/CIFS daemon (smbd)...
May 24 11:08:52 lubuntu-KQ495AA-ABA-a6500f smbd[1536]:  * Starting
SMB/CIFS daemon smbd
May 24 11:08:53 lubuntu-KQ495AA-ABA-a6500f smbd[1536]:    ...done.
May 24 11:08:53 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Started LSB:
start Samba SMB/CIFS daemon (smbd).

● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
    Loaded: loaded (/etc/init.d/nmbd; bad; vendor preset: enabled)
    Active: active (running) since Thu 2018-05-24 11:08:52 PDT; 29min ago
      Docs: man:systemd-sysv-generator(8)
   Process: 1118 ExecStart=/etc/init.d/nmbd start (code=exited,
status=0/SUCCESS)
    CGroup: /system.slice/nmbd.service
            └─1535 /usr/sbin/nmbd -D

May 24 11:08:23 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Starting LSB:
start Samba NetBIOS nameserver (nmbd)...
May 24 11:08:51 lubuntu-KQ495AA-ABA-a6500f nmbd[1118]:  * Starting
NetBIOS name server nmbd
May 24 11:08:52 lubuntu-KQ495AA-ABA-a6500f nmbd[1118]:    ...done.
May 24 11:08:52 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Started LSB:
start Samba NetBIOS nameserver (nmbd).

On 05/24/2018 07:55 AM, Andreas Hasenack wrote:
> Thanks for filing this bug in Ubuntu.
>
> The logs show:
> Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
> 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 - LSB: start Samba SMB/CIFS daemon (smbd)
> Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
> Active: failed (Result: exit-code) since Tue 2018-05-22 01:36:30 PDT; 9ms ago
> Docs: man:systemd-sysv-generator(8)
> Process: 19213 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
>
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Starting LSB: start Sa...
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f smbd[19213]: * Starting SMB/CIFS ...
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f smbd[19213]: ...fail!
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: smbd.service: Control ...
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: Failed to start LSB: s...
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: smbd.service: Unit ent...
> May 22 01:36:30 lubuntu-KQ495AA-ABA-a6500f systemd[1]: smbd.service: Failed w...
> Hint: Some lines were ellipsized, use -l to show in full.
> dpkg: error processing package samba (--configure):
> subprocess installed post-installation script returned error exit status 1
>
> Unfortunately that just tells us that the smbd service failed to start,
> but not why. Could you please attach the log files from
> /var/log/samba/log* to this bug?
>
> And also show the output of this command:
>
> sudo systemctl status smbd.service nmbd.service
>
> Thanks
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>