Job for smb.service failed because the control process exited with error code.



  • The service had an error during startup. Focus on the red text. Run samba testparm, validate your smb.conf file. Try copying your smb.conf file to a backup file and use a minimum configuration.

    # systemctl status smb.service 
    ā— smb.service - Samba SMB Daemon
       Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
       Active: failed (Result: exit-code) since Sat 2016-07-09 10:40:09 EDT; 42s ago
      %(#FF0000)[Process: 9272 ExecStart=/usr/sbin/smbd $SMBDOPTIONS ](code=exited, status=1/FAILURE)
     Main PID: 9272 (code=exited, status=1/FAILURE)
    
    Jul 09 10:40:09  Starting Samba SMB Daemon...
    Jul 09 10:40:09  smb.service: main process exited, code=exited, status...URE
    Jul 09 10:40:09  Failed to start Samba SMB Daemon.
    Jul 09 10:40:09  Unit smb.service entered failed state.
    Jul 09 10:40:09  smb.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.
    


© Lightnetics 2024