ubuntuusers.de

testparm Error loading services.

Status: Gelöst | Ubuntu-Version: Xubuntu 20.04 (Focal Fossa)
Antworten |

Noebian

Anmeldungsdatum:
23. September 2009

Beiträge: 670

Moin, ich habe Probleme mit Samba.

Testparm führt zur Fehlermeldung "Error loading services". sudo service smbd restart ergibt

1
2
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
systemctl status smbd.service
● smbd.service - Samba SMB Daemon
     Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor pre>
     Active: failed (Result: exit-code) since Tue 2021-01-19 19:24:23 CET;>
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
    Process: 2509 ExecStartPre=/usr/share/samba/update-apparmor-samba-prof>
    Process: 2524 ExecStart=/usr/sbin/smbd --foreground --no-process-group>
   Main PID: 2524 (code=exited, status=1/FAILURE)

Jan 19 19:24:22 Latitude-E6320 systemd[1]: Starting Samba SMB Daemon...
Jan 19 19:24:23 Latitude-E6320 systemd[1]: smbd.service: Main process exit>
Jan 19 19:24:23 Latitude-E6320 systemd[1]: smbd.service: Failed with resul>
Jan 19 19:24:23 Latitude-E6320 systemd[1]: Failed to start Samba SMB Daemo>
lines 1-14/14 (END)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
journalctl -xe
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- An ExecStart= process belonging to unit smbd.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
Jan 19 19:24:23 Latitude-E6320 systemd[1]: smbd.service: Failed with result 'ex>
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit smbd.service has entered the 'failed' state with result 'exit-code'.
Jan 19 19:24:23 Latitude-E6320 systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: A start job for unit smbd.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit smbd.service has finished with a failure.
-- 
-- The job identifier is 1413 and the job result is failed.
Jan 19 19:24:23 Latitude-E6320 sudo[2503]: pam_unix(sudo:session): session clos>
Jan 19 19:26:23 Latitude-E6320 wpa_supplicant[741]: wlp2s0: WPA: Group rekeying>
lines 3658-3680/3680 (END)

Kann sich da jemand einen Reim drauf machen?

chr123

Anmeldungsdatum:
19. Juli 2018

Beiträge: 1632

Hast du deine smb.conf geändert? Wenn ja, dann würde ich einfach noch mal die default smb.conf nehmen.

Falls nein müssen wir woanders suchen.

Noebian

(Themenstarter)

Anmeldungsdatum:
23. September 2009

Beiträge: 670

super, das war es auch schon. Ich hatte die Änderungen in der smb.conf wieder rausgenommen, es ging aber trotzdem nicht. Wahrscheinlich war da irgendwo der Wurm drin. Mit der default und meinen Änderungen läuft es jetzt. Danke.

Ich hatte die Fehlermeldungen so interpretiert, dass der Samba-Server nicht richtig läuft.

chr123

Anmeldungsdatum:
19. Juli 2018

Beiträge: 1632

Bitte noch auf gelöst setzen.

Antworten |