• Samba won't start. Can't share folders over network.


    After installing the “samba” and “nautilus-share” packages and rebooting, I noticed that System Monitor showed no Samba service running in the background. Running “sudo systemctl status samba” from the Terminal produces this error:

    ● samba.service - Samba AD Daemon
       Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; vendor preset: disabled)
       Active: failed (Result: exit-code) since Fri 2016-11-25 17:09:19 PST; 18h ago
      Process: 1558 ExecStart=/usr/bin/samba $SAMBAOPTIONS (code=exited, status=0/SUCCESS)
     Main PID: 1559 (code=exited, status=1/FAILURE)
    
    Nov 25 17:09:19 Macmini systemd[1]: Starting Samba AD Daemon...
    Nov 25 17:09:19 Macmini systemd[1]: Started Samba AD Daemon.
    Nov 25 17:09:19 Macmini samba[1559]: [2016/11/25 17:09:19.067798,  0] ../source4/smbd/server.c:466(binary_smbd_main)
    Nov 25 17:09:19 Macmini samba[1559]:   At this time the 'samba' binary should only be used for either:
    Nov 25 17:09:19 Macmini samba[1559]:   'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
    Nov 25 17:09:19 Macmini samba[1559]:   You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
    Nov 25 17:09:19 Macmini samba[1559]: [2016/11/25 17:09:19.067883,  0] ../lib/util/become_daemon.c:111(exit_daemon)
    Nov 25 17:09:19 Macmini systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE
    Nov 25 17:09:19 Macmini systemd[1]: samba.service: Unit entered failed state.
    Nov 25 17:09:19 Macmini systemd[1]: samba.service: Failed with result 'exit-code'.
    

    Any help would be appreciated. I’m trying to get Samba running on a Macmini using the latest ISO build of Antergos, GNOME 3.22.2. Thanks in advance!


    "Always do right. This will gratify some people and astonish the rest." - Mark Twain

    Jesse DuBord
    FILMMAKER

  • Hi,

    You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
    

    You should use samba if you want to use it as an Active Directory server.

    I think what you’re searching for is smbd

    Cheers!

  • @karasu thanks for the reply. However, running “sudo systemctl start smbd” won’t work; it produces this error:

    ● smbd.service - Samba SMB/CIFS server
       Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
       Active: failed (Result: exit-code) since Sun 2016-11-27 09:20:09 PST; 36s ago
      Process: 3475 ExecStart=/usr/bin/smbd -D (code=exited, status=1/FAILURE)
    
    Nov 27 09:20:09 Macmini systemd[1]: Starting Samba SMB/CIFS server...
    Nov 27 09:20:09 Macmini systemd[1]: smbd.service: Control process exited, code=exited status=1
    Nov 27 09:20:09 Macmini systemd[1]: Failed to start Samba SMB/CIFS server.
    Nov 27 09:20:09 Macmini systemd[1]: smbd.service: Unit entered failed state.
    Nov 27 09:20:09 Macmini systemd[1]: smbd.service: Failed with result 'exit-code'.
    

    Any thoughts on how to get smbd running?


    "Always do right. This will gratify some people and astonish the rest." - Mark Twain

    Jesse DuBord
    FILMMAKER

  • You’ll have to investigate why smbd is not running. Use systemd
    (the examples use the systemd-modules-load module, replace it with smbd)

    https://wiki.archlinux.org/index.php/Systemd#Troubleshooting

samba28 share8 folders7 start3 Posts 4Views 1476
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.