DavidNguyen Posted December 12, 2023 Share Posted December 12, 2023 I'm getting a constant looping of a service trying to start and failing. It's a strange thing that came out of the blue. I've attached the output of the syslogs, which repeats itself constantly. Dec 12 11:05:10 Unraid emhttpd: error: put_config_idx, 610: Invalid argument (22): fopen: /boot/config/shares/#012.cfg Dec 12 11:05:10 Unraid emhttpd: Starting services... Dec 12 11:05:10 Unraid emhttpd: shcmd (133422): /etc/rc.d/rc.samba restart Dec 12 11:05:10 Unraid wsdd2[20361]: 'Terminated' signal received. Dec 12 11:05:10 Unraid winbindd[20367]: [2023/12/12 11:05:10.776774, 0] ../../source3/winbindd/winbindd_dual.c:1950(winbindd_sig_term_handler) Dec 12 11:05:10 Unraid winbindd[20364]: [2023/12/12 11:05:10.776786, 0] ../../source3/winbindd/winbindd_dual.c:1950(winbindd_sig_term_handler) Dec 12 11:05:10 Unraid winbindd[20367]: Got sig[15] terminate (is_parent=0) Dec 12 11:05:10 Unraid winbindd[20364]: Got sig[15] terminate (is_parent=1) Dec 12 11:05:10 Unraid wsdd2[20361]: terminating. Dec 12 11:05:11 Unraid avahi-daemon[20406]: Service "Unraid" (/services/ssh.service) successfully established. Dec 12 11:05:11 Unraid avahi-daemon[20406]: Service "Unraid" (/services/smb.service) successfully established. Dec 12 11:05:11 Unraid avahi-daemon[20406]: Service "Unraid" (/services/sftp-ssh.service) successfully established. Dec 12 11:05:12 Unraid root: Starting Samba: /usr/sbin/smbd -D Dec 12 11:05:12 Unraid smbd[20564]: [2023/12/12 11:05:12.992838, 0] ../../source3/smbd/server.c:1741(main) Dec 12 11:05:12 Unraid smbd[20564]: smbd version 4.17.12 started. Dec 12 11:05:12 Unraid smbd[20564]: Copyright Andrew Tridgell and the Samba Team 1992-2022 Dec 12 11:05:12 Unraid root: /usr/sbin/wsdd2 -d -4 Dec 12 11:05:13 Unraid root: /usr/sbin/winbindd -D Dec 12 11:05:13 Unraid wsdd2[20578]: starting. Dec 12 11:05:13 Unraid winbindd[20579]: [2023/12/12 11:05:13.108034, 0] ../../source3/winbindd/winbindd.c:1440(main) Dec 12 11:05:13 Unraid winbindd[20579]: winbindd version 4.17.12 started. Dec 12 11:05:13 Unraid winbindd[20579]: Copyright Andrew Tridgell and the Samba Team 1992-2022 Dec 12 11:05:13 Unraid winbindd[20581]: [2023/12/12 11:05:13.115473, 0] ../../source3/winbindd/winbindd_cache.c:3117(initialize_winbindd_cache) Dec 12 11:05:13 Unraid winbindd[20581]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 Dec 12 11:05:13 Unraid emhttpd: shcmd (133427): /etc/rc.d/rc.avahidaemon restart Dec 12 11:05:13 Unraid root: Stopping Avahi mDNS/DNS-SD Daemon: stopped Dec 12 11:05:13 Unraid avahi-daemon[20406]: Got SIGTERM, quitting. Dec 12 11:05:13 Unraid avahi-dnsconfd[20415]: read(): EOF Dec 12 11:05:13 Unraid avahi-daemon[20406]: Leaving mDNS multicast group on interface br0.IPv4 with address 10.15.86.130. Dec 12 11:05:13 Unraid avahi-daemon[20406]: Leaving mDNS multicast group on interface eth1.IPv4 with address 192.168.1.130. Dec 12 11:05:13 Unraid avahi-daemon[20406]: avahi-daemon 0.8 exiting. Dec 12 11:05:13 Unraid root: Starting Avahi mDNS/DNS-SD Daemon: /usr/sbin/avahi-daemon -D Dec 12 11:05:13 Unraid avahi-daemon[20629]: Found user 'avahi' (UID 61) and group 'avahi' (GID 214). Dec 12 11:05:13 Unraid avahi-daemon[20629]: Successfully dropped root privileges. Dec 12 11:05:13 Unraid avahi-daemon[20629]: avahi-daemon 0.8 starting up. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Successfully called chroot(). Dec 12 11:05:13 Unraid avahi-daemon[20629]: Successfully dropped remaining capabilities. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Loading service file /services/sftp-ssh.service. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Loading service file /services/smb.service. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Loading service file /services/ssh.service. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Joining mDNS multicast group on interface br0.IPv4 with address 10.10.10.130. Dec 12 11:05:13 Unraid avahi-daemon[20629]: New relevant interface br0.IPv4 for mDNS. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Joining mDNS multicast group on interface eth1.IPv4 with address 192.168.1.130. Dec 12 11:05:13 Unraid avahi-daemon[20629]: New relevant interface eth1.IPv4 for mDNS. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Network interface enumeration completed. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Registering new address record for 10.10.10.130 on br0.IPv4. Dec 12 11:05:13 Unraid avahi-daemon[20629]: Registering new address record for 192.168.1.130 on eth1.IPv4. Dec 12 11:05:13 Unraid emhttpd: shcmd (133428): /etc/rc.d/rc.avahidnsconfd restart Dec 12 11:05:13 Unraid root: Stopping Avahi mDNS/DNS-SD DNS Server Configuration Daemon: stopped Dec 12 11:05:13 Unraid root: Starting Avahi mDNS/DNS-SD DNS Server Configuration Daemon: /usr/sbin/avahi-dnsconfd -D Dec 12 11:05:13 Unraid avahi-dnsconfd[20638]: Successfully connected to Avahi daemon. Dec 12 11:05:14 Unraid avahi-daemon[20629]: Server startup complete. Host name is Unraid.local. Local service cookie is 1081371307. Dec 12 11:05:14 Unraid emhttpd: error: put_config_idx, 610: Invalid argument (22): fopen: /boot/config/shares/#012.cfg I've also attached my diagnostics. unraid-diagnostics-20231213-0602.zip Quote Link to comment
JorgeB Posted December 12, 2023 Share Posted December 12, 2023 11 minutes ago, DavidNguyen said: /boot/config/shares/#012.cfg Delete this share cfg file, it's invalid, probably the # in the name Quote Link to comment
DavidNguyen Posted December 13, 2023 Author Share Posted December 13, 2023 21 hours ago, JorgeB said: Delete this share cfg file, it's invalid, probably the # in the name No such file exists. There is a share with no name on the webUI that cannot be deleted, can't clear the files in Krusader to delete it manually. Quote Link to comment
JorgeB Posted December 13, 2023 Share Posted December 13, 2023 16 minutes ago, DavidNguyen said: No such file exists. post the output of: ls -la /boot/config/shares Quote Link to comment
itimpi Posted December 13, 2023 Share Posted December 13, 2023 I suspect that the #012 mentioned earlier is actually a newline character. Quote Link to comment
DavidNguyen Posted December 14, 2023 Author Share Posted December 14, 2023 9 hours ago, JorgeB said: post the output of: ls -la /boot/config/shares total 128 drwx------ 2 root root 8192 Dec 13 18:46 ./ drwx------ 11 root root 8192 Dec 13 18:47 ../ -rw------- 1 root root 463 Dec 4 18:52 appdata.cfg -rw------- 1 root root 443 Nov 30 10:41 backup.cfg -rw------- 1 root root 450 Dec 4 18:52 books.cfg -rw------- 1 root root 443 Nov 30 10:41 courses.cfg -rw------- 1 root root 463 Nov 30 10:50 domains.cfg and ...etc didn't post all of my shares, but there is no #012.cfg the ghost folder in Krusader has the subfolder '.fontconfig' filled with random cache-7 files. Quote Link to comment
JorgeB Posted December 14, 2023 Share Posted December 14, 2023 Suggest you backup and recreate the flash drive, and make sure /config/shares only contain the expected share cfg files. Quote Link to comment
Solution DavidNguyen Posted December 27, 2023 Author Solution Share Posted December 27, 2023 Solved by simply shutting down the system, plugging the disk with the random folder into a linux machine, and deleting it via command line. Quote Link to comment
Recommended Posts
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.