Samba won't start

Status
Not open for further replies.

cerberus

Cadet
Joined
Jan 20, 2018
Messages
7
Checks pass but wont start. I have deleted all shares but will still not start.

Freenas 11.2 stable

Code:
root@freenas[~]# service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
/usr/local/etc/rc.d/samba_server: WARNING: failed to start nmbd
Starting smbd.
/usr/local/etc/rc.d/samba_server: WARNING: failed to start smbd
Starting winbindd.
/usr/local/etc/rc.d/samba_server: WARNING: failed to start winbindd
root@freenas[~]#

edit:
Code:
root@freenas[~]# testparm -s
Load smb config files from /usr/local/etc/smb4.conf
WARNING: The "null passwords" option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
		deadtime = 15
		disable spoolss = Yes
		dns proxy = No
		dos charset = CP437
		kernel change notify = No
		lm announce = Yes
		load printers = No
		logging = file
		map to guest = Bad User
		max log size = 51200
		max open files = 234677
		netbios name = NAS
		nsupdate command = /usr/local/bin/samba-nsupdate -g
		null passwords = Yes
		obey pam restrictions = Yes
		panic action = /usr/local/libexec/samba/samba-backtrace
		printcap name = /dev/null
		security = USER
		server min protocol = SMB2_02
		server role = standalone server
		server string = NAS Server
		time server = Yes
		idmap config *: range = 90000001-100000000
		idmap config * : backend = tdb
		acl allow execute always = Yes
		create mask = 0666
		directory mask = 0777
		directory name cache size = 0
		dos filemode = Yes
		ea support = Yes
		store dos attributes = Yes
		strict locking = No
root@freenas[~]#

 
Last edited:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Checks pass but won't start. I have deleted all shares but will still not start.

Freenas 11.2 stable

Code:
root@freenas[~]# service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
/usr/local/etc/rc.d/samba_server: WARNING: failed to start nmbd
Starting smbd.
/usr/local/etc/rc.d/samba_server: WARNING: failed to start smbd
Starting winbindd.
/usr/local/etc/rc.d/samba_server: WARNING: failed to start winbindd
root@freenas[~]#

Post output of testparm -s
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Please note that edits don't trigger notifications, so it's best to include new information that was asked for in a new post.
 

cerberus

Cadet
Joined
Jan 20, 2018
Messages
7
Please note that edits don't trigger notifications, so it's best to include new information that was asked for in a new post.

Code:
root@freenas[~]# testparm -s
Load smb config files from /usr/local/etc/smb4.conf
WARNING: The "null passwords" option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
	   deadtime = 15
	   disable spoolss = Yes
	   dns proxy = No
	   dos charset = CP437
	   kernel change notify = No
	   lm announce = Yes
	   load printers = No
	   logging = file
	   map to guest = Bad User
	   max log size = 51200
	   max open files = 234677
	   netbios name = NAS
	   nsupdate command = /usr/local/bin/samba-nsupdate -g
	   null passwords = Yes
	   obey pam restrictions = Yes
	   panic action = /usr/local/libexec/samba/samba-backtrace
	   printcap name = /dev/null
	   security = USER
	   server min protocol = SMB2_02
	   server role = standalone server
	   server string = NAS Server
	   time server = Yes
	   idmap config *: range = 90000001-100000000
	   idmap config * : backend = tdb
	   acl allow execute always = Yes
	   create mask = 0666
	   directory mask = 0777
	   directory name cache size = 0
	   dos filemode = Yes
	   ea support = Yes
	   store dos attributes = Yes
	   strict locking = No
root@freenas[~]#
 

cerberus

Cadet
Joined
Jan 20, 2018
Messages
7
Solved the problem thanks to anodos, thank you x100
Code:
root@freenas[~]# chmod 0700 /var/db/samba4/private/msg.sock
 
Status
Not open for further replies.
Top