CIFS Service Startup Failed

Status
Not open for further replies.

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
Hi,

I am having a fairly miserable experience with my FreeNAS installation of late! I am running the latest version of the OS and I am unable to start the CIFS service (This service cannot be started). I have not made any notable changes to my configuration and this was working at a previous date. Where can I look to see why the service is failing to start (/var/log/messages) doesn't show anything!

Thanks in advance!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Hi,

I am having a fairly miserable experience with my FreeNAS installation of late! I am running the latest version of the OS and I am unable to start the CIFS service (This service cannot be started). I have not made any notable changes to my configuration and this was working at a previous date. Where can I look to see why the service is failing to start (/var/log/messages) doesn't show anything!

Thanks in advance!
/var/log/samba4/log.smbd

You should also run the command "testparm". Sometimes FreeNAS begins to act oddly when the boot medium is on its way out, and so I wouldn't rule out the possibility that you need to reinstall FreeNAS on a fresh USB and restore a backed up config.

If you are totally at a loss about what to do, you can PM me a debug tarball (click 'system' -> 'advanced' -> 'save debug').
 

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
/var/log/samba4/log.smbd

You should also run the command "testparm". Sometimes FreeNAS begins to act oddly when the boot medium is on its way out, and so I wouldn't rule out the possibility that you need to reinstall FreeNAS on a fresh USB and restore a backed up config.

If you are totally at a loss about what to do, you can PM me a debug tarball (click 'system' -> 'advanced' -> 'save debug').

Thanks for the quick reply anodos,

So none of the files in that directory have been logged to since April (which is about the time that it broke and I haven't had a chance to look at since).

testparm output:
Code:
[root@roland /var/log/samba4]# testparm                                                                                            

Load smb config files from /usr/local/etc/smb4.conf                                                                                
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)                                                          
set_variable_helper(yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr): value is not boolean!                    
Error loading services. 


Not really sure this means a great deal without the service running?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Thanks for the quick reply anodos,

So none of the files in that directory have been logged to since April (which is about the time that it broke and I haven't had a chance to look at since).

testparm output:
Code:
[root@roland /var/log/samba4]# testparm                                                                                           

Load smb config files from /usr/local/etc/smb4.conf                                                                               
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)                                                         
set_variable_helper(yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr): value is not boolean!                   
Error loading services. 


Not really sure this means a great deal without the service running?
Post contents of /usr/local/etc/smb4.conf
 

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
Code:
[global]
server min protocol = SMB2
server max protocol = SMB2
interfaces = 127.0.0.1 192.168.1.60
bind interfaces only = yes
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 939170
logging = file
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = nobody
map to guest = Bad User
obey pam restrictions = yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
nsupdate command = /usr/local/bin/samba-nsupdate -g
server string = Roland
ea support = yes
store dos attributes = yes
lm announce = yes
hostname lookups = yes
time server = yes
acl allow execute always = true
dos filemode = yes
multicast dns register = yes
domain logons = no
local master = yes
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
server role = standalone
netbios name = ROLAND
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
create mask = 0666
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
veto files = /Thumbs.db/Temporary Items/.DS_Store/.AppleDB/.TemporaryItems/.Apashes/.fseventd/
delete veto files = yes
hide dot files = yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr


[Amy]
path = /mnt/Volume1/Private/Amy
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Backup]
path = /mnt/Volume1/Backup
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Media]
path = /mnt/Volume1/Media
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Peter]
path = /mnt/Volume1/Private/Peter
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare


[Public]
path = /mnt/Volume1/Public
printable = no
veto files = /.snapshot/.windows/.mac/.zfs/
writeable = yes
browseable = yes
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
hide dot files = yes
guest ok = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = true
zfsacl:acesort = dontcare
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Change
Code:
hide dot files = yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr
to
Code:
hide files = yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr


This should be an auxiliary parameter under "services" -> "cifs"
 

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
Change
Code:
hide dot files = yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr
to
Code:
hide files = yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr


This should be an auxiliary parameter under "services" -> "cifs"

Brilliant! Working again - thank you anodos!
 
Status
Not open for further replies.
Top