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

Bug #1772709 reported by luisgamon
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

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)

Revision history for this message
luisgamon (luisgamon) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) 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
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
Download full text (3.7 KiB)

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: Fai...

Read more...

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

It seems to be working fine now, according to the systemctl output, and the supplied logs. Can you confirm that?

And does the apt -f install command in the sequence below want to perform any changes on your system? "-f install" stands for "fix my install":

sudo apt update
sudo apt -f install

Revision history for this message
luisgamon (luisgamon) wrote :
Download full text (5.0 KiB)

this is the output of sudo apt update and sudo apt -f install

lubuntu@lubuntu-KQ495AA-ABA-a6500f:~$ sudo apt update
[sudo] password for lubuntu:
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:2 http://ppa.launchpad.net/hsoft/ppa/ubuntu xenial InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://dl.google.com/linux/chrome/deb stable Release
Hit:7 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:10 https://repo.skype.com/deb stable InRelease
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
[107 kB]
Fetched 323 kB in 3s (82.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
lubuntu@lubuntu-KQ495AA-ABA-a6500f:~$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
   amarok-common breeze-icon-theme docbook-xml docbook-xsl esound-common
icoutils kactivities kate-data katepart kde-runtime-data
kde-style-breeze kde-style-breeze-qt4
   kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
kpackagelauncherqml kpackagetool5 kwayland-data kwayland-integration
libattica0.4 libaudiofile1 libclucene-core1v5
   libdbusmenu-qt2 libdbusmenu-qt5 libdiscid0 libdlrestrictions1
libdouble-conversion1v5 libenca0 libesd0 libexiv2-14 libfam0
libgda-5.0-4 libgda-5.0-common libgmlib1 libgmtk1
   libgmtk1-data libgpod-common libgpod4 libkactivities6
libkatepartinterfaces4 libkcddb4 libkcmutils4 libkcompactdisc4
libkde3support4 libkdeclarative5 libkdecore5 libkdesu5
   libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkf5activities5
libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5
libkf5calendarevents5 libkf5codecs-data
   libkf5codecs5 libkf5completion-data libkf5completion5
libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5
libkf5configwidgets-data libkf5configwidgets5
   libkf5coreaddons-data libkf5coreaddons5 libkf5crash5
libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5
libkf5declarative-data libkf5declarative5
   libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5
libkf5globalaccelprivate5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5
libkf5iconthemes-bin
   libkf5iconthemes-data libkf5iconthemes5 libkf5idletime5
libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data
libkf5jobwidgets5 libkf5kiocore5 libkf5kiowidgets5
   libkf5notifications-data libkf5notifications5 libkf5package-data
libkf5package5 libkf5plasma5 libkf5plasmaquick5 libkf5quickaddons5
libkf5service-bin libkf5service-data
   libkf5service5 libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5
libkf5style5 libkf5textwidgets-data libkf5textwidgets5
libkf5waylandclient5 libkf5widgetsaddons-data
   libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5
li...

Read more...

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

Everything looks fine now. I'll leave this bug in the "incomplete" state and let it expire on its own of no new information comes to light. If this happens again, please add a comment here and reopen the bug if it is already expired.

Thanks

Revision history for this message
luisgamon (luisgamon) wrote :

At the end the solution was, emigrate from lubuntu to xubuntu and here
with xubuntu I don't have any problems with samba

On 05/29/2018 11:15 AM, Andreas Hasenack wrote:
> Everything looks fine now. I'll leave this bug in the "incomplete" state
> and let it expire on its own of no new information comes to light. If
> this happens again, please add a comment here and reopen the bug if it
> is already expired.
>
> Thanks
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

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