samba não inicia, 16.04.1

0

O Xubuntu 16.04.1, apt-get update hoje, mas esse tem sido um problema contínuo por várias semanas. Eu removi o diretório /etc/samba inteiramente antes de executar:

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)

A execução de systemctl e journalctl não fornece informações.

● 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.

e

-- 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'.

Limpei o cache do apt, execute apt-get purge samba e excluiu o diretório /etc/samba . Também corri os passos aqui: link sem sucesso.

Ajuda?

Obrigado Anthony.

    
por Anthony Floyd 19.12.2016 / 21:22

0 respostas