[Spacewalk-list] Need help with registration problems.

Paul Robert Marino prmarino1 at gmail.com
Thu Jan 31 18:33:49 UTC 2013


well actually the best thing to do is to include the @spacewalk-client
package group in your kick start
this will ensure that every thing you need.
also keep in mind you will have to include the spacewalk client
channel for the distro
once that package group installs you should be good.


On Thu, Jan 31, 2013 at 12:16 PM, Jonathan Hoser
<jonathan.hoser at helmholtz-muenchen.de> wrote:
> Hi Jon,
>
> That won't work (or didn't/doesn't for me);
> even if I had (and I still have) the Spacewalk Channel included in the
> Kickstart Profile.
>
> I resorted to creating a small tar for each of my distros with the current
> Spacewalk RPMs (and needed extras i.e. for CentOS, python-hwdata anyone?)
> placing it in the Spacewalk-Servers www/pub directory and using a
> Post-Script to get and install it.
>
> Then rerun the $SNIPPET('spacewalk/redhat_register') snippet, and you should
> be fine...
>
> Best
> -Jonathan
>
>
> On 01/31/2013 05:47 PM, Jon Miller wrote:
>
> I've seen a similar error during some of my initial kickstarts. The error
> that sticks out to me is your:
>    /tmp/ks-script-QpNRzX: line 207: rhnreg_ks: command not found
>    /tmp/ks-script-QpNRzX: line 213: rhn_check: command not found
>
> What I did was explicitly include "rhn-setup" and "rhn-check" in my packages
> list for my kickstart profile. Try including those packages and see if your
> registration works.
>
> -- Jon Miller
>
>
> On Thu, Jan 31, 2013 at 8:14 AM, key 1 <spacewalkList-iscool at snkmail.com>
> wrote:
>>
>>
>>
>> Can anyone help me. I'm new to spacewalk and a little bit stuck..
>>
>> I have installed spacewalk1.8-postgres on a f17 box. I have repo-sync'ed
>> channels for fedora 16 & 17, as well as CentOS 5 & 6. (all x86_64).
>>
>> My first attempts at installing have been to try to install a bare bones
>> (just @Base) fedora 16 client. I would like to get this sparse install
>> working first and then clone the kickstart file, adding things to it.
>>
>> My kickstart file has Management Configuration and Remote Commands set
>> true,
>> partitioning scheme, etc and one activation key. The key has one group
>> assocation, one config channel association and these child channels:
>> fedora16-x86_64-updates
>> spacewalk18-client-fedora16-x86_64
>> which were created by the 'spacewalk-common-channels' script.
>> There are no child channels on the ks file itself, just on the key.
>>
>> The problem I have is the registration fails. Looking at the tail of
>> /root/ks-rhn-post.log, What I see is:
>>
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 2013-01-30 10:40:36 (9.21 MB/s) -
>> `/tmp/rhn_rpms/optional/rhnlib-2.5.55-1.fc16.noarch.rpm' saved [69601/69601]
>>
>> FINISHED --2013-01-30 10:40:36--
>> Downloaded: 3 files, 618K in 0.06s (10.8 MB/s)
>> error: Failed dependencies:
>>         libxml2 = 2.7.8-8.fc16 is needed by
>> libxml2-python-2.7.8-8.fc16.x86_64
>> Can't open /etc/sysconfig/rhn/up2date: No such file or directory.
>> cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory
>> --2013-01-30 10:40:36--  http://deuterium/pub/RHN-ORG-TRUSTED-SSL-CERT
>> Resolving deuterium... 172.26.251.100
>> Connecting to deuterium|172.26.251.100|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 5132 (5.0K) [text/plain]
>> Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'
>>
>>      0K .....                                                 100%
>> 78.3M=0s
>>
>> 2013-01-30 10:40:36 (78.3 MB/s) -
>> `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' saved [5132/5132]
>>
>> Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular
>> file.
>> /tmp/ks-script-QpNRzX: line 207: rhnreg_ks: command not found
>> /tmp/ks-script-QpNRzX: line 213: rhn_check: command not found
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> >From /root/ks.cfg, I see it trying to do this:
>>
>> mkdir -p /tmp/rhn_rpms/optional
>> cd /tmp/rhn_rpms/optional
>> wget -P /tmp/rhn_rpms/optional \
>>
>> http://deuterium/download/package/570ee34bc9323015500c13874ab9bff8420dc6af/0/1/26812/pyOpenSSL-0.12-1.fc16.x86_64.rpm
>> \
>>
>> http://deuterium/download/package/c46a2fcb6951b3256f635c79cba72d03606fbedb/0/1/60267/libxml2-python-2.7.8-8.fc16.x86_64.rpm
>> \
>>
>> http://deuterium/download/package/2cd4abbd1443e59467c0b51f1076cb5072591aab/0/1/81511/rhnlib-2.5.55-1.fc16.noarch.rpm
>> rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL*
>> /tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python*
>>
>> Which really throws me. libxml2-2.7.8-8.fc16.x86_64 is in
>> fedora16-x86_64-updates, but is not installed.
>> rhnlib-2.5.55-1.fc16.noarch.rpm
>> appears to come from fedora16-x86_64-updates just fine. Why not
>> libxml2-2.7..8-8.fc16.x86_64?
>>
>> Can I influence the 'wget' somehow and include libxml2-2.7.8-8? I tried
>> adding it to the
>> only key with no luck. If I add it to the file itself, the install stops
>> and tells me the
>> package does not exist.
>>
>> What am I missing here? Is there something I should have read, but didn't?
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
>
> --
> Jonathan Hoser, M.Sc.
> Institute of Bioinformatics and System Biology
> Phone: +49-89-3187-4556
> Fax: +49-89-3187-3585
> Email: jonathan.hoser at helmholtz-muenchen.de
> WWW: http://mips.helmholtz-muenchen.de
>
>
> ________________________________
> Helmholtz Zentrum München
> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
> Ingolstädter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
> Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
> Registergericht: Amtsgericht München HRB 6466
> USt-IdNr: DE 129521671
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list