SMB service failed to start. HELP!

robbhimself

Dabbler
Joined
Feb 19, 2019
Messages
15
SMB will not start. Running 11.2 stable.

SMB worked fine on my first install but I screwed up permissions so bad somehow Freenas wouldnt even start so I reinstalled and reimported my pool.

I've reinstalled twice now with the same result.

Vanilla install smb toggles on. I reimport my pool and add a smb share, it loads for about 30 secs and says "call timeout" real small in the corner. After that SMB will not start. Even if i delete the smb share it still wont start.

I dont get it, im getting very frustrated.

Debug attached.

Edit: updated to 11.2-U2 issue persists
 

Attachments

  • debug-gnarkill-20190219134624.tgz
    380.3 KB · Views: 576
Last edited:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
SMB will not start. Running 11.2 stable.

SMB worked fine on my first install but I screwed up permissions so bad somehow Freenas wouldnt even start so I reinstalled and reimported my pool.

I've reinstalled twice now with the same result.

Vanilla install smb toggles on. I reimport my pool and add a smb share, it loads for about 30 secs and says "call timeout" real small in the corner. After that SMB will not start. Even if i delete the smb share it still won't start.

I don't get it, im getting very frustrated.

Debug attached.

Edit: updated to 11.2-U2 issue persists

Can you PM me your configuration? System->general->save config. I don't need the "secret seed".
 

robbhimself

Dabbler
Joined
Feb 19, 2019
Messages
15

Attachments

  • {97E9B0DC-A16C-43B3-9D78-98230F96940C}.png
    {97E9B0DC-A16C-43B3-9D78-98230F96940C}.png
    23.6 KB · Views: 1,894

robbhimself

Dabbler
Joined
Feb 19, 2019
Messages
15
im convinced theres some permission issues going on causing all kinds of problems.
 

robbhimself

Dabbler
Joined
Feb 19, 2019
Messages
15
Post output of
Code:
getfacl /var/db/samba4
getfacl /var/db/samba4/private
getfacl /var/db/samba4/private/msg.sock

well thats not right....this is why I reinstalled before..
 

Attachments

  • {A3CC9877-40DF-4B1D-B4CE-272BA9D4DC0E}.png
    {A3CC9877-40DF-4B1D-B4CE-272BA9D4DC0E}.png
    40.5 KB · Views: 1,846

robbhimself

Dabbler
Joined
Feb 19, 2019
Messages
15
chown -R root:wheel /var/db/samba4
seems like its not taking affect

What jails/plugins are you using? Have you mounted any storage inside them?
im running a jail for sabnzbd and a jail/plugin for plex and ive set up mounts in both just fine. although in my sabnzbd mounts i would start having write issues to the disk if i tried to add a smb share and id have to re-chown the mount points

I setup permissions for sabnzbd and plex like this
Code:
service sabnzbd onestop
chown -R mediauser:mediauser /usr/local/sabnzbd
sysrc 'sabnzbd_user=mediauser'
chown -R mediauser:mediauser /usr/local/share/sabnzbdplus
chown -R mediauser:mediauser /var/run/sabnzbd
service sabnzbd start


also not sure if related or not, i have an nfs share mounted as root user on windows 10 and i cant open anything or write but i can view the files
 

Attachments

  • {40D09C8B-26F4-4494-A15D-29C4C392C023}.png
    {40D09C8B-26F4-4494-A15D-29C4C392C023}.png
    25.2 KB · Views: 1,127
  • {E561E718-705F-41C7-BFB1-DA07CC4BC0E9}.png
    {E561E718-705F-41C7-BFB1-DA07CC4BC0E9}.png
    18.2 KB · Views: 770
  • {82D4106C-C4C3-4102-BD66-0987059A4D0D}.png
    {82D4106C-C4C3-4102-BD66-0987059A4D0D}.png
    17.2 KB · Views: 790
  • {E145AA3B-73D7-4834-83D8-7A668857B984}.png
    {E145AA3B-73D7-4834-83D8-7A668857B984}.png
    48.6 KB · Views: 1,028
Last edited:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
Postmortem:
Issue was related to permissions on /var/db/samba4. Since that path is a symlink to /mnt/<pool>/.system/samba4, it was most likely affected by a permissions reset on the parent zpool. We do have some safeguards in place to prevent this from happening, but I will investigate if we need more.
 

Holt Andrei Tiberiu

Contributor
Joined
Jan 13, 2016
Messages
129
Hello, same problem, fresh install of 11.3-U1

When i try to join the domain, it failes.

the /var/db/samba4 folder does not exist at all

any help?

server has fix IP.
i have mad a DNS entry on the domain PDC, and reverse dns entry
I can ping the PDC from freenas, and can ping the freenas from PDC

There is no time diffrence betwene the Freenas and PDC
 

ykhodo

Explorer
Joined
Oct 19, 2017
Messages
52
Hello, same problem, fresh install of 11.3-U1

When i try to join the domain, it failes.

the /var/db/samba4 folder does not exist at all

any help?

server has fix IP.
i have mad a DNS entry on the domain PDC, and reverse dns entry
I can ping the PDC from freenas, and can ping the freenas from PDC

There is no time diffrence betwene the Freenas and PDC
same here
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,545
/var/db/samba4/ doesn't exist in 11.3. There is a separate thread about common problems with AD in 11.3-U1 and steps to preview fixes scheduled for U2.
 
Top