eddybrown Posted July 8, 2011 Share Posted July 8, 2011 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 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.