Ask Your Question
0

samba doesn't start following Fedora 28 DNF UPDATE

asked 2018-05-22 22:19:55 -0600

jkredman gravatar image

updated 2018-05-23 04:02:51 -0600

hhlp gravatar image

I ran DNF UPDATE a few days ago and it appears to have killed the smb service.

testparm shows no issues

systemctl status smbd returns the following

smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-05-22 21:51:16 CDT; 6min ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 1047 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 1047 (code=exited, status=1/FAILURE)

May 22 21:51:16 jkredman systemd[1]: Starting Samba SMB Daemon...
May 22 21:51:16 jkredman systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
May 22 21:51:16 jkredman systemd[1]: smb.service: Failed with result 'exit-code'.
May 22 21:51:16 jkredman systemd[1]: Failed to start Samba SMB Daemon.
getsebool -a | grep samba returns
samba_create_home_dirs --> on
samba_domain_controller --> on
samba_enable_home_dirs --> on
samba_export_all_ro --> on
samba_export_all_rw --> on
samba_load_libgfapi --> on
samba_portmapper --> on
samba_run_unconfined --> on
samba_share_fusefs --> on
samba_share_nfs --> on
sanlock_use_samba --> on
tmpreaper_use_samba --> on
use_samba_home_dirs --> on
virt_use_samba --> on

Share is a real directory

Please help, need to get this working again.

edit retag flag offensive close merge delete

Comments

@jkredman , We don't have clear what is your problem? because systemctl doesn't show the exact error, you have to deep in your system log with these commands journalctl --unit=smbd or journalctl -xe after start the service, and share what happend with us...

hhlp gravatar imagehhlp ( 2018-05-23 04:11:41 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2018-05-23 16:30:38 -0600

jkredman gravatar image

[jkredman@jkredman ~]$ journalctl --unit=smbd -- Logs begin at Fri 2018-05-11 12:16:09 CDT, end at Wed 2018-05-23 15:31:28 CDT. -- -- No entries -- [jkredman@jkredman ~]$

journalctl -xe returns 1001 lines. This is what I found interesting:

-- The start-up result is RESULT. May 23 16:08:49 jkredman audit[1]: SERVICESTART pid=1 uid=0 auid=4294967295 ses=4294967295 subj=systemu:systemr:initt:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' May 23 16:08:49 jkredman audit[1]: SERVICESTOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=systemu:systemr:initt:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' May 23 16:08:53 jkredman kernel: CPU3: Core temperature/speed normal May 23 16:08:53 jkredman kernel: CPU1: Core temperature/speed normal May 23 16:08:53 jkredman kernel: CPU0: Package temperature/speed normal May 23 16:08:53 jkredman kernel: CPU2: Package temperature/speed normal May 23 16:08:53 jkredman kernel: CPU1: Package temperature/speed normal May 23 16:08:53 jkredman kernel: CPU3: Package temperature/speed normal May 23 16:08:56 jkredman kernel: CPU2: Core temperature/speed normal May 23 16:08:56 jkredman kernel: CPU0: Core temperature/speed normal May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:00 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:06 jkredman kernel: kvmsetmsrcommon: 3854 callbacks suppressed May 23 16:09:06 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 16:09:06 jkredman kernel: kvm [16931]: vcpu1, guest rIP: 0xfffff8012298aaaf kvmsetmsrcommon: MSRIA32DEBUGCTLMSR 0x1, nop May 23 ... (more)

edit flag offensive delete link more
0

answered 2018-05-23 02:05:05 -0600

Gaurav29 gravatar image

Try reinstalling the packages, restart and enable the smb nmb service, add the service in firewall and reload it.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2018-05-22 22:19:55 -0600

Seen: 343 times

Last updated: May 23 '18