smbd.service failed

Bug #1789544 reported by 高畠博嗣
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

 smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-08-29 14:14:11 JST; 10min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 2904 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 2904 (code=exited, status=1/FAILURE)
   Status: "daemon failed to start: Samba cannot setup ep pipe"
    Error: 13 (許可がありません)

 8月 29 14:14:10 hirotsugu-EX58-UD5 systemd[1]: Starting Samba SMB Daemon...
 8月 29 14:14:11 hirotsugu-EX58-UD5 systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
 8月 29 14:14:11 hirotsugu-EX58-UD5 systemd[1]: smbd.service: Failed with result 'exit-code'.
 8月 29 14:14:11 hirotsugu-EX58-UD5 systemd[1]: Failed to start Samba SMB Daemon.

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
Architecture: amd64
Date: Wed Aug 29 14:14:04 2018
ErrorMessage: installed samba package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-08-24 (5 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64(20180506.1)
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
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: No upgrade log present (probably fresh install)

Revision history for this message
高畠博嗣 (h-takabatake) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

Looks like there is a permissions problem:
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2018-08-29 14:14:04 JST; 9ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 2694 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 2694 (code=exited, status=1/FAILURE)
   Status: "daemon failed to start: Samba cannot setup ep pipe"
    Error: 13 (許可がありません)

errno 13 is "permission denied".

Could you please attach the logs from /var/log/samba/log*? They might have more information.

Changed in samba (Ubuntu):
status: New → Incomplete
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
Revision history for this message
Den (swany7) wrote (last edit ):

same at 20.04.3 after an upgrade

to easy fix add to smb.conf:

load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes

Revision history for this message
Paride Legovini (paride) wrote :

Hi, did you comment to the wrong bug? This one was not about printers, as I understand it.

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.