Koozali.org: home of the SME Server

Patch update problem

btx

Patch update problem
« on: October 05, 2006, 05:59:53 PM »
Hi!

When I try to use the patch update function(software installer) in SME Server, it shows this error to me and can't update the patch. What can I do? Thank u!

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /server-manager/cgi-bin/yum.

Reason: Error reading from remote server

Offline SoundSailor

  • **
  • 22
  • +0/-0
    • http://www.mincocorp.com
Patch update problem
« Reply #1 on: October 06, 2006, 04:19:18 AM »
I'm getting the same error message. New install on SME 7.

Offline LeoM

  • **
  • 33
  • +0/-0
    • http://www.musp.nl
Same here
« Reply #2 on: November 11, 2006, 07:26:09 AM »
Same here after a new install.
Nothing in the bug report to be found.


Leo

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Same here
« Reply #3 on: November 11, 2006, 01:05:47 PM »
Quote from: "LeoM"
Nothing in the bug report to be found.
Leo


If you don't see a bug report then please open a new bug report and post your details in full, that way we will be able to fix the problem if it is a problem with the SME Server base. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline mudtoe

  • ***
  • 60
  • +0/-0
Patch update problem
« Reply #4 on: November 11, 2006, 06:51:40 PM »
I'm getting the same error trying to update an installation I originally did in late August.  The process left my system in an unusable state after reconfigure and reboot, so i had to revert to my snapshot backup (SME Server is running under VMWare).  I had a lot of patches to apply, and by doing a few at a time I narrowed it down to one of the kernel patches, although I didn't do the kernel patches one at a time to figure out which one, as there were half a dozen or more.  Right now I'm still running without any of the patches, until this gets figured out.  I didn't see anything useful in any of the logs before I restored.  I looked in messages, yum/current, and yum/log.  

If someone can tell me what to do in order to gather more information I'd be willing to try this again in an effort to gather the data necessary to fix this.


mudtoe

Offline Mangetout

  • **
  • 22
  • +0/-0
Patch update problem
« Reply #5 on: November 13, 2006, 04:40:44 PM »
I get a similar problem if I select all of the available updates.  If I select and apply them one at a time (or sometimes I get away with a few at a time), it works fine.  However this is tedious because of the reboot required after each cycle.

Offline TheMonk

  • *
  • 14
  • +0/-0
Patch update problem
« Reply #6 on: November 15, 2006, 08:31:29 PM »
Have just started making my first experience with SME70

On a freshly installed SME70 I notice this the messages on the Software Installer panel:

    "Updates Available
    There are updates available for your system. These updates should be installed as soon as possible."


Before clicking the "Install available updates" - button I

-  Checked the "Yum/Current" logfile from the view log files panel and I saw this:

    2006-11-14 15:43:10.771998500 Error: No Groups on which to run command
    2006-11-14 15:43:10.983408500 yum grouplist available status 256
    2006-11-14 15:43:20.976632500 Error: No Groups on which to run command
    2006-11-14 15:43:21.188422500 yum grouplist installed status 256
    2006-11-14 15:43:32.240769500 Error: No Groups on which to run command
    2006-11-14 15:43:32.453810500 yum grouplist updates status 256
    2006-11-14 17:04:37.300053500 Error: No Groups on which to run command
    2006-11-14 17:04:37.512190500 yum grouplist available status 256
    2006-11-14 17:04:47.695593500 Error: No Groups on which to run command
    2006-11-14 17:04:47.905942500 yum grouplist installed status 256
    2006-11-14 17:04:59.120729500 Error: No Groups on which to run command
    2006-11-14 17:04:59.673230500 yum grouplist updates status 256


According to Bug #118 (http://bugs.contribs.org/show_bug.cgi?id=118#c0)
this should be considered 'noise'(!?)

-  checked the "Yum/Yum.log" file:

    Log file "yum/yum.log" is empty!



Well, Ok then tried to get some information on this new "Software installer" panel introduced
in SME70 by reading the online manual ( http://smeserver.sourceforge.net/sme70/manual#h74-2 )
Hmm, that did not give me much...

Decided to give it a try by clicking the "Install available updates" -button.
After quite some time (approx. 10 min.) the panel was updated and a small box with
"Updates available" showed.  By scrolling up/down (this box is only 4 lines high!)
I counted 80 'updates'.

I clicked the "Install selected updates"  (default all 80 was marked/selected)
Again waiting without being able to follow the progress...
After approx. 6 min. this messages showed in the panel:

    "Proxy Error

    The proxy server received an invalid response from an upstream server.
    The server could not handle the request POST /server-manager/cgi-bin/yum.

    Reason: Error reading from remote server."


BUT from looking at the LEDs on my router it seemed that SME70 was still downloading,
so I decided to wait (I can be a patient person at times...)

I logged on the console and checked the /var/log/yum/yum.log (approx. 15 min. after
the "Proxy Error" showed).  The last 2 lines of this log was:
php-pear   i386   4.3.9-3.15   smeupdates   266 k
procps     i386

- the last line seemed incomplete.

After waiting another 2 hours and 15 min. (!!) the activity LEDs calmed down.

Clicking the "POST /server-manager/cgi-bin/yum"-link updated the "Software Installer"
panel which now (again) showed:
"Updates Available
There are updates available.... bla bla."

Checking the /var/log/yum/yum.log again I noticed it was updated and found these

    [cut]
     php-pear                i386       4.3.9-3.15       smeupdates        266 k
     procps                  i386    

    Error Downloading Packages:
      httpd-suexec - 2.0.52-28.ent.centos4.i386: failure: RPMS/httpd-suexec-2.0.52-28.ent.centos4.i386.rpm from smeupdates: [Errno 256] No more mirrors to

    try.
      kernel-smp-module-slip - 1.0-1_2.6.9_42.0.2.EL.i686: failure: RPMS/kernel-smp-module-slip-1.0-1_2.6.9_42.0.2.EL.i686.rpm from smeupdates: [Errno 256] No

    more mirrors to try.
      groff - 1.18.1.1-3.EL4.i386: failure: RPMS/groff-1.18.1.1-3.EL4.i386.rpm from smeupdates: [Errno 256] No more mirrors to try.
      3.2.3-8.4        smeupdates        187 k
     psmisc                  i386       21.4-4.1         smeupdates         40 k
    [cut][/list]

    ...and

      [cut]
      Transaction Summary
      =============================================================================
      Install      2 Package(s)        
      Update      78 Package(s)        
      Remove       0 Package(s)        
      Total download size: 90 M
      Downloading Packages:
      yum update DCC.i386 at.i386 authconfig.i386 chkconfig.i386 clamav-db.i386 clamav.i386 clamd.i386 comps.i386 cpio.i386 dbus-glib.i386 dbus.i386

      dos2unix.i386 e-smith-apache.noarch e-smith-dnscache.noarch e-smith-domains.noarch e-smith-horde.noarch e-smith-imap.noarch e-smith-manager.noarch

      e-smith-openssh.noarch e-smith-packetfilter.noarch e-smith-qmail.noarch e-smith-quota.noarch e-smith-runit.noarch e-smith-samba.noarch

      e-smith-tinydns.noarch elfutils-libelf.i386 elfutils.i386 file.i386 findutils.i386 freetype.i386 gnupg.i386 gpm.i386 grep.i386 groff.i386 horde.noarch

      httpd-suexec.i386 httpd.i386 iputils.i386 kernel-module-appletalk.i686 kernel-module-ppp.i686 kernel-module-slip.i686 kernel-smp-module-appletalk.i686

      kernel-smp-module-ppp.i686 kernel-smp-module-slip.i686 kernel-smp.i686 kernel.i686 krb5-libs.i386 libtiff.i386 lockdev.i386 lsof.i386 mailx.i386 man.i386

      mdadm.i386 mkinitrd.i386 mod_ssl.i386 mutt.i386 pciutils.i386 perl-CGI-FormMagick.noarch perl-suidperl.i386 perl.i386 php-domxml.i386 php-gd.i386

      php-imap.i386 php-ldap.i386 php-mbstring.i386 php-mysql.i386 php-pear.i386 php.i386 procps.i386 psmisc.i386 qpsmtpd-plugins.noarch qpsmtpd.noarch

      samba-client.i386 samba-common.i386 samba.i386 smeserver-qpsmtpd.noarch smeserver-spamassassin.noarch smeserver-support.noarch tzdata.noarch

      vixie-cron.i386 failed: 256
      [cut]
      [/list]


      Obviously there is problems downloading packages!
      "No more mirrors to try" - which mirrors has been tried?

      How can I check/verify the access to these mirrors?

      How can I tell if this is a (partial) success or (total) failure?

      How can I monitor the progress? (otherwise that checking the LEDs on my router and guessing
      that it's my SME70 downloading packages)

      Would it not be more convenient making an updated release of SME70-iso, which included all
      these 'mandatory' updates?  It would certainly be MUCH faster to install!

      When I think back I remember it was also quite time consuming upgrading the SME60-1 with
      mandatory packages (a couple of hours...)  but it could usually  be done without problems.

      Btw. my internet connection speed is 2048/512 kbps

      I have searched the Forum and read the Bug #611, #1863, #1873 and #1956 (among others).
      In Bug#1873 it is discussed if access to the mirrors is the culprit...!?  

       :?
      ......

      Offline Tib

      • *
      • 571
      • +0/-0
        • http://www.tibors.net
      Patch update problem
      « Reply #7 on: November 16, 2006, 04:45:34 AM »
      Hi

      I do my updates the old way ... login using putty and type "yum update"

      that way you see exactly what is happening.

      Sometimes the mirrors are down etc ... when I updated approx 7 days ago ... there were no problems.

      Regards,

      Tib.

      Offline crazybob

      • *****
      • 894
      • +0/-0
        • Stalzer R&D
      Patch update problem
      « Reply #8 on: November 16, 2006, 05:53:05 AM »
      Hi,
       Just tried Tib's way, and it went without a hitch. Thanks Tib

      Bob
      If you think you know whats going on, you obviously have no idea whats going on!

      Offline TheMonk

      • *
      • 14
      • +0/-0
      Patch update problem
      « Reply #9 on: November 16, 2006, 07:58:19 PM »
      Hi!

      Tried the "Software Installer" panel once more this afternoon.

      Still the same 80 packages/updates showed in the list box but this time
      the "Install selected updates" process ran without problems.
      (besides from the same messages "Proxy Error" after 5 min.)

      Checking the "yum/yum.log" showed numerous "Updated...", two "Installed..." and one "Erased..."

       :D
      ......

      Offline mudtoe

      • ***
      • 60
      • +0/-0
      Patch update problem
      « Reply #10 on: November 18, 2006, 07:22:47 AM »
      I tried Tib's way ("yum update" via command prompt) and it worked fine (thanks Tib  :wink: ).  Afterward I had to reinstall VMWare tools and play with the issues about the tools not installing cleanly without manual tweaking, but that was the same as when i first installed them.


      mudtoe