samba 无法启动,16.04.1

samba 无法启动,16.04.1

Xubuntu 16.04.1,apt-get update但这个问题已经持续了好几个星期了。我/etc/samba在运行之前完全删除了该目录:

root@lorne:/etc# apt-get install -f samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version (2:4.3.11+dfsg-0ubuntu0.16.04.3).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.3) ...
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.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:    
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)

运行 systemctl 和 journalctl 没有提供任何见解。

● 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 Mon 2016-12-19 11:43:44 PST; 2min 54s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 8584 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)

Dec 19 11:43:44 lorne systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
Dec 19 11:43:44 lorne smbd[8584]:  * Starting SMB/CIFS daemon smbd
Dec 19 11:43:44 lorne smbd[8584]:    ...fail!
Dec 19 11:43:44 lorne systemd[1]: smbd.service: Control process exited, code=exited status=1
Dec 19 11:43:44 lorne systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
Dec 19 11:43:44 lorne systemd[1]: smbd.service: Unit entered failed state.

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smbd.service has begun starting up.
Dec 19 11:43:44 lorne smbd[8584]:  * Starting SMB/CIFS daemon smbd
Dec 19 11:43:44 lorne smbd[8584]:    ...fail!
Dec 19 11:43:44 lorne systemd[1]: smbd.service: Control process exited, code=exited status=1
Dec 19 11:43:44 lorne systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Dec 19 11:43:44 lorne systemd[1]: smbd.service: Unit entered failed state.
Dec 19 11:43:44 lorne systemd[1]: smbd.service: Failed with result 'exit-code'.

我清除了 apt 缓存,运行apt-get purge samba并删除了/etc/samba目录。我还执行了以下步骤:https://askubuntu.com/a/814747/632686无济于事。

帮助?

谢谢,安东尼。

相关内容