[Bug 1790971] Re: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1

Ed Rand ocnr01 at gmail.com
Sun Sep 9 18:32:12 UTC 2018


Nevermind :-)  Restarted Samba again and rebooted again.  Now Samba starts automatically, so I guess problem fixed itself.  Amaaaazing!!!  Mark it “resolved”.
Continue to have problem of windows servers not being able to log on to Samba share to do nightly sync for backup purposes (incorrect password)  (Yes, I added the smbuser and smbpassword too).  Since desktops can and servers can’t  (all members of same windows controlled domain) I’m left with the conclusion that the problem may have to be solved in the windows server environment, not in Linux.  I may just have to work around it.  Too bad there is so much OS divisiveness (sigh)!!!  But that wasn’t the bug I reported anyway.  Just venting.  So thanks! Sorry to waste your time.

Have a nice day.
EO Rand

> On Sep 6, 2018, at 1:32 PM, Andreas Hasenack <andreas at canonical.com> wrote:
> 
> Thanks for filing this bug in Ubuntu.
> 
> The logs indicate that the smbd service, part of samba, failed to start, but do not tell why:
> 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-09-05 13:59:35 EDT; 18ms ago
>     Docs: man:smbd(8)
>           man:samba(7)
>           man:smb.conf(5)
>  Process: 4464 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
> Main PID: 4464 (code=exited, status=1/FAILURE)
> 
> Sep 05 13:59:35 Athena systemd[1]: Starting Samba SMB Daemon...
> Sep 05 13:59:35 Athena systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
> Sep 05 13:59:35 Athena systemd[1]: smbd.service: Failed with result 'exit-code'.
> Sep 05 13:59:35 Athena systemd[1]: Failed to start Samba SMB Daemon.
> 
> Could you please look into the log files from /var/log/samba, and
> perhaps even attach them here? They will have a better indication about
> what happened.
> 
> Thanks
> 
> 
> ** Changed in: samba (Ubuntu)
>       Status: New => Incomplete
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1790971
> 
> Title:
>  package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to
>  install/upgrade: installed samba package post-installation script
>  subprocess returned error exit status 1
> 
> Status in samba package in Ubuntu:
>  Incomplete
> 
> Bug description:
>  This after a reinstall of Samba.  Sequence of events as follows:
>  Samba share was working fine.
>  Upgraded from Ubuntu 16.04 to 18.04.
>  Windows desktops could still connect to Samba share, but Windows Servers (2012R2) were rejected with "incorrect password"
>  Tried numerous fixes, eliminated problems of interface or iptables being the culprit.
>  Tried monkeying with smb.conf
>  Finally removed and then reinstalled Samba and started with a fresh smb.conf
>  As before, desktops connected, servers did not
>  Rebooted
>  Got this error.  Now nothing works.
> 
>  ProblemType: Package
>  DistroRelease: Ubuntu 18.04
>  Package: samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2
>  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
>  Uname: Linux 4.15.0-33-generic x86_64
>  ApportVersion: 2.20.9-0ubuntu7.2
>  AptOrdering:
>   samba:amd64: Install
>   NULL: ConfigurePending
>  Architecture: amd64
>  Date: Wed Sep  5 13:59:36 2018
>  ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
>  InstallationDate: Installed on 2015-12-28 (981 days ago)
>  InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
>  NmbdLog:
> 
>  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
>  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
>  RelatedPackageVersions:
>   dpkg 1.19.0.5ubuntu2
>   apt  1.6.3ubuntu0.1
>  SambaServerRegression: Yes
>  SmbConfIncluded: Yes
>  SmbLog:
> 
>  SourcePackage: samba
>  TestparmExitCode: 0
>  Title: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1
>  UbuntuFailedConnect: Yes
>  UpgradeStatus: Upgraded to bionic on 2018-08-28 (8 days ago)
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1790971/+subscriptions

-- 
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/1790971

Title:
  package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to
  install/upgrade: installed samba package post-installation script
  subprocess returned error exit status 1

Status in samba package in Ubuntu:
  Incomplete

Bug description:
  This after a reinstall of Samba.  Sequence of events as follows:
  Samba share was working fine.
  Upgraded from Ubuntu 16.04 to 18.04.
  Windows desktops could still connect to Samba share, but Windows Servers (2012R2) were rejected with "incorrect password"
  Tried numerous fixes, eliminated problems of interface or iptables being the culprit.
  Tried monkeying with smb.conf
  Finally removed and then reinstalled Samba and started with a fresh smb.conf
  As before, desktops connected, servers did not
  Rebooted
  Got this error.  Now nothing works.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2
  ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
  Uname: Linux 4.15.0-33-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  AptOrdering:
   samba:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Wed Sep  5 13:59:36 2018
  ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2015-12-28 (981 days ago)
  InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  NmbdLog:
   
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3ubuntu0.1
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   
  SourcePackage: samba
  TestparmExitCode: 0
  Title: package samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.2 failed to install/upgrade: installed samba package post-installation script subprocess returned error exit status 1
  UbuntuFailedConnect: Yes
  UpgradeStatus: Upgraded to bionic on 2018-08-28 (8 days ago)

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



More information about the foundations-bugs mailing list