Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

After replacing the USB, I can no longer connect to the SMB share.

Featured Replies

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

Solved by Frank1940

  • Community Expert
  • Solution

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.  

  • Author

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.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.