Networking Forums

Networking Forums > Computer Networking > Linux Networking > problem with Samba (and solution) rec_read bad magic 0xd9fee666

Reply
Thread Tools Display Modes

problem with Samba (and solution) rec_read bad magic 0xd9fee666

 
 
Jimmy the Geek
Guest
Posts: n/a

 
      07-15-2003, 12:45 AM
I did not see any solutions on google for this problem, though there
were a couple of pages of requests for help.

Symptom - some connection difficulty. In my case, "access denied"
when trying to print from a windows box to a Samba server running
CUPS.

/var/log/samba/(hostname).smbd shows the following line
[2003/07/14 13:24:37, 0] tdb/tdbutil.c:tdb_log(531)
tdb(/var/cache/samba/printing.tdb): rec_read bad magic 0xd9fee666 at
offset=(some offset number)

Note that there are similar log entries where the problem was with
something other than printing. The "bad magic" number is the same,
though the implicated file is /var/cache/samba/connections.tdb or some
other .tdb file.

Here's the fix: delete or rename the file named in the log. In my
case I did this:

mv /var/cache/samba/printing.tdb /var/cache/samba/printing.tdb.old

then I did this:

/etc/init.d/smb restart

This creates a clean .tdb file.

I hope this helps if you run into a similar problem.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tiscali - an interesting solution to my problem Poldie Broadband 1 03-17-2006 06:35 PM
Connection problem and solution Euan Kerr Wireless Internet 0 01-21-2005 10:53 PM
Solution: WPA problem with wireless card VirtualGraeme Wireless Internet 2 12-19-2004 09:32 PM
Is Samba the solution for this ? Madhusudan Singh Linux Networking 0 05-26-2004 11:31 PM
SOLUTION for XP, 98 network problem! Carol Windows Networking 3 11-15-2003 10:55 PM



1 2 3 4 5 6 7 8 9 10 11