CIFS Startup Issue

Status
Not open for further replies.

dr_sherman

Dabbler
Joined
Nov 23, 2013
Messages
29
Hi All,

I have been experiencing a issue since upgrading from 9.3 - 9.10, in a nutshell I cannot start the CIFS service. Here is the output from /var/log/messages:

Code:
Jul  4 15:55:53 roland notifier: set_variable_helper(yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr): value is
not boolean!                                                                                                                       
Jul  4 15:55:53 roland notifier: Can't load /usr/local/etc/smb4.conf - run testparm to debug it                                    
Jul  4 15:55:54 roland notifier: Unable to open /var/db/samba4/private/secrets.tdb: [Errno 2] No such file or directory            
Jul  4 15:55:54 roland generate_smb4_conf.py: [generate_smb4_conf:1474] Unable to open /var/db/samba4/private/secrets.tdb: [Errno 2]
No such file or directory                                                                                                         
Jul  4 15:55:54 roland generate_smb4_conf.py: [common.pipesubr:61] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'              
Jul  4 15:55:54 roland generate_smb4_conf.py: [common.pipesubr:61] Popen()ing: mount                                               
Jul  4 15:55:54 roland generate_smb4_conf.py: [common.pipesubr:61] Popen()ing: /usr/local/bin/net -d 0 getlocalsid                 
Jul  4 15:55:54 roland generate_smb4_conf.py: [common.pipesubr:61] Popen()ing: /usr/local/bin/net -d 0 setlocalsid S-1-5-21-39860836
02-3682627140-4208865784                                                                                                           
Jul  4 15:55:54 roland generate_smb4_conf.py: [generate_smb4_conf:135] Failed to setlocalsid with the following error: set_variable_
helper(yespleDouble/.bin/.AppleDesktop/Network Trash Folder/.Spotlight/.Tr): value is not boolean!                                 
Can't load /usr/local/etc/smb4.conf - run testparm to debug it                                                                     
Jul  4 15:55:54 roland notifier: Unable to set SID to S-1-5-21-3986083602-3682627140-4208865784                                    
Jul  4 15:55:54 roland notifier: Unable to open /var/db/samba4/private/secrets.tdb: [Errno 2] No such file or directory            
Jul  4 15:55:54 roland generate_smb4_conf.py: [generate_smb4_conf:1520] Unable to open /var/db/samba4/private/secrets.tdb: [Errno 2]
No such file or directory                                                                                                         
Jul  4 15:55:54 roland notifier: Performing sanity check on Samba configuration: FAILED   


I have had a look through the forum and although I can see others with CIFS issues I can't find a solution to this particular problem! Any help would be gratefully appreciated!

Thanks,
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Did you backup (to another computer or device) your configuration file before updating?
You might first try and import that backup .db file using the GUI.
Or if that doesn't work, try booting back into your old version and then
running the update again.
 
Status
Not open for further replies.
Top