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.

[Solved] Samba is stopped, Shared drives will not be visible on the LAN

Featured Replies

Hi all,

 

This is the first problem I've had that I've not been able to solve by looking in the forums... doh.

 

After a few reboots, I had a message come up in Unmenu saying that Samba is stopped and I can't access any of the network drives. A quick look on here led me to this thread:

 

http://lime-technology.com/forum/index.php?topic=10713.0

 

However I'm running v5.0beta7 and I've gone through the steps suggested in that thread and unfortunately got nowhere.

 

Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Can't find include file /boot/config/smb-extra.conf
Processing section "[flash]"
Processing section "[disk1]"
Processing section "[3d Stuff]"
Processing section "[Films]"
Processing section "[OtherTV]"
Processing section "[TV]"
Processing section "[Tutorials]"
Processing section "[downloads]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
       workgroup = MSHOME
       server string = Media server
       map to guest = Bad User
       null passwords = Yes
       passdb backend = smbpasswd
       syslog = 0
       syslog only = Yes
       smb ports = 139
       unix extensions = No
       load printers = No
       printcap name = /dev/null
       disable spoolss = Yes
       show add printer wizard = No
       create mask = 0770
       directory mask = 0770
       use sendfile = Yes
       map archive = No
       wide links = Yes

[flash]
       comment = Flash share
       path = /boot
       read only = No
       create mask = 0777
       directory mask = 0777
       guest ok = Yes
       browseable = No

[disk1]
       comment = Disk share
       path = /mnt/disk1
       read only = No
       guest ok = Yes
       browseable = No

[3d Stuff]
       comment = 3d models
       path = /mnt/user/3d Stuff
       read only = No
       guest ok = Yes

[Films]
       comment = Films
       path = /mnt/user/Films
       read only = No
       guest ok = Yes

[OtherTV]
       comment = Standup & Documentaries
       path = /mnt/user/OtherTV
       read only = No
       guest ok = Yes

[TV]
       comment = TV Shows
       path = /mnt/user/TV
       read only = No
       guest ok = Yes

[Tutorials]
       comment = Tutorials
       path = /mnt/user/Tutorials
       read only = No
       guest ok = Yes

[downloads]
       comment = Downloads
       path = /mnt/user/downloads
       read only = No
       guest ok = Yes

 

I tried setting the smbpasswd to none but that failed

 

tdb(/etc/samba/private/secrets.tdb): tdb_oob len 16408 beyond eof at 16384
tdb(/etc/samba/private/secrets.tdb): tdb_transaction_recover: failed to read rec                    overy record
Failed to open /etc/samba/private/secrets.tdb
tdb(/etc/samba/private/secrets.tdb): tdb_oob len 16408 beyond eof at 16384
tdb(/etc/samba/private/secrets.tdb): tdb_transaction_recover: failed to read rec                    overy record
Failed to open /etc/samba/private/secrets.tdb
PANIC (pid 6519): could not open secrets db
BACKTRACE: 6 stack frames:
#0 smbpasswd(log_stack_trace+0x2d) [0xb745645d]
#1 smbpasswd(smb_panic+0x2d) [0xb745657d]
#2 smbpasswd(sid_check_is_domain+0) [0xb7356f70]
#3 smbpasswd(main+0x53e) [0xb72e6c6e]
#4 /lib/libc.so.6(__libc_start_main+0xe6) [0xb6f5fb86]
#5 smbpasswd(+0x84251) [0xb72e6251]
Can not dump core: corepath not set up

 

So I thought I may have a corrupt secrets.tdb, so I tried moving it to back it up (and deleting after) and it would say no such file or directory, but when using the ls command the file is clearly there.

 

My linux skills aren't great so go easy on me :)

 

EDIT: Attached syslog

 

EDIT2: I solved this by copying my secrets.tbd from my last backup of the flash drive. There was an 8kb difference so it was clearly corrupt.

syslog-2011-07-08.txt

Archived

This topic is now archived and is closed to further replies.

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.