Koozali.org: home of the SME Server

Printing fails after power failure

Graeme Fleming

Printing fails after power failure
« on: April 19, 2003, 08:16:52 PM »
Hi all

I recently had a situation at a client with an SME box used as a print server.

Due to some storms and lack of UPS the box dropped out a few times and we found on restart that printing now failed.

After a bit of sleuthing and digging through log files the culprit turned out to be a corrupted:
                            printing.tdb (located in /var/cache/samba)

Deleting this file allows the printing to function; note that deleting and recreating the printers doesn't fix it and that a test print from the SME box works at all times.  It seems that only SMB printing that fails.

I figure that this TDB (Temporary Database??) file must cache the SMB print stream.

What would be the best way to maintain this file??
a) a restart that would delete it?
b) a cron job to delete the file every so often?
c) some sort of integrity check?
d) ???

Suggestions and solutions welcome

Ray Mitchell

Re: Printing fails after power failure
« Reply #1 on: April 20, 2003, 04:58:23 PM »
Get a UPS

Regards
Ray

jason

Re: Printing fails after power failure
« Reply #2 on: July 09, 2003, 02:04:52 PM »
I am also having this problem after a restart of the server. Question 1 how do i delete the printing.tdb file and two will it cause any other problems. Do i need to restart after i delete the file