Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. Follow us on twitter - we shoot all of our new original content out as well as random messages. https://twitter.com/linuxdotorg
    Dismiss Notice

Can't run samba

Discussion in 'General Linux' started by wojtekdublin, Mar 10, 2019.

Tags:
  1. wojtekdublin

    wojtekdublin New Member

    Joined:
    Mar 10, 2019
    Messages:
    2
    Likes Received:
    0
    I an unable to run samba. I am getting following error:


    (Log in to hide this advertisement)


    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.
     
  2. arochester

    arochester Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 25, 2017
    Messages:
    481
    Likes Received:
    510
  3. wojtekdublin

    wojtekdublin New Member

    Joined:
    Mar 10, 2019
    Messages:
    2
    Likes Received:
    0
    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?'
     

Share This Page