rpm error 2 during ZCM server install on Linux

  • 7001054
  • 29-Jul-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

ERROR during install (from ZENworks install log with debugging enabled):
 
"Error installing 139.  RPM returned : 2"
"/bin/rpm:: OUT: rpmdb: page 609: illegal page type or format"
"/bin/rpm:: OUT: rpmdb: PANIC: Invalid argument"
"/bin/rpm:: OUT: error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery"
 
ERROR during rollback (from ZENworks install log with debugging enabled):
 
"An error occured during rollback
com.novell.zenworks.configure.ConfigureException: Unable to rollback RPM transaction.  RPM returned 255
 at com.novell.zenworks.configure.actions.RecordFilesConfigureAction.rollbackRPMTransaction(RecordFilesConfigureAction.java:202)
 at com.novell.zenworks.configure.actions.RecordFilesConfigureAction.rollback(RecordFilesConfigureAction.java:148)
 at com.novell.zenworks.configure.actions.RollbackConfigureAction.configure(RollbackConfigureAction.java:93)
 at com.novell.zenworks.configure.ZENworksConfigure.execConfigAction(ZENworksConfigure.java:1264)
 at com.novell.zenworks.configure.ZENworksConfigure.execConfigAction(ZENworksConfigure.java:1248)
 at com.novell.zenworks.install.customcode.configure.BaseZenConfigAction.install(BaseZenConfigAction.java:56)
 at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA8113)
 at ZeroGyc.run(DashoA8113"
 
 

Resolution

If YaST or rpm installs/uninstalls also generate similar errors for other non ZEN related rpms, check the integrity of the rpm database.
 
See man page for  rpm