You are not logged in.
Pages: 1
Had a power failure and on restart Samba has stopped working. Looks like it has an issue opening smb.conf though I've checked to confirm that it's there and intact
systemctl status smbd.service
● smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2015-04-10 12:32:59 EDT; 10s ago
Process: 6234 ExecStart=/usr/bin/smbd -D (code=exited, status=1/FAILURE)
Apr 10 12:32:59 bunga systemd[1]: smbd.service: control process exited, code=exited status=1
Apr 10 12:32:59 bunga systemd[1]: Failed to start Samba SMB/CIFS server.
Apr 10 12:32:59 bunga systemd[1]: Unit smbd.service entered failed state.
Apr 10 12:32:59 bunga systemd[1]: smbd.service failed.
From the SMBD log
[2015/04/10 12:32:59, 0] ../source3/smbd/server.c:1241(main)
smbd version 4.2.0 started.
Copyright Andrew Tridgell and the Samba Team 1992-2014
[2015/04/10 12:32:59, 0] ../lib/param/loadparm.c:1067(lp_set_enum_parm)
WARNING: Ignoring invalid value 'share' for parameter 'security'
[2015/04/10 12:32:59, 0] ../source3/smbd/server.c:1256(main)
error opening config file '/etc/samba/smb.conf'
Permissions for smb.conf
-rw-r--r-- 1 root root 623 Dec 13 20:00 smb.conf
Appreciate any help
Offline
Downgraded samba as per the last post in the following thread and I'm back up and running, https://bbs.archlinux.org/viewtopic.php?id=194468
Offline
I had the same problem and solved it by moving /etc/samba/smb.conf.default to /etc/samba/smb.conf and re-adding my old config bit by bit. I couldn't track down exactly what was causing the issue but I was able to get samba to start again.
Offline
It can be that you have "security = share" in your config and it's deprecated now (not supported anymore?).
Offline
I ran smbd interactively with 'smbd -i' and saw an error message pointing at invalid permission on the /var/cache/samba/msg file. It should be 755 instead of the 700 in my Raspberry Pi Arch installation.
I chmod it and samba started up properly.
Offline
I ran smbd interactively with 'smbd -i' and saw an error message pointing at invalid permission on the /var/cache/samba/msg file. It should be 755 instead of the 700 in my Raspberry Pi Arch installation.
I chmod it and samba started up properly.
Thank you for your tip... it help me also!
Linux / 4.18.5-ARCH / x86_64 / Intel I5-4460s / Intel® HD Graphics 4600 / MSI B85-G43 Gaming
Offline
I ran smbd interactively with 'smbd -i' and saw an error message pointing at invalid permission on the /var/cache/samba/msg file. It should be 755 instead of the 700 in my Raspberry Pi Arch installation.
I chmod it and samba started up properly.
this resolved my problem. thanks a lot.
Offline
Thanks for solution :-)
Offline
Pages: 1