Your RPM database is probably stuck. This can occur if force killed rpm was with a force kill (kill -9 / skill -9 / killall -9) and the lock stat information was left behind. This lock information will limit what further processes can do to the rpm databases and needs to be cleared out by hand.

The files that hold lock stat information are stored in /var/lib/rpm/ as __db.*. It is generally considered relatively safe to clear by just removing them (rm -f) as they are automatically re-created. Clear them and run your rpm command again.

Keep in mind if this has been a situation on your box, any daily update routine you may have that uses RPM was likely not functioning as intended as a result of this and you should run an update on your machine to ensure you packages are current. On CentOS and Fedora machines this can be done with the command yum upgrade (yum -y upgrade to automate the process), and on RedHat ES machine you can use up2date upgrade.




----- Original Message ----- From: "Alberto Guzzetti" <alberto.guzze...@digital-instruments.com>
To: <qmailtoaster-list@qmailtoaster.com>
Sent: Thursday, October 08, 2009 12:40 PM
Subject: [qmailtoaster] Problem Updating qmail-toaster (version: 1.03-1.3.20)


Hi List,

I have some problem installing the latest qmail-toaster pack
(1.03.-1.3.20) below the problem, apart from the warning that aren't
such a problem.


Installing qmail-toaster-1.03-1.3.20.src.rpm
warning: user shubes does not exist - using root
warning: group shubes does not exist - using root
rpmdb: Lock table is out of available locker entries
rpmdb: Unknown locker ID: cbb
error: db4 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
  1:qmail-toaster          warning: user shubes does not exist - using
root%)
warning: group shubes does not exist - using root
########################################### [100%]
error: File not found by glob: /usr/src/redhat/RPMS/x86_64/qmail-pop3d*.rpm


any help?



--
Cordialmente,
-------------------------------------------------------------------
Alberto Guzzetti - R&D
Network Administrator
alberto.guzze...@digital-instruments.it

Digital Instruments S.r.l.
Via Parco degli Scout, 13 - 20091 Bresso (MI)
Tel: +39 02 66506250
Fax: +39 02 66506103
www.digital-instruments.it
-------------------------------------------------------------------

Le informazioni, i dati ed il contenuto della comunicazione che precede,
nonch i suoi eventuali allegati, hanno carattere strettamente
confidenziale o comunque non accessibile al pubblico, e sono destinati
esclusivamente al destinatario. La loro diffusione, divulgazione,
copiatura o utilizzo da parte di soggetti diversi da quest'ultimo
proibita ai sensi del D. Lgs. 196/2003 ("Testo Unico Privacy"). Il
contenuto della comunicazione che precede, nonch i suoi eventuali
allegati, possono inoltre essere tutelati dal segreto professionale, dal
diritto d'autore, da brevetto, da marchio registrato o da altro diritto
di privativa. La loro diffusione, divulgazione, copiatura o utilizzo da
parte di soggetti diversi dal titolare del diritto quindi proibita anche
ai sensi della normativa di legge in materia, nonch perseguibile
legalmente. Qualora la comunicazione che precede sia stata da Voi
ricevuta per errore, del quale ci scusiamo, Vi preghiamo di
comunicarcelo immediatamente e di cancellarla senza diffonderla,
riprodurla o utilizzarla in alcun modo. Grazie per la collaborazione.

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.


--------------------------------------------------------------------------------



Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 8.5.421 / Database dei virus: 270.14.7/2421 - Data di rilascio: 10/07/09 20:49:00



--------------------------------------------------------------------------------


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.

To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to