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.
  • kindly note that when I manually downloaded the update package : u2d-sys-9.005015-005016.tgz.gpg and uploaded it to UTM and start update I still the receive the same errors.
    Kindly note also that the Up2Date messages log messages size is increasing very fast, I deleted it from webadmin interface then after about half hour I found it size increased to 18 M !!!!!.
  • I receive a notification through email from UTM today that an update is failed , this is the message:
    "Firmware Up2Date installation failed: Errors during the package installation, installation failed (10)
    Please check the up2date log file for detailed information.
    "
    Then my current firmware version is 9.005-15  instead of 9.004-34 as before although the notification of failed update!!!
    After that I suffer from that my web proxy stop working and I opened a thread for that and wait for a reply.
    Thanks,
    Mostafa Aly
  • I tried to start up2date manually from ssh using the below command:
    asg:/home/login # auisys.plx --rpmargs --force and this is the output:
    Starting Up2Date Package Installer
    asg:/home/login # 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'

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

    and find the log file output from view log file section "not the live log" attached
    - Note that the attached log file is about 6 Mbyte in size before compression although I cleared the log file before triggering the update from the console!!!!
    Thanks,
    Mostafa Aly
    update failed log.txt.zip
  • Mostafa, start by deleting the broken download(s) in /var/up2date/sys and then download again.

    Cheers - Bob
  • Thank you for your reply Bob,
    I:
    delete the contents for /var/up2date/sys
    delete the content for /var/up2date/sys-install
    turn off the automatic update download via webadmin.
    in /var/up2date/sys i run :
     wget  ftp://ftp.astaro.com/UTM/v9/up2date/u2d-sys-9.005015-005016.tgz.gpg
    Then run  run auisys.plx 
    but the same error as above one.
    Thanks,
    Mostafa Aly
  • Delete the files in /var/up2date/sys again.  Have you asked your reseller to submit a ticket to Sophos Support?  You might have a broken database.  I don't know if /etc/init.d/postgresql rebuild would fix it, and it might delete Reporting history.

    EDIT 2016-07-12: IN newer versions, the command is /etc/init.d/postgresql92 rebuild

    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?

    Cheers - Bob

  • 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.