Mint 19 & Samba problems

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
glaridis

Mint 19 & Samba problems

Post by glaridis »

Recently i moved from mint 17 to 19 but i am having problems with samba and networking.

1st When i am trying to install samba (apt-get install samba -y) i get these errors:

Code: Select all

Samba is not being run as an AD Domain Controller, masking samba-ad-dc.service.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
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; disabled; vendor preset: enabled)
  [b] Active: failed (Result: exit-code) since Tue 2018-08-07 14:34:12 EEST; 16ms ago[/b]
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  [b]Process: 18127 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)[/b]
 Main PID: 18127 (code=exited, status=1/FAILURE)

Aug 07 14:34:12 tamio-desktop systemd[1]: Starting Samba SMB Daemon...
Aug 07 14:34:12 tamio-desktop systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Aug 07 14:34:12 tamio-desktop systemd[1]: smbd.service: Failed with result 'exit-code'.
[b]Aug 07 14:34:12 tamio-desktop systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):[/b]
 installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.3) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for ufw (0.35-5) ...
Errors were encountered while processing:
 samba
[b]E: Sub-process /usr/bin/dpkg returned an error code (1)[/b]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DAMIEN1307

Re: Mint 19 & Samba problems

Post by DAMIEN1307 »

install samba like so...DAMIEN

sudo apt install samba
Locked

Return to “Networking”