Jump to content

SMB in restart loop - Shares created from entire directory


butter
Go to solution Solved by JorgeB,

Recommended Posts

I'm at the end of my abilities to figure this out here. I think the issue is pretty simple, i just can't figure it out. 

 

The symptoms:

What looks like smb restarting constantly and crashing

My shares are now a list of ALL my movies folder. 

Aside from that bad filename (which isn't even there anymore) in the log

Seems like a weird linking issue - just can't diagnose it.

I've tried deleting all the shares from the usb. They just get repopulated.

 

Here is the syslog snip of the cycle 

 

Sep 28 12:01:44 unraid  avahi-daemon[8655]: avahi-daemon 0.8 exiting.
Sep 28 12:01:44 unraid root: Starting Avahi mDNS/DNS-SD Daemon:  /usr/sbin/avahi-daemon -D
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Found user 'avahi' (UID 61) and group 'avahi' (GID 214).
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Successfully dropped root privileges.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: avahi-daemon 0.8 starting up.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Successfully called chroot().
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Successfully dropped remaining capabilities.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Loading service file /services/sftp-ssh.service.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Loading service file /services/smb.service.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Loading service file /services/ssh.service.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface veth0d5e1bf.IPv6 with address fe80::7012:5aff:fe7f:727a.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface veth0d5e1bf.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface veth43af901.IPv6 with address fe80::7cbb:aff:fe8e:b22c.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface veth43af901.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface vethf31fd4e.IPv6 with address fe80::4c1c:e1ff:fea0:e2de.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface vethf31fd4e.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface veth8c153d0.IPv6 with address fe80::4853:13ff:feb3:514.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface veth8c153d0.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface vethe465c87.IPv6 with address fe80::5c5a:e8ff:fe34:bd2a.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface vethe465c87.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface veth53228a1.IPv6 with address fe80::3029:9ff:fef6:6285.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface veth53228a1.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface veth92d7161.IPv6 with address fe80::c0b4:f9ff:fe95:fa05.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface veth92d7161.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface veth2ff4ff8.IPv6 with address fe80::dc9f:63ff:feec:e350.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface veth2ff4ff8.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface br-a13d2a76d822.IPv4 with address 172.31.200.1.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface br-a13d2a76d822.IPv4 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface docker0.IPv6 with address fe80::42:1bff:fec7:d680.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface docker0.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface docker0.IPv4 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface br2.IPv4 with address 192.168.11.235.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface br2.IPv4 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface br0.IPv4 with address 192.168.11.245.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface br0.IPv4 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface lo.IPv6 with address ::1.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface lo.IPv6 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: New relevant interface lo.IPv4 for mDNS.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Network interface enumeration completed.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::7012:5aff:fe7f:727a on veth0d5e1bf.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::7cbb:aff:fe8e:b22c on veth43af901.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::4c1c:e1ff:fea0:e2de on vethf31fd4e.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::4853:13ff:feb3:514 on veth8c153d0.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::5c5a:e8ff:fe34:bd2a on vethe465c87.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::3029:9ff:fef6:6285 on veth53228a1.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::c0b4:f9ff:fe95:fa05 on veth92d7161.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::dc9f:63ff:feec:e350 on veth2ff4ff8.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for 172.31.200.1 on br-a13d2a76d822.IPv4.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for fe80::42:1bff:fec7:d680 on docker0.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for 172.17.0.1 on docker0.IPv4.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for 192.168.11.235 on br2.IPv4.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for 192.168.11.245 on br0.IPv4.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for ::1 on lo.*.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Registering new address record for 127.0.0.1 on lo.IPv4.
Sep 28 12:01:44 unraid  emhttpd: shcmd (252757): /etc/rc.d/rc.avahidnsconfd restart
Sep 28 12:01:44 unraid root: Stopping Avahi mDNS/DNS-SD DNS Server Configuration Daemon: stopped
Sep 28 12:01:44 unraid root: Starting Avahi mDNS/DNS-SD DNS Server Configuration Daemon:  /usr/sbin/avahi-dnsconfd -D
Sep 28 12:01:44 unraid  avahi-dnsconfd[8832]: Successfully connected to Avahi daemon.
Sep 28 12:01:44 unraid  avahi-daemon[8823]: Server startup complete. Host name is unraid.local. Local service cookie is 11822164.
Sep 28 12:01:45 unraid  emhttpd: error: put_config_idx, 610: Invalid argument (22): fopen: /boot/config/shares/John Wick Chapter 3 ? Parabellum (2019).cfg
Sep 28 12:01:45 unraid  avahi-daemon[8823]: Service "unraid" (/services/ssh.service) successfully established.
Sep 28 12:01:45 unraid  avahi-daemon[8823]: Service "unraid" (/services/smb.service) successfully established.
Sep 28 12:01:45 unraid  avahi-daemon[8823]: Service "unraid" (/services/sftp-ssh.service) successfully established.
Sep 28 12:01:45 unraid  emhttpd: Starting services...
Sep 28 12:01:46 unraid  emhttpd: shcmd (252775): /etc/rc.d/rc.samba restart
Sep 28 12:01:46 unraid  wsdd2[8798]: 'Terminated' signal received.
Sep 28 12:01:46 unraid  winbindd[8802]: [2022/09/28 12:01:46.048570,  0] ../../source3/winbindd/winbindd_dual.c:1957(winbindd_sig_term_handler)
Sep 28 12:01:46 unraid  winbindd[8804]: [2022/09/28 12:01:46.048564,  0] ../../source3/winbindd/winbindd_dual.c:1957(winbindd_sig_term_handler)
Sep 28 12:01:46 unraid  winbindd[8804]:   Got sig[15] terminate (is_parent=0)
Sep 28 12:01:46 unraid  winbindd[8802]:   Got sig[15] terminate (is_parent=1)
Sep 28 12:01:46 unraid  wsdd2[8798]: terminating.
Sep 28 12:01:48 unraid root: Starting Samba:  /usr/sbin/smbd -D
Sep 28 12:01:48 unraid  smbd[8954]: [2022/09/28 12:01:48.227660,  0] ../../source3/smbd/server.c:1741(main)
Sep 28 12:01:48 unraid  smbd[8954]:   smbd version 4.17.0 started.
Sep 28 12:01:48 unraid  smbd[8954]:   Copyright Andrew Tridgell and the Samba Team 1992-2022
Sep 28 12:01:48 unraid root:                  /usr/sbin/wsdd2 -d 
Sep 28 12:01:48 unraid  wsdd2[8972]: starting.
Sep 28 12:01:48 unraid root:                  /usr/sbin/winbindd -D
Sep 28 12:01:48 unraid  winbindd[8973]: [2022/09/28 12:01:48.367223,  0] ../../source3/winbindd/winbindd.c:1440(main)
Sep 28 12:01:48 unraid  winbindd[8973]:   winbindd version 4.17.0 started.
Sep 28 12:01:48 unraid  winbindd[8973]:   Copyright Andrew Tridgell and the Samba Team 1992-2022
Sep 28 12:01:48 unraid  winbindd[8975]: [2022/09/28 12:01:48.374223,  0] ../../source3/winbindd/winbindd_cache.c:3116(initialize_winbindd_cache)
Sep 28 12:01:48 unraid  winbindd[8975]:   initialize_winbindd_cache: clearing cache and re-creating with version number 2
Sep 28 12:01:48 unraid  emhttpd: shcmd (252780): /etc/rc.d/rc.avahidaemon restart
Sep 28 12:01:48 unraid root: Stopping Avahi mDNS/DNS-SD Daemon: stopped
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Got SIGTERM, quitting.
Sep 28 12:01:48 unraid  avahi-dnsconfd[8832]: read(): EOF
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface veth0d5e1bf.IPv6 with address fe80::7012:5aff:fe7f:727a.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface veth43af901.IPv6 with address fe80::7cbb:aff:fe8e:b22c.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface vethf31fd4e.IPv6 with address fe80::4c1c:e1ff:fea0:e2de.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface veth8c153d0.IPv6 with address fe80::4853:13ff:feb3:514.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface vethe465c87.IPv6 with address fe80::5c5a:e8ff:fe34:bd2a.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface veth53228a1.IPv6 with address fe80::3029:9ff:fef6:6285.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface veth92d7161.IPv6 with address fe80::c0b4:f9ff:fe95:fa05.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface veth2ff4ff8.IPv6 with address fe80::dc9f:63ff:feec:e350.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface br-a13d2a76d822.IPv4 with address 172.31.200.1.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface docker0.IPv6 with address fe80::42:1bff:fec7:d680.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface br2.IPv4 with address 192.168.11.235.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface br0.IPv4 with address 192.168.11.245.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface lo.IPv6 with address ::1.
Sep 28 12:01:48 unraid  avahi-daemon[8823]: Leaving mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.

 

Link to comment
7 minutes ago, JorgeB said:

Shares are just all top level folders, are the movies under /mnt/user?
 
You should also post the diagnostics.
 

Bizarrely, yes.  LS'ing /mnt/user is all the real shares and what should be content of the Movies directory. I can see the files correctly by ls on the /mnt/diskX/Media/Movies. That's where I'm saying the linking is at issue. the files are in the correct directory, just that the link to the user folder is wacky

unraid-diagnostics-20220930-0942.zip

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...