It does seem that your rpm database in the image got messed up.  When you
did the rebuild, did you try to remove your old rpm database files before
the rebuild?

cd /install/netboot/centos5.5/x86_64/compute/rootimg/var/lib/rpm

and rename/remove the __db.* files
Then you can try to rebuild directly (without having to change genimage):
   chroot /install/netboot/centos5.5/x86_64/compute/rootimg rpm --rebuilddb

You can try other chroot rpm cmds to see if your rpm database in the image
is now good.

If none of that works, and you get really desperate, would it be too
painful to remove the image (xCAT rmimage command), and run a clean
genimage from scratch?

Linda



From:   Lissa Valletta/Poughkeepsie/IBM@IBMUS
To:     xCAT Users Mailing list <[email protected]>
Cc:     [email protected]
Date:   09/20/2011 07:25 AM
Subject:        Re: [xcat-user] problem with rpmdb



What release of xCAT are you running?

Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:            Ben Langenberg <[email protected]>
To:              [email protected]
Date:            09/20/2011 06:08 AM
Subject:                 [xcat-user] problem with rpmdb



hi,

does anybody knows about trouble with rpmdb. When I try to rebuild my
systemimage with the perl genimage tool from xcat, I get rpmdb errors,
everytime at the same point:

rpmdb: page 26: illegal page type or format
rpmdb: PANIC: Invalid argument
rpmdb: /install/netboot/centos5.5/x86_64/compute/rootimg/var/lib/rpm/Filemd5s:

 pgin failed for page 26
rpmdb: PANIC: fatal region error detected; run recovery
rpmdb: PANIC: fatal region error detected; run recovery

The last message is repeated many times.. Tried to fix it with some rpm
--rebuilddb commands added to the genimage script..

has anybody any ideas?

cheers,
-- ben
--
Ben Langenberg
Wissenschaftliche und Kaufmännische Datenverarbeitung (WKDV)
Wissenschaftliches Rechnen&  Virtualisierung

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstraße 15 / 04318 Leipzig / Germany

[email protected] / http://www.ufz.de
Telefon +49 341 235 1925

Sitz der Gesellschaft: Leipzig
Registergericht: Amtsgericht Leipzig
Handelsregister Nr. B 4703
Vorsitzender des Aufsichtsrats: MinR Wilfried Kraus
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch
Administrativer Geschäftsführer: Dr. Andreas Schmidt
------------------------------------------------------------------------------


All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



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

All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to