Problema de configuração do Samba

0

Após várias tentativas malsucedidas de configurar compartilhamentos de samba e instalar / desinstalar várias vezes, o Samba e o system-config-samba não serão instalados corretamente. Por favor, veja a saída da tentativa de instalação no terminal. Ajuda apreciada.

> Setting up samba (2:4.6.7+dfsg-1ubuntu3.1) ...
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
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 - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-02-11 11:34:46 EST; 3ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 26745 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 26745 (code=exited, status=1/FAILURE)

Feb 11 11:34:46 Mycenae systemd[1]: Starting Samba SMB Daemon...
Feb 11 11:34:46 Mycenae systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Feb 11 11:34:46 Mycenae systemd[1]: Failed to start Samba SMB Daemon.
Feb 11 11:34:46 Mycenae systemd[1]: smbd.service: Unit entered failed state.
Feb 11 11:34:46 Mycenae systemd[1]: smbd.service: Failed with result 'exit-code'.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for hicolor-icon-theme (0.17-1) ...
dpkg: dependency problems prevent configuration of system-config-samba:
 system-config-samba depends on samba; however:
  Package samba is not configured yet.

dpkg: error processing package system-config-samba (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Errors were encountered while processing:
 samba
 system-config-samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por autumnleaves 11.02.2018 / 17:41

0 respostas