Hi,
I am having trouble with our FreeNAS server. This morning I was getting errors, after what I suspect was a power outtage.
I noticed that SMB was not started. The service would not start. I deleted all of the shares and tried again, but no matter what I do I get the following errors:
Feb 25 12:16:56 FileServer root: /usr/local/etc/rc.d/samba_server: WARNING: failed to start nmbd
Feb 25 12:16:49 FileServer root: /usr/local/etc/rc.d/samba_server: WARNING: failed to start smbd
Feb 25 12:16:49 FileServer root: /usr/local/etc/rc.d/samba_server: WARNING: failed to start winbindd
I have verified the Install and it was fine.
When I try restart Samba via Putty CLI I get:
Error: unable to open database "/data/freenas-v1.db": unable to open database file
Error: unable to open database "/data/freenas-v1.db": unable to open database file
override rw------- root/wheel for /var/tmp/rc.conf.freenas? (y/n [n])
When I run it from within Shell with service samba_server onerestart I get:
Performing sanity check on Samba configuration: OK
winbindd not running? (check /var/run/samba4/winbindd.pid).
smbd not running? (check /var/run/samba4/smbd.pid).
nmbd not running? (check /var/run/samba4/nmbd.pid).
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
Is this simply a permission issue? And if so is there anyway to fix it? Thanks!
I am having trouble with our FreeNAS server. This morning I was getting errors, after what I suspect was a power outtage.
I noticed that SMB was not started. The service would not start. I deleted all of the shares and tried again, but no matter what I do I get the following errors:
Feb 25 12:16:56 FileServer root: /usr/local/etc/rc.d/samba_server: WARNING: failed to start nmbd
Feb 25 12:16:49 FileServer root: /usr/local/etc/rc.d/samba_server: WARNING: failed to start smbd
Feb 25 12:16:49 FileServer root: /usr/local/etc/rc.d/samba_server: WARNING: failed to start winbindd
I have verified the Install and it was fine.
When I try restart Samba via Putty CLI I get:
Error: unable to open database "/data/freenas-v1.db": unable to open database file
Error: unable to open database "/data/freenas-v1.db": unable to open database file
override rw------- root/wheel for /var/tmp/rc.conf.freenas? (y/n [n])
When I run it from within Shell with service samba_server onerestart I get:
Performing sanity check on Samba configuration: OK
winbindd not running? (check /var/run/samba4/winbindd.pid).
smbd not running? (check /var/run/samba4/smbd.pid).
nmbd not running? (check /var/run/samba4/nmbd.pid).
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
Is this simply a permission issue? And if so is there anyway to fix it? Thanks!
Last edited: