This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UTM9 update to Version 9.005-15 failed

Dears,
      I have UTM9 version 9.004-34 , and recently it failed to be updated to 
Version 9.005-15, Kindly find the Live logs when I trigger the update from webadmin :

Live Log: Up2Date messages
Filter: Autoscroll
2013:04:03-17:12:47 asg auisys[5715]: 2. main:[:P]erform_work:1092() auisys.pl
2013:04:03-17:12:47 asg auisys[5715]: 3. main::auisys_prepare_and_work:554() auisys.pl
2013:04:03-17:12:47 asg auisys[5715]: 4. main::top-level:30() auisys.pl
2013:04:03-17:12:47 asg auisys[5715]: |=========================================================================
2013:04:03-17:12:47 asg auisys[5715]: id="371O" severity="error" sys="system" sub="up2date" name="Fatal: Up2Date package installation failed: An error occured during the RPM pre-installation test (1)" status="failed" action="install" code="1" package="ohelp9"
2013:04:03-17:12:47 asg auisys[5715]:
2013:04:03-17:12:47 asg auisys[5715]: 1. main::alf:68() auisys.pl
2013:04:03-17:12:47 asg auisys[5715]: 2. main:[:P]erform_work:1125() auisys.pl
2013:04:03-17:12:47 asg auisys[5715]: 3. main::auisys_prepare_and_work:554() auisys.pl
2013:04:03-17:12:47 asg auisys[5715]: 4. main::top-level:30() auisys.pl
2013:04:03-17:14:40 asg auisys[6123]: Starting Up2Date Package Installer
2013:04:03-17:14:40 asg auisys[6123]: Searching for available up2date packages for type 'man9'
2013:04:03-17:14:40 asg auisys[6123]: id="371D" severity="info" sys="system" sub="up2date" name="No up2date packages available for installation" status="failed" action="preinst_check" package="man9"
2013:04:03-17:14:46 asg auisys[6123]: Searching for available up2date packages for type 'clvbrowser'
2013:04:03-17:14:46 asg auisys[6123]: id="371D" severity="info" sys="system" sub="up2date" name="No up2date packages available for installation" status="failed" action="preinst_check" package="clvbrowser"
2013:04:03-17:14:51 asg auisys[6123]: Searching for available up2date packages for type 'ohelp9'
2013:04:03-17:14:51 asg auisys[6123]: Installing up2date package file '/var/up2date//ohelp9/u2d-ohelp9-9.28-48.patch.tgz.gpg'
2013:04:03-17:14:51 asg auisys[6123]: Verifying up2date package signature
2013:04:03-17:14:51 asg auisys[6123]: Unpacking installation instructions
2013:04:03-17:14:52 asg auisys[6123]: Unpacking up2date package container
2013:04:03-17:14:52 asg auisys[6123]: Running pre-installation checks
2013:04:03-17:14:53 asg auisys[6123]: Starting up2date package installation
2013:04:03-17:14:55 asg auisys[6123]: >=========================================================================
2013:04:03-17:14:55 asg auisys[6123]: Failed testing RPM installation (command: 'rpm --test -U /var/up2date//ohelp9-install/u2d-ohelp9-9.48/rpms/u2d-ohelp9-9.28-48.patch.rpm')
2013:04:03-17:14:55 asg auisys[6123]:
2013:04:03-17:14:55 asg auisys[6123]: 1. Internal::Systemstep::real_installation:2494() auisys.pl
2013:04:03-17:14:55 asg auisys[6123]: 2. main:[:P]erform_work:1092() auisys.pl
2013:04:03-17:14:55 asg auisys[6123]: 3. main::auisys_prepare_and_work:554() auisys.pl
2013:04:03-17:14:55 asg auisys[6123]: 4. main::top-level:30() auisys.pl
2013:04:03-17:14:55 asg auisys[6123]: |=========================================================================
2013:04:03-17:14:55 asg auisys[6123]: Error details:
2013:04:03-17:14:55 asg auisys[6123]: (stdout):$VAR1 = [];
2013:04:03-17:14:55 asg auisys[6123]: (stderr):$VAR1 = [
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: page 47: illegal page type or format
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: Invalid argument
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->get: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'error: db4 error(-30977) from db->cursor: DB_RUNRECOVERY: Fatal error, run database recovery
2013:04:03-17:14:55 asg auisys[6123]: ',
2013:04:03-17:14:55 asg auisys[6123]: 'rpmdb: PANIC: fatal region error detected; run recovery
2013:04:03-17:14:55 asg auisys[6123]: ',

I restarted the device without solving the problem.
I have software version of UTM9.
Thanks,
Mostafa Aly


This thread was automatically locked due to age.
Parents
  • Bob has the right idea, but wrong directory.  Look for the bad rpm in the ohelp9 or ohelp9-install directories and delete it.
  • Look for the bad rpm in the ohelp9 or ohelp9-install directories and delete it

    I did not find any rpm files in ohelp9 or ohelp9-install folders in the path /var/up2date.

    Delete the files in /var/up2date/sys again

    I deleted these files again with no results, please note that there is no links in the up2date section in webadmin although there is a notification with two updates available for download in dashboard, so I used the command 
    auisys.plx --rpmargs --force again from shell with same result "Up2Date package installation failed: An error occured during the RPM pre-installation test (1)"

    I don't know if /etc/init.d/postgresql rebuild would fix it, and it might delete Reporting history.


    this did not help.

    Rather than forcing the install, I like to do /sbin/auisys.plx --showdesc and then install from inside WebAdmin. In fact, why not just turn on automatic download and let the Astaro download the Up2Date(s) itself?

    this did not help with the following output:
    Starting Up2Date Package Installer
    asg:/var/up2date/sys-install # Searching for available up2date packages for type 'man9'
    There are no 'man9' packages available for installation
    Searching for available up2date packages for type 'clvbrowser'
    There are no 'clvbrowser' packages available for installation
    Searching for available up2date packages for type 'ohelp9'
    There are no 'ohelp9' packages available for installation
    Searching for available up2date packages for type 'mpfc'
    There are no 'mpfc' packages available for installation
    Searching for available up2date packages for type 'appctrl'

    Installing up2date package version 7.73
      Verifying up2date package signature
      Unpacking installation instructions
      Unpacking up2date package container
      Running pre-installation checks
      Starting up2date package installation
        Testing install package: u2d-appctrl-7-73.i686.rpm                         Failed!
    Up2Date package installation failed: An error occured during the RPM pre-installation test (1)
    Please review the log file for further information.
    .

    Thanks,
    Mostafa Aly
  • I fell into the same trap on my testing lab system.
    Clean the up2date directories as Bob and Scott told and use the u2d-sys-9.004029-005015.tgz.gpg update file. This one seems to be the right one for installations from 029 up to 034. After the successful installation use u2d-sys-9.005015-006005.tgz.gpg to install the latest production version.
    That solved my problem, I made the mistake to use every update version, but with 034 it was not possible to update to 9.005015 with the file you have used.
Reply
  • I fell into the same trap on my testing lab system.
    Clean the up2date directories as Bob and Scott told and use the u2d-sys-9.004029-005015.tgz.gpg update file. This one seems to be the right one for installations from 029 up to 034. After the successful installation use u2d-sys-9.005015-006005.tgz.gpg to install the latest production version.
    That solved my problem, I made the mistake to use every update version, but with 034 it was not possible to update to 9.005015 with the file you have used.
Children
  • Hi Gsxfan,
      I uploaded the u2d-sys-9.004029-005015.tgz.gpg using WebAdmin and wait until the file uploaded and click apply, and I did not see any changes , and when I opened up2date messages live log the browser crashes "both webadmin and livelog browser tab".
    Thanks,
    Mostafa Aly
  • Sounds weird. During the last weeks I tried a lot and installed the complete system with updates several times, but I never saw such an error.
    You can dig deep into logs and directories and so on and try to find out what went wrong, but I would save the last working (or better as much as possible, you'll never know...) backup to a PC and start over again from scratch and install the machine from the ISO image.
    I guess that's much faster.
  • I think it will my last option to install the UTM9 from scratch, because I contact the support and provide them a remote access , and I'll update you with the updates.
    Thanks,
    Mostafa Aly