plenty_box Posted June 29 Share Posted June 29 On the main tab, I was notified that the USB was CORRUPT, so I replaced the USB. I burned UnraidOS on the new USB with a tool DL'd from the website and copied the config folder of the original USB. Everything is working fine since boot, only I can't access it via SMB, not from Windows 10 PC, not from iOS devices, etc. The network tab in Windows shows the Unraid server, but when I click on it, I get 0x800070035 . I have read and tried several posts on the forum about SMB (e.g. the following), but no luck. unraid-diagnostics-20240629-2040.zip Quote Link to comment
Solution Frank1940 Posted June 29 Solution Share Posted June 29 You have the same set of errors and Samba is not starting. Jun 29 04:29:56 Unraid smbd[1761]: smbd version 4.17.10 started. Jun 29 04:29:56 Unraid smbd[1761]: Copyright Andrew Tridgell and the Samba Team 1992-2022 Jun 29 04:29:56 Unraid smbd[1761]: [2024/06/29 04:29:56.253801, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Jun 29 04:29:56 Unraid smbd[1761]: tdb(/var/lib/samba/private/secrets.tdb): tdb_oob len 376856 beyond eof at 290816 Jun 29 04:29:56 Unraid smbd[1761]: [2024/06/29 04:29:56.253830, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Jun 29 04:29:56 Unraid smbd[1761]: tdb(/var/lib/samba/private/secrets.tdb): tdb_transaction_recover: failed to read recovery record Jun 29 04:29:56 Unraid smbd[1761]: [2024/06/29 04:29:56.253851, 0] ../../source3/passdb/secrets.c:67(secrets_init_path) Jun 29 04:29:56 Unraid smbd[1761]: Failed to open /var/lib/samba/private/secrets.tdb Jun 29 04:29:56 Unraid smbd[1762]: [2024/06/29 04:29:56.255517, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Jun 29 04:29:56 Unraid smbd[1762]: tdb(/var/lib/samba/private/secrets.tdb): tdb_oob len 376856 beyond eof at 290816 Jun 29 04:29:56 Unraid smbd[1762]: [2024/06/29 04:29:56.255575, 0] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log) Jun 29 04:29:56 Unraid smbd[1762]: tdb(/var/lib/samba/private/secrets.tdb): tdb_transaction_recover: failed to read recovery record Jun 29 04:29:56 Unraid smbd[1762]: [2024/06/29 04:29:56.255610, 0] ../../source3/passdb/secrets.c:67(secrets_init_path) Jun 29 04:29:56 Unraid smbd[1762]: Failed to open /var/lib/samba/private/secrets.tdb Jun 29 04:29:56 Unraid smbd[1762]: [2024/06/29 04:29:56.255627, 0] ../../lib/util/become_daemon.c:119(exit_daemon) Jun 29 04:29:56 Unraid smbd[1762]: exit_daemon: daemon failed to start: smbd can not open secrets.tdb, error code 13 Shutdown the server. Pull the boot drive and plug it into your PC. Then run chkdsk on the flash drive. While you have it in the PC, go to the /config folder and rename (or delete) all four of these files. (add .old as a suffix will accomplish this.) You will have to setup your root user password and the Share Access users again. Do a back up of your Flash Drive using these instructions: https://docs.unraid.net/unraid-os/manual/changing-the-flash-device/#back-up-your-usb-device-using-the-unraid-webgui This will have the benefit of verifying that these files can be read. 1 Quote Link to comment
plenty_box Posted July 1 Author Share Posted July 1 At first, I used Dynamix file manager (webGUI) to save these four files to a separate folder and then rebooted the system, but the SMB connection did not work. However, as advised, I unplugged the USB, deleted them, and rebooted again, and was able to connect via SMB without any problems. Thanks super much for your help. I deleted "passwd", "secrets.tdb", "shadow", "smbpasswd" for someone who will read this later. 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.