Can't run samba

wojtekdublin

New Member
Joined
Mar 10, 2019
Messages
4
Reaction score
0
Credits
23
I an unable to run samba. I am getting following error:

Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.

$ systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset>
Active: failed (Result: exit-code) since Sun 2019-03-10 15:25:40 GMT; 18min >
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 9896 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDO>
Main PID: 9896 (code=exited, status=1/FAILURE)
Mar 10 15:25:40 wojtek systemd[1]: Starting Samba SMB Daemon...
Mar 10 15:25:40 wojtek systemd[1]: smb.service: Main process exited, code=exite>
Mar 10 15:25:40 wojtek systemd[1]: smb.service: Failed with result 'exit-code'.
Mar 10 15:25:40 wojtek systemd[1]: Failed to start Samba SMB Daemon.

$ journalctl -xe
Mar 10 15:35:53 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153553>
Mar 10 15:35:54 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153554>
Mar 10 15:35:55 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153555>
Mar 10 15:35:57 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153557>
Mar 10 15:35:58 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153558>
Mar 10 15:35:59 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153559>
Mar 10 15:36:01 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153601>
Mar 10 15:36:02 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153602>
Mar 10 15:36:03 wojtek wpa_supplicant[1132]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE a>
Mar 10 15:36:03 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153603>
Mar 10 15:36:04 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153604>
Mar 10 15:36:06 wojtek /usr/libexec/gdm-x-session[1677]: [2761:2822:0310/153606>
Mar 10 15:37:53 wojtek wpa_supplicant[1132]: wlp2s0: WPA: Group rekeying comple>
Mar 10 15:38:57 wojtek /usr/libexec/gdm-x-session[1677]: Cinnamon warning: Log >
Mar 10 15:39:25 wojtek gnome-keyring-daemon[1660]: asked to register item /org/>
Mar 10 15:39:53 wojtek wpa_supplicant[1132]: wlp2s0: WPA: Group rekeying comple>
Mar 10 15:41:53 wojtek wpa_supplicant[1132]: wlp2s0: WPA: Group rekeying comple>
Mar 10 15:42:39 wojtek /usr/libexec/gdm-x-session[1677]: [1:1:0310/154239.28414>
Mar 10 15:42:39 wojtek /usr/libexec/gdm-x-session[1677]: [1:1:0310/154239.28439>
Mar 10 15:42:39 wojtek /usr/libexec/gdm-x-session[1677]: [1:1:0310/154239.28529>
Mar 10 15:42:39 wojtek /usr/libexec/gdm-x-session[1677]: [1:1:0310/154239.28750>
Mar 10 15:42:39 wojtek /usr/libexec/gdm-x-session[1677]: [1:1:0310/154239.28764>
Mar 10 15:43:53 wojtek wpa_supplicant[1132]: wlp2s0: WPA: Group rekeying comple>
lines 1149-1171/1171 (END)

Tried to reinstall samba, but it didn't help.
 


Distro is Fedora 29

When this error had occurred, I removed /etc/samba/ folder , and reinstalled samba, but it did not help, furthermore /etc/samba/ folder is not available now. When i run smbstatus in console and per above instructions I am getting 'Could not initialize messaging, not root?'
 

Members online


Top