[Samba] <printername>.tdb error management...

L.P.H. van Belle belle at bazuin.nl
Thu Jun 27 08:28:04 UTC 2019


Hai marco, 

Hm, it looks like something is corrupting that tdb file. 
Even if you thing this is a rare problem, i suggest report this, because we really dont want tdb file to get corrupted. 

Few questions. 
What is the underlaying filesystem? 
Have you checked on for bad sectors on your disk ( in logs) 
Which drivers are you using for that Samsung ML-5010ND printer currently? 
.. how i know it printer name, google, that showed a message of last year ;-) 
And the output of: dpkg -l | grep tdb 

And for now that workaround it the only i know/would suggest. 

Greetz, 

Louis 



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Marco Gaiarin via samba
> Verzonden: woensdag 26 juni 2019 18:44
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] <printername>.tdb error management...
> 
> 
> Sometimes (rarely, very rarely) i spot a <printername>.tdb error that
> seems to prevent the communication between samba and CUPS.
> 
> In log i see:
> 
>  [2019/06/26 15:15:49.633876,  0] 
> ../source3/lib/util_tdb.c:316(tdb_log)
>    tdb(/var/cache/samba/printing/sml5010-2.tdb): tdb_rec_read 
> bad magic 0x25 at offset=26096
> 
> the only solution i've found, pretty drastic, is:
> 
>  systemctl stop smbd.service; sleep 2; rm 
> /var/cache/samba/printing/sml5010-2.tdb ; systemctl start smbd.service
> 
> 
> There's some better way to manage this? Thanks.
> 
> -- 
> dott. Marco Gaiarin				        GNUPG 
> Key ID: 240A3D66
>   Associazione ``La Nostra Famiglia''          
> http://www.lanostrafamiglia.it/
>   Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al 
> Tagliamento (PN)
>   marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   
> f +39-0434-842797
> 
> 		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
>       http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
> 	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list