[tools] RE: mrepo, rhel5 and systemid
Marc Mondragon
marcmo at foxriver.com
Mon May 14 22:54:17 CEST 2007
Hello list,
I figured it out ... must be Monday!
Marc Mondragon
Fox River Financial Resources/Ritchie Capital Investments, Ltd.
2100 Enterprise Avenue
Geneva, IL 60134
marcmo at foxriver.com
> -----Original Message-----
> From: Marc Mondragon
> Sent: Monday, May 14, 2007 3:30 PM
> To: 'tools at lists.rpmforge.net'
> Subject: mrepo, rhel5 and systemid
>
> Hello list,
>
> I've been using yam/mrepo for a while now and I've finally run into
> something that I can't figure out. I'm using mrepo on a RHEL 4 server,
> trying to download the rpm's in order to build a local yum server.
> Unfortunately I just can get my head around what is wrong. I've looked at
> the various threads on this subject from the March timeframe and what I've
> got looks right. What I can't figure out is why mrepo is using the local
> systemid file instead of the ones I've generated. Is there a way to
> change this behavior? I've run the rhnget command like so:
>
> rhnget -vvvv -n --release=5Server --systemid=/var/www/mrepo/rhel5-
> i386/systemid rhn:///rhel-i386-server-5 /tmp
>
> and it works.
>
> Looking for clues ...
>
> Here is the debug output of my mrepo run:
>
> rhel5-i386: Updating Red Hat 5 Server (i386)
> rhel5-i386: Setting lock /var/cache/mrepo/rhel5-i386/update-updates.lock
> rhel5-i386: Mirror packages from rhn:///rhel-i386-server-5 to
> /export/mrepo/rhel5-i386/updates
> Execute: exec /usr/bin/rhnget -v -v -v -v --delete --release="5Server" --
> username="XXXXXXXX" --password="XXXXXXXX" 'rhn:///rhel-i386-server-5'
> '/export/mrepo/rhel5-i386/updates'
> Verbosity set to level 4
> Using RHN systemid from /etc/sysconfig/rhn/systemid
> Using RHN release 5Server
>
> BEFORE LOGIN: logininfo: {}
>
>
> AFTER LOGIN: logininfo: {'X-RHN-Auth-Server-Time': '1179173425.29', 'X-
> RHN-Auth': 'iBeryU2hkaxp9pbZUWvycA==', 'X-RHN-Server-Id': 1006902467, 'X-
> RHN-Auth-Channels': [['rhel-x86_64-es-4', '20070514134233', '1', '1'],
> ['rhel-x86_64-es-4-extras', '20070501132826', '0', '1'], ['rhel-4-es-
> x86_64-rhaps-2', '20070412193151', '0', '1'], ['rhel-x86_64-es-4-
> fastrack', '20070208145915', '0', '1'], ['rhel-x86_64-es-4-webapp-1-beta',
> '20060415110847', '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-
> Expire-Offset': '3600.0'}
>
> rhnget: 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 rhn:///rhel-i386-server-5 with message:
> Failed with return code: 256
>
> Marc Mondragon
>
> Fox River Financial Resources/Ritchie Capital Investments, Ltd.
> 2100 Enterprise Avenue
> Geneva, IL 60134
> marcmo at foxriver.com
More information about the tools
mailing list