SMB Won't start-Reinstalled still cant get it

bryanpwatson

Dabbler
Joined
Apr 6, 2017
Messages
10
Hello,

Any help is much appreciated, I have a FreeNas setup that has worked flawlessly for a couple years. I don't do nightlies only stable version upgrades. My system for the past week has not allowed SMB to start at all. I have tried reinstalling FreeNas completely with no luck. Also when I try to start SMB in shell it says:

samba_service does not exist in /etc/rc.d or the local startup
directories (/etc/ix/rc.d /usr/local/etc/rc.d), or is not executable
 

anodos

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

Any help is much appreciated, I have a FreeNas setup that has worked flawlessly for a couple years. I don't do nightlies only stable version upgrades. My system for the past week has not allowed SMB to start at all. I have tried reinstalling FreeNas completely with no luck. Also when I try to start SMB in shell it says:

samba_service does not exist in /etc/rc.d or the local startup
directories (/etc/ix/rc.d /usr/local/etc/rc.d), or is not executable
Try the following:
chmod -R 750 /var/db/samba4/
chmod -R 700 /var/db/samba4/private
then service samba_server restart
 

bryanpwatson

Dabbler
Joined
Apr 6, 2017
Messages
10
Try the following:
chmod -R 750 /var/db/samba4/
chmod -R 700 /var/db/samba4/private
then service samba_server restart
1548094724824.png
 

bryanpwatson

Dabbler
Joined
Apr 6, 2017
Messages
10
Send me the output of 'sh -x /usr/local/etc/rc.d/samba_server onerestart'
how can i get this info over its alot to print screen
 

bryanpwatson

Dabbler
Joined
Apr 6, 2017
Messages
10
saved as a PDF
 

Attachments

  • FreenNAS.pdf
    66.7 KB · Views: 340

bryanpwatson

Dabbler
Joined
Apr 6, 2017
Messages
10
so just an update I can access this from a NFS share but unfortunately it doesnt play nicely with the use of the server
 

bryanpwatson

Dabbler
Joined
Apr 6, 2017
Messages
10
anyone there?
 

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
I have the same issue as the OP here ... in which within:

root@freenas[/usr/local/etc/rc.d]# service samba_service start
samba_service does not exist in /etc/rc.d or the local startup directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable.

Since this seems common -- perhaps we could post the results here for others ... the issues are literally identical; no point concealing the solution.
Any help with this issue would be greatly appreciated.
And lets me get back to my OTHER FreeNAS tech. problems ... :smile:



Ha! And this community criticized my usage of NFS: "NFS sucks - you should use CIFS/SMB." Cost 10 hours trying to make a protocol not present work. :)
Two years in to using FreeNAS & have yet another hurdle before I can resume figuring out why I get 140MB/s - 250MB via 8x 10TB 7200rpm SAS via 10GbE
Before I got about 800MB/s with this array in about an hour -- with a dedicated RAID controller
Granted: networking nor Linux are my fortés. But it was minimal work before. HOPEFULLY, Hopefully upon solving this I get ~450MB/s .. (soon).
 
Last edited:

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
PS - I've SSH'd in and ensured the permissions were set to 700 in:

IP > var > db > system > samba4 > private > msg.sock

.... however, if you have this problem and have yet to try that solution you may want to do so; perhaps easiest done via a GUI interface ...
 
Last edited:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I have the same issue as the OP here ... in which within:

root@freenas[/usr/local/etc/rc.d]# service samba_service start
samba_service does not exist in /etc/rc.d or the local startup directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable.

Since this seems common -- perhaps we could post the results here for others ... the issues are literally identical; no point concealing the solution.
It's samba_server, not samba_service.
 

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
Ah - okay ... (didn't see the link when replying from my phone).

Thx
 
Last edited:
Top