I cant start samba

systemctl status smb.service
Γ— smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor prese>
     Active: failed (Result: exit-code) since Thu 2022-01-27 16:04:38 EET; 1min>
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 2356 ExecStart=/usr/bin/smbd --foreground --no-process-group $SMBD>
   Main PID: 2356 (code=exited, status=1/FAILURE)
        CPU: 62ms

Jan 27 16:04:38 manjo-empty systemd[1]: Starting Samba SMB Daemon...
Jan 27 16:04:38 manjo-empty systemd[1]: smb.service: Main process exited, code=>
Jan 27 16:04:38 manjo-empty systemd[1]: smb.service: Failed with result 'exit-c>
Jan 27 16:04:38 manjo-empty systemd[1]: Failed to start Samba SMB Daemon.
lines 1-14/14 (END)...skipping...
Γ— smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2022-01-27 16:04:38 EET; 1min 33s ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 2356 ExecStart=/usr/bin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
   Main PID: 2356 (code=exited, status=1/FAILURE)
        CPU: 62ms

Jan 27 16:04:38 manjo-empty systemd[1]: Starting Samba SMB Daemon...
Jan 27 16:04:38 manjo-empty systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 16:04:38 manjo-empty systemd[1]: smb.service: Failed with result 'exit-code'.
Jan 27 16:04:38 manjo-empty systemd[1]: Failed to start Samba SMB Daemon.

Run testparm in terminal to see if there is a problem with your smb.conf which is located in /etc/samba. I am assuming that you have manjaro-settings-samba installed.

Take a look at these:
https://wiki.manjaro.org/index.php/Using_Samba_in_your_File_Manager

1 Like

Thanks, after using pamac install caja-share manjaro-settings-samba and pamac install gvfs-smb it start

sudo systemctl status smb
● smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor prese>
     Active: active (running) since Thu 2022-01-27 16:27:18 EET; 1min 11s ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 683 (smbd)
     Status: "smbd: ready to serve connections..."
      Tasks: 3 (limit: 7090)
     Memory: 14.9M
        CPU: 160ms
     CGroup: /system.slice/smb.service
             β”œβ”€683 /usr/bin/smbd --foreground --no-process-group
             β”œβ”€696 /usr/bin/smbd --foreground --no-process-group
             └─697 /usr/bin/smbd --foreground --no-process-group

Jan 27 16:27:15 manjo-empty systemd[1]: Starting Samba SMB Daemon...
Jan 27 16:27:16 manjo-empty smbd[683]: [2022/01/27 16:27:16.598727,  0] ../../s>
Jan 27 16:27:16 manjo-empty smbd[683]:   smbd version 4.15.3 started.
Jan 27 16:27:16 manjo-empty smbd[683]:   Copyright Andrew Tridgell and the Samb>
Jan 27 16:27:18 manjo-empty systemd[1]: Started Samba SMB Daemon.
lines 1-21/21 (END)...skipping...
● smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2022-01-27 16:27:18 EET; 1min 11s ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 683 (smbd)
     Status: "smbd: ready to serve connections..."
      Tasks: 3 (limit: 7090)
     Memory: 14.9M
        CPU: 160ms
     CGroup: /system.slice/smb.service
             β”œβ”€683 /usr/bin/smbd --foreground --no-process-group
             β”œβ”€696 /usr/bin/smbd --foreground --no-process-group
             └─697 /usr/bin/smbd --foreground --no-process-group

Jan 27 16:27:15 manjo-empty systemd[1]: Starting Samba SMB Daemon...
Jan 27 16:27:16 manjo-empty smbd[683]: [2022/01/27 16:27:16.598727,  0] ../../source3/smbd/server.c:1739(main)
Jan 27 16:27:16 manjo-empty smbd[683]:   smbd version 4.15.3 started.
Jan 27 16:27:16 manjo-empty smbd[683]:   Copyright Andrew Tridgell and the Samba Team 1992-2021
Jan 27 16:27:18 manjo-empty systemd[1]: Started Samba SMB Daemon.

Tip: When pasting terminal output on Discourse forums, one can either…

  • Use the Preformatted text </> toolbar button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    type or paste code here
    ```

  • Use HTML:

    <pre><code>
    type or paste code here
    </pre></code>

I’ve done it for you this time. :wink:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.