Samba will not start

NASOD6572

Dabbler
Joined
Sep 12, 2019
Messages
20
I had FreeNAS working well with some other hardware but recently changed hardware and upgraded to 11.2. I fired up the machine and everything moved over but it was buggy. Then something happened with my permissions, and Samba stopped working. I decided to go for a fresh install of 11.2 and found Samba still will not start. I tried to roll back to 11.2 u7 and Samba still will not work. I found it will start and run if I remove the volume but as soon as I import the volume again, it stops working and will not start.

Does anyone have any ideas?

I am very inexperienced with most of this.

Help Please!

Intel(R) Xeon(R) CPU E5-1650 v2 # 3.50GHZ
FreeNAS 11.1-U7

Thank you
 
Last edited:

NASOD6572

Dabbler
Joined
Sep 12, 2019
Messages
20
Thank you for the reply!

I cannot capture all of the output because the response is larger than the shell window. Here is what I got though:



Shell

doing parameter panic action = /usr/local/libexec/samba/samba-backtrace
doing parameter nsupdate command = /usr/local/bin/samba-nsupdate -g
doing parameter server string = FreeNAS Server
doing parameter ea support = yes
doing parameter store dos attributes = yes
doing parameter lm announce = yes
doing parameter hostname lookups = yes
doing parameter time server = yes
doing parameter acl allow execute always = true
doing parameter dos filemode = yes
doing parameter multicast dns register = yes
doing parameter domain logons = no
doing parameter local master = yes
doing parameter idmap config *: backend = tdb
doing parameter idmap config *: range = 90000001-100000000
doing parameter server role = standalone
doing parameter netbios name = FREENAS
doing parameter workgroup = WORKGROUP
doing parameter security = user
doing parameter create mask = 0666
doing parameter directory mask = 0777
doing parameter client ntlmv2 auth = yes
doing parameter dos charset = CP437
doing parameter unix charset = UTF-8
doing parameter log level = 1
Processing section "[Zue Share]"
doing parameter path = "/mnt/Groppoli"
doing parameter printable = no
doing parameter veto files = /.snapshot/.windows/.mac/.zfs/
doing parameter writeable = yes
doing parameter browseable = yes
doing parameter access based share enum = no
doing parameter vfs objects = zfs_space zfsacl streams_xattr
doing parameter hide dot files = yes
doing parameter guest ok = no
doing parameter nfs4:mode = special
doing parameter nfs4:acedup = merge
doing parameter nfs4:chown = true
doing parameter zfsacl:acesort = dontcare
pm_process() returned Yes
adding IPC service
added interface em0 ip=192.168.1.156 bcast=192.168.1.255 netmask=255.255.255.0
loaded services
Netbios name list:-
my_netbios_names[0]="FREENAS"
INFO: Profiling support unavailable in this build.
fcntl_lock: fcntl lock gave errno 35 (Resource temporarily unavailable)
fcntl_lock: lock failed at offset 0 count 1 op 12 type 1 (Resource temporarily unavailable)
ERROR: smbd is already running. File /var/run/samba4/smbd.pid exists and process id 34248 is running.
[root@freenas ~]#



 

NASOD6572

Dabbler
Joined
Sep 12, 2019
Messages
20
I detached the volume and rebooted my FreeNAS and now the SMB service started. But when I import the volume again, the service stops as before and will not start. Permissions?
 

NASOD6572

Dabbler
Joined
Sep 12, 2019
Messages
20
You can run service samba_server onerestart and see if there's a particular daemon that isn't working.


[root@freenas ~]# service samba_server onerestart
Performing sanity check on Samba configuration: OK
winbindd not running? (check /var/run/samba4/winbindd.pid).
Stopping smbd.
Waiting for PIDS: 5001.
Stopping nmbd.
Waiting for PIDS: 4996.
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
Starting winbindd.
[root@freenas ~]#
 

NASOD6572

Dabbler
Joined
Sep 12, 2019
Messages
20
I also got this permissions issue when I verified my install.
 

Attachments

  • Verity Install.JPG
    Verity Install.JPG
    34.4 KB · Views: 196

NASOD6572

Dabbler
Joined
Sep 12, 2019
Messages
20
Here is the output:

[root@freenas ~]# getfacl /
# file: /
# owner: root
# group: wheel
owner@:rwxp--aARWcCos:-------:allow
group@:r-x---a-R-c--s:-------:allow
everyone@:r-x---a-R-c--s:-------:allow
[root@freenas ~]#
 
Top