[Samba] "rec_read bad magic" error when printing... again
y.glodt at sitasoftware.lu
Tue Mar 6 09:02:35 GMT 2007
some of my servers regularly come up with this error, which makes printing
over samba impossible:
Mar 6 09:06:44 server smbd: [2007/03/06 09:06:44, 0]
Mar 6 09:06:44 server smbd:
tdb(/var/cache/samba/printing/printer.tdb): rec_read bad magic 0xd9fee666 at
Searching mailing lists, I just found the "solution" to stop samba, delete the
tdb file, and restart it.
I am in charge of 25 servers of this kind and would be happy for a
more "professional" solution to this... :-)
Is there any... ?
Otherwise I guess I will set up a cronjob to remove the file on a nightly
base... :-| Please tell me there is a better way :-)
More information about the samba