On Wed, Mar 13, 2002 at 04:00:03PM -0500, Post, Mark K wrote:
> I have my doubts about that.  I don't think $RHN would be represented that
> way, unless the variable wasn't set to something useful.


The message doesn't change even if I explicitly set RHN before running
the script.

If I set it (from what up2date --configure gives me) and then try to
wget something....

[root@rh72 root]# export RHN=http://www.rhns.redhat.com/XMLRPC
[root@rh72 root]# wget 
$RHN/redhat-linux-s390-7.2/getPackageHeader/openssh-2.9p2-12.s390.hdr
--16:32:49--
http://www.rhns.redhat.com/XMLRPC/redhat-linux-s390-7.2/getPackageHeader/openssh-2.9p2-12.s390.hdr
           => `openssh-2.9p2-12.s390.hdr'
Connecting to www.rhns.redhat.com:80... connected!
HTTP request sent, awaiting response... 405 Method Not Allowed
16:32:50 ERROR 405: Method Not Allowed.
[root@rh72 root]# export RHN=https://www.rhns.redhat.com/XMLRPC
[root@rh72 root]# wget 
$RHN/redhat-linux-s390-7.2/getPackageHeader/openssh-2.9p2-12.s390.hdr
--16:33:40--
https://www.rhns.redhat.com/XMLRPC/redhat-linux-s390-7.2/getPackageHeader/openssh-2.9p2-12.s390.hdr
           => `openssh-2.9p2-12.s390.hdr'
Connecting to www.rhns.redhat.com:443... connected!
HTTP request sent, awaiting response... 405 Method Not Allowed
16:34:17 ERROR 405: Method Not Allowed.

And when I leave RHN set and run up2date -u -v, it runs for a while
(several minutes) and then always craps out in the same place:
[root@rh72 root]# up2date -u -v

Retrieving list of all available packages...
########################################

Removing installed packages from list of updates...
########################################

Removing packages marked to skip from list...
########################################

Getting headers for available packages...
There was a fatal error communicating with the server.  The message was:
404: "Not Found" while attempting to get
$RHN/redhat-linux-s390-7.2/getPackageHeader/openssh-2.9p2-12.s390.hdr




There are a few #s printed after getting headers, too (overwritten by
the error message), so it's clearly fetching some headers.  This leads
me to believe that there's a problem on the RH update site.

Adam

Reply via email to