Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samba package is broken #634

Open
philmmanjaro opened this issue Feb 18, 2025 · 1 comment
Open

Samba package is broken #634

philmmanjaro opened this issue Feb 18, 2025 · 1 comment

Comments

@philmmanjaro
Copy link
Contributor

When I look into systemctl I find the following issues based on the samba package:

× samba.service - Samba AD Daemon
     Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-02-18 00:15:16 PST; 1h 35min ago
       Docs: man:samba(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 1523 ExecStart=/usr/sbin/samba --foreground --no-process-group $SAMBAOPTIONS (code=exited, status=203/EXEC)
   Main PID: 1523 (code=exited, status=203/EXEC)
        CPU: 467us

Feb 18 00:15:16 snekbox systemd[1]: Starting Samba AD Daemon...
Feb 18 00:15:16 snekbox (samba)[1523]: samba.service: Failed to locate executable /usr/sbin/samba: No such file or directory
Feb 18 00:15:16 snekbox (samba)[1523]: samba.service: Failed at step EXEC spawning /usr/sbin/samba: No such file or directory
Feb 18 00:15:16 snekbox systemd[1]: samba.service: Main process exited, code=exited, status=203/EXEC
Feb 18 00:15:16 snekbox systemd[1]: samba.service: Failed with result 'exit-code'.
Feb 18 00:15:16 snekbox systemd[1]: Failed to start Samba AD Daemon.
smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-02-18 00:15:16 PST; 1h 35min ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 1542 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
   Main PID: 1542 (code=exited, status=1/FAILURE)
        CPU: 22ms

Feb 18 00:15:16 snekbox systemd[1]: Starting Samba SMB Daemon...
Feb 18 00:15:16 snekbox (smbd)[1542]: smb.service: Referenced but unset environment variable evaluates to an empty string: SMBDOPTIONS
Feb 18 00:15:16 snekbox systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
Feb 18 00:15:16 snekbox systemd[1]: smb.service: Failed with result 'exit-code'.
Feb 18 00:15:16 snekbox systemd[1]: Failed to start Samba SMB Daemon.
winbind.service - Samba Winbind Daemon
     Loaded: loaded (/usr/lib/systemd/system/winbind.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2025-02-18 00:15:16 PST; 1h 36min ago
       Docs: man:winbindd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 1537 ExecStart=/usr/sbin/winbindd --foreground --no-process-group $WINBINDOPTIONS (code=exited, status=203/EXEC)
   Main PID: 1537 (code=exited, status=203/EXEC)
        CPU: 671us

Feb 18 00:15:16 snekbox systemd[1]: Starting Samba Winbind Daemon...
Feb 18 00:15:16 snekbox (winbindd)[1537]: winbind.service: Failed to locate executable /usr/sbin/winbindd: No such file or directory
Feb 18 00:15:16 snekbox (winbindd)[1537]: winbind.service: Failed at step EXEC spawning /usr/sbin/winbindd: No such file or directory
Feb 18 00:15:16 snekbox systemd[1]: winbind.service: Main process exited, code=exited, status=203/EXEC
Feb 18 00:15:16 snekbox systemd[1]: winbind.service: Failed with result 'exit-code'.
Feb 18 00:15:16 snekbox systemd[1]: Failed to start Samba Winbind Daemon.
@philmmanjaro
Copy link
Contributor Author

Quick fix might be removing --systemd-install-services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant