[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

luisgamon 1772709 at bugs.launchpad.net
Thu May 24 18:50:09 UTC 2018


this is the output:

lubuntu at 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
>


** Attachment added: "samba.zip"
   https://bugs.launchpad.net/bugs/1772709/+attachment/5143962/+files/samba.zip

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1772709

Title:
  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

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  unable to share lubuntu's folders with windows/linux's systems

  1) -Version-
  Kernel		: Linux 4.4.0-127-generic (x86_64)
  Compiled		: #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018
  C Library		: Unknown
  Default C Compiler		: GNU C Compiler version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 
  Distribution		: Ubuntu 16.04.4 LTS
  -Current Session-
  Computer Name		: lubuntu-KQ495AA-ABA-a6500f
  User Name		: lubuntu (lubuntu)
  Home Directory		: /home/lubuntu
  Desktop Environment		: LXDE (Lubuntu)
  -Misc-
  Uptime		: 1 hour, 25 minutes
  Load Average		: 0.13, 0.15, 0.20

  3) able to share folders/documents/etc. using samba

  4) unable to share folders/documents/etc. using samba

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: samba 2:4.3.11+dfsg-0ubuntu0.16.04.13
  ProcVersionSignature: Ubuntu 4.4.0-127.153-generic 4.4.128
  Uname: Linux 4.4.0-127-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.20.1-0ubuntu2.17
  AptOrdering:
   samba: Install
   samba: Configure
   NULL: ConfigurePending
  Architecture: amd64
  BothFailedConnect: Yes
  Date: Tue May 22 01:36:30 2018
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2016-03-09 (803 days ago)
  InstallationMedia: Lubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  NmbdLog:
   
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.4
   apt  1.2.26
  SambaServerRegression: No
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  Title: 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
  UpgradeStatus: Upgraded to xenial on 2016-10-03 (596 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1772709/+subscriptions



More information about the foundations-bugs mailing list