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

up2date fails (7.200 to 7.201)

Got a admin message telling me that an up2date was ready, to bring it up to 7.01.

Tried several times to install it, but it always fails.  I tried downloading the update again from the ftp site, but it failed again.

Here's the log:

2008:06:16-20:15:06 (none) auisys[26632]: Failed testing RPM installation (command: 'rpm --test -U /var/up2date//ips-install/u2d-ips-7.113/rpms/u2d-ips-7-113.i686.rpm') 
2008:06:16-20:15:06 (none) auisys[26632]: 
2008:06:16-20:15:06 (none) auisys[26632]: 1. Internal::Systemstep::real_installation:2252() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: 2. main:[:P]erform_work:1021() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: 3. main::auisys_prepare_and_work:519() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: 4. main::top-level:34() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: |========================================================================= 
2008:06:16-20:15:06 (none) auisys[26632]: 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="ips" 
2008:06:16-20:15:06 (none) auisys[26632]: 
2008:06:16-20:15:06 (none) auisys[26632]: 1. main::alf:72() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: 2. main:[:P]erform_work:1067() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: 3. main::auisys_prepare_and_work:519() auisys.pl 
2008:06:16-20:15:06 (none) auisys[26632]: 4. main::top-level:34() auisys.pl 


Thanks


This thread was automatically locked due to age.
  • Product Version: only Astaro Security Gateway 7.2

     

    It has been discovered that ASG 7.200 Up2date may not be functioning on some systems if you updated directly from 7.104 to 7.200 on an ASG appliance before Monday, June 2nd. 

     

    If you have updated to 7.200 in this timeframe,  the following issue may affect your system, and you will need to make a small change to ensure the delivery of up2dates.

     

    If you have downloaded but not installed ASG V7.200 up2date yet, no further action is required.

     

    What's the Issue?

     

     Summary

        Due to an exception in our up2date distribution system an RPM package was excluded in the 7.200 Up2Date.

     

        This package has no functional code, but is merely identification tag to differentiate device models. As this identification is missing, the up2date installer is not able to download all appropriate updates.

    Resolution
     

    The following short steps will allow Astaro to detect all appropriate up2dates.

     

    1)  Login to the Astaros shell as loginuser

    2)  Type su  and enter your root password to enable root permissions

    3)  Paste exactly the following command onto the shell, and hit enter to run:

        rpm -q ep-asg && cd /tmp && wget http://www.testastaro.com/files/rpm/ep-asg-7.2-23.i686.rpm && rpm -Uvh /tmp/ep-asg-7.2-23.i686.rpm

        

     

        This command will check if this patch is needed, and if yes download the missing rpm package and install it.

     

        If the systems returns 'package ep-asg is not installed', then you do not have an ASG Hardware Appliance and you do not need this patch.

     

        If the system returns 'package ep-asg-7.2-23 is already installed', than you have the correct RPM, and no further action is required.

     

    *For Clustered systems, run the same command for each node.

     

        If additional support is needed,  just contact your partner or the astaro support team directly, we are happy to help you.  You cantact support by calling 877-9-astaro, or by submitting a support ticket at my.astaro.com
  • Hi there, 
    you can also read the official Knowledge Base entry here:

    http://portal.knowledgebase.net/article.asp?article=288713&p=5956

    regards
    Gert
  • Thanks for your replies.

    Now all I have to do is figure out how to use SSH - I have a linux box with an SSH client, but for some reason I can't login using the known root password.  It'll take some research, but I can probably figure it out.  I'm not exactly proficient in Linux...

    (Sigh.)  Nothing's easy, everything takes so much time!
  • To SSH into an Astaro box, you have to login using the loginuser account first, then you use 'su' to login as root.  If you don't want to use a Linux client, check out "putty" ... use google and you'll find it, it works fine on Windows systems.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • Thanks,

    I had found PuTTY, and used it...

    I was unable to login as root:  ACCESS DENIED, even though I am certain of the password and have no complex passwords required.  Not sure what's up with that...

    I did login as loginuser and ran the command.

    It said: "package ep-asg" is not installed, which apparently means I don't have an ASG appliance and don't need the update.

    Of course, I know I don't have an ASG appliance - I have a downloaded ISO file installed on a PC.  It still won't install the 7.201 update (fails every time).

    I realize this is a free product, and understand why they can't provide support for free downloads, but I am using it to determine whether or not to use or recommend Astaro, and to learn how to support it.  (I have one client with an ASG220, and try things out on my downloaded system before recommending it on his.)  A relevant Knowledge Base document would suffice, but I guess the one linked in a previous response doesn't apply to my situation...

    Anyway, I still have the problem - can't install 7.201.  More importantly, though, I believe I won't be able to install ANY updates in the future.

    Here's the UP2DATE entry from my last attempt:

    2008:06:17-10:37:31 (none) auisys[8124]: 4. main::top-level:34() auisys.pl 
    2008:06:17-10:37:31 (none) auisys[8124]: |========================================================================= 
    2008:06:17-10:37:31 (none) auisys[8124]: 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="sys" 
    2008:06:17-10:37:31 (none) auisys[8124]: 
    2008:06:17-10:37:31 (none) auisys[8124]: 1. main::alf:72() auisys.pl 
    2008:06:17-10:37:31 (none) auisys[8124]: 2. main:[:P]erform_work:1067() auisys.pl 
    2008:06:17-10:37:31 (none) auisys[8124]: 3. main::auisys_prepare_and_work:519() auisys.pl 
    2008:06:17-10:37:31 (none) auisys[8124]: 4. main::top-level:34() auisys.pl 
    2008:06:17-10:37:32 (none) auisys[8124]: 
  • You MUST login using PUTTY as the user "loginuser" ...then, once on the console, enter "su" ... then enter the root password.  now you will be running as root.  Then run the commands.  If those commands didn't work out for you, you can try (at your own risk, get a config backup and make sure you have a reinstall ISO in hand, just in case) running:

    auisys.plx --rpmargs --force --nodeps

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • on a linux box use

    ssh loginuser@
  • Bruce:

    That command doesn't work - I get a usage guide, so there's a syntax problem.  You may not quite understand how little I know about Linux...

    I started using Astaro at home, not because I have a proficiency in Linux, but in spite of my lack of same.   It's complaining that the argument "nodeps" in an unknown option.

    So, I ran your command without the --nodeps.  It ran, outputting the following:

      Starting up2date package installation
        Testing install package: chroot-openvpn-7.2-35.i686.rpm                    OK
        Testing install package: ep-init-7.2-164.i686.rpm                          OK
        Testing install package: ep-mdw-7.2-319.i686.rpm                           OK
        Testing install package: ep-confd-7.2-385.i686.rpm                         OK
        Testing install package: ep-up2date-pattern-install-7.2-24.i686.rpm        OK
        Testing install package: ep-httpproxy-2.0-87.i686.rpm                      OK
        Testing install package: ep-webadmin-7.2-389.i686.rpm                      OK
        Running service script: /etc/init.d/mdw stop                               OK
        Running service script: /var/mdw/scripts/httpproxy stop                    OK
        Installing rpm package: chroot-openvpn-7.2-35.i686.rpm                     Failed!
        Installing rpm package: ep-init-7.2-164.i686.rpm                           Failed!
        Installing rpm package: ep-mdw-7.2-319.i686.rpm                            Failed!
        Installing rpm package: ep-confd-7.2-385.i686.rpm                          Failed!
        Installing rpm package: ep-up2date-pattern-install-7.2-24.i686.rpm         Failed!
        Installing rpm package: ep-httpproxy-2.0-87.i686.rpm                       Failed!
        Installing rpm package: ep-webadmin-7.2-389.i686.rpm                       Failed!
        Executing script hook : exec /var/up2date//sys-install/u2d-sys-7.201/./update7201 OK
        Running syncing step 0                                                     OK
        Running syncing step 1                                                     OK
    Up2Date package installation failed: Errors during the package installation, installation failed (10)


    Before I started this thread, I also tried downloading the update manually, and uploading it to the router just in case.  I also notice that there is a newer pattern available, but it's not being installed either.

    So, it appears that the bad firmware update has not only stopped firmware updates from installing, but also IPS and AV updates.
  • Given your admitted lack of Unix knowledge, and with this not being a license with a maintenance agreement ... I would just download the 7.200 ISO, backup your configuration, reinstall 7.200 from scratch.  Restore your backup, then up2date to 7.201.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.