[tools] Problems

mogruith mogruith at free.fr
Fri Oct 10 12:07:48 CEST 2008


hello all

I'm trying to update my repository as following:


[root]# mrepo -uvvv
/Verbosity set to level 3
Using configfile /etc/mrepo.conf
Reading config file /etc/mrepo.conf
Setting option confdir in section [main] to: /etc/mrepo.conf.d
Setting option srcdir in section [main] to: /data/mrepo
Setting option wwwdir in section [main] to: /data/mrepo/www
Setting option mailto in section [main] to: XXXX at XXX.XXX
Setting option smtp-server in section [main] to: localhost
Setting option arch in section [main] to: i386 x86_64
Setting option shareiso in section [main] to: yes
Setting option hardlink in section [main] to: yes
Setting option rhnlogin in section [main] to: XXX:XXX
Setting option arch in section [5Server] to: i386 x86_64
5Server-i386: No ISO files found !
5Server-i386: Updating Red Hat Enterprise Linux 5 Server (i386)
5Server-i386: Mirror packages from rhns:///rhel-i386-server-fastrack-5 
to /data/mrepo/5Server-i386/fastrack
Traceback (most recent call last):
  File "/usr/bin/rhnget", line 519, in ?
    main()
  File "/usr/bin/rhnget", line 500, in main
    mirrorrhn(op.uri, op.destination)
  File "/usr/bin/rhnget", line 382, in mirrorrhn
    raise(Exception('Failed to subscribe RHN id to channel %s, 
skipping.' % label))
Exception: Failed to subscribe RHN id to channel 
rhel-i386-server-fastrack-5, skipping.
mrepo: Mirroring failed for rhns:///rhel-i386-server-fastrack-5 with 
message:
  Failed with return code: 256
5Server-i386: Mirror packages from rhns:///rhel-i386-server-hts-5 to 
/data/mrepo/5Server-i386/hts
Traceback (most recent call last):
  File "/usr/bin/rhnget", line 519, in ?
    main()
  File "/usr/bin/rhnget", line 500, in main
    mirrorrhn(op.uri, op.destination)
  File "/usr/bin/rhnget", line 382, in mirrorrhn
    raise(Exception('Failed to subscribe RHN id to channel %s, 
skipping.' % label))
Exception: Failed to subscribe RHN id to channel rhel-i386-server-hts-5, 
skipping.
mrepo: Mirroring failed for rhns:///rhel-i386-server-hts-5 with message:
  Failed with return code: 256
5Server-i386: Mirror packages from rhns:///rhn-tools-rhel-i386-server-5 
to /data/mrepo/5Server-i386/rhn-tools
Traceback (most recent call last):
  File "/usr/bin/rhnget", line 519, in ?
    main()
  File "/usr/bin/rhnget", line 500, in main
    mirrorrhn(op.uri, op.destination)
  File "/usr/bin/rhnget", line 382, in mirrorrhn
    raise(Exception('Failed to subscribe RHN id to channel %s, 
skipping.' % label))
Exception: Failed to subscribe RHN id to channel 
rhn-tools-rhel-i386-server-5, skipping.
mrepo: Mirroring failed for rhns:///rhn-tools-rhel-i386-server-5 with 
message:
  Failed with return code: 256
5Server-i386: Mirror packages from 
rhns:///rhel-i386-server-supplementary-5 to 
/data/mrepo/5Server-i386/supplementary
Traceback (most recent call last):
  File "/usr/bin/rhnget", line 519, in ?
    main()
  File "/usr/bin/rhnget", line 500, in main
    mirrorrhn(op.uri, op.destination)
  File "/usr/bin/rhnget", line 382, in mirrorrhn
    raise(Exception('Failed to subscribe RHN id to channel %s, 
skipping.' % label))
Exception: Failed to subscribe RHN id to channel 
rhel-i386-server-supplementary-5, skipping.
mrepo: Mirroring failed for rhns:///rhel-i386-server-supplementary-5 
with message:
  Failed with return code: 256
5Server-i386: Mirror packages from rhns:///rhel-i386-server-5 to 
/data/mrepo/5Server-i386/updates
Traceback (most recent call last):
  File "/usr/bin/rhnget", line 519, in ?
    main()
  File "/usr/bin/rhnget", line 500, in main
    mirrorrhn(op.uri, op.destination)
  File "/usr/bin/rhnget", line 375, in mirrorrhn
    raise(Exception('Error subscribing to channel %s, skipping.%s' % 
(label, f.faultString)))
Exception: Error subscribing to channel rhel-i386-server-5, skipping.
Error Message:
    Server already subscribed to 6949
Error Class Code: 38
Error Class Info: The system is already subscribed to the specified channel.
Explanation:
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem.

mrepo: Mirroring failed for rhns:///rhel-i386-server-5 with message:
  Failed with return code: 256
5Server-i386: Mirror packages from rhns:///rhel-i386-server-vt-5 to 
/data/mrepo/5Server-i386/vt
Traceback (most recent call last):
  File "/usr/bin/rhnget", line 519, in ?
    main()
  File "/usr/bin/rhnget", line 500, in main
    mirrorrhn(op.uri, op.destination)
  File "/usr/bin/rhnget", line 382, in mirrorrhn
    raise(Exception('Failed to subscribe RHN id to channel %s, 
skipping.' % label))
Exception: Failed to subscribe RHN id to channel rhel-i386-server-vt-5, 
skipping.
mrepo: Mirroring failed for rhns:///rhel-i386-server-vt-5 with message:
  Failed with return code: 256
5Server-x86_64: No ISO files found !
5Server-x86_64: Updating Red Hat Enterprise Linux 5 Server (x86_64)
5Server-x86_64: Mirror packages from 
rhns:///rhel-x86_64-server-fastrack-5 to /data/mrepo/5Server-x86_64/fastrack
5Server-x86_64: Mirror packages from rhns:///rhel-x86_64-server-hts-5 to 
/data/mrepo/5Server-x86_64/hts
5Server-x86_64: Mirror packages from 
rhns:///rhn-tools-rhel-x86_64-server-5 to 
/data/mrepo/5Server-x86_64/rhn-tools
5Server-x86_64: Mirror packages from 
rhns:///rhel-x86_64-server-supplementary-5 to 
/data/mrepo/5Server-x86_64/supplementary
5Server-x86_64: Mirror packages from rhns:///rhel-x86_64-server-5 to 
/data/mrepo/5Server-x86_64/updates
5Server-x86_64: Mirror packages from rhns:///rhel-x86_64-server-vt-5 to 
/data/mrepo/5Server-x86_64/vt/

Questions: is my repo up2date ? Because when I do a "yum update" on 
another server, this one tells me that ther is no update available, or, 
there are some ..

Here is my client configuration :
[base]
name=Red Hat Enterprise Linux $releasever - $basearch - base
baseurl=http://192.168.2.6/var/mrepo/rhel5es-i386-$basearch/RPMS.os
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[updates]
name=Red Hat Enterprise Linux $releasever - $basearch - updates
baseurl=http://192.168.2.6/var/mrepo/rhel5es-i386-$basearch/RPMS.updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


My repository server has subscribe to the followings channels :

    * Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)
      <https://rhn.redhat.com/network/software/channels/details.pxt?cid=6957>
    * RHEL FasTrack (v. 5 for 64-bit x86_64)
      <https://rhn.redhat.com/network/software/channels/details.pxt?cid=6964>
    * RHEL Clustering (v. 5 for 64-bit x86_64)
      <https://rhn.redhat.com/network/software/channels/details.pxt?cid=6959>
    * Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)
      <https://rhn.redhat.com/network/software/channels/details.pxt?cid=6986>
    * RHEL Supplementary (v. 5 for 64-bit x86_64)
      <https://rhn.redhat.com/network/software/channels/details.pxt?cid=6962>

thanks for you help

F.



More information about the tools mailing list