<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Jon,<br>
<br>
That won't work (or didn't/doesn't for me);<br>
even if I had (and I still have) the Spacewalk Channel included in the Kickstart Profile.<br>
<br>
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.<br>
<br>
Then rerun the $SNIPPET('spacewalk/redhat_register') snippet, and you should be fine...<br>
<br>
Best<br>
-Jonathan<br>
<br>
On 01/31/2013 05:47 PM, Jon Miller wrote:<br>
</div>
<blockquote cite="mid:CAG7ukFqFskfQJZsHf+WoZaFSHYoWbQjhQ1mkSsho3P-Kjt0zsA@mail.gmail.com" type="cite">
<meta http-equiv="Context-Type" content="text/html;
        charset=iso-8859-1">
<div dir="ltr">I've seen a similar error during some of my initial kickstarts. The error that sticks out to me is your:
<div><span>   /tmp/ks-script-QpNRzX: line 207: rhnreg_ks: command not found</span><br>
<span>   /tmp/ks-script-QpNRzX: line 213: rhn_check: command not found</span><br>
</div>
<div><span><br>
</span></div>
<div><span>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. </span></div>
<div><span><br>
</span></div>
<div><span>-- Jon Miller</span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jan 31, 2013 at 8:14 AM, key 1 <span dir="ltr"><<a moz-do-not-send="true" href="mailto:spacewalkList-iscool@snkmail.com" target="_blank">spacewalkList-iscool@snkmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote"><br>
<br>
Can anyone help me. I'm new to spacewalk and a little bit stuck..<br>
<br>
I have installed spacewalk1.8-postgres on a f17 box. I have repo-sync'ed<br>
channels for fedora 16 & 17, as well as CentOS 5 & 6. (all x86_64).<br>
<br>
My first attempts at installing have been to try to install a bare bones <br>
(just @Base) fedora 16 client. I would like to get this sparse install <br>
working first and then clone the kickstart file, adding things to it.<br>
<br>
My kickstart file has Management Configuration and Remote Commands set true,<br>
partitioning scheme, etc and one activation key. The key has one group<br>
assocation, one config channel association and these child channels:<br>
fedora16-x86_64-updates<br>
spacewalk18-client-fedora16-x86_64<br>
which were created by the 'spacewalk-common-channels' script.<br>
There are no child channels on the ks file itself, just on the key.<br>
<br>
The problem I have is the registration fails. Looking at the tail of <br>
/root/ks-rhn-post.log, What I see is:<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
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]<br>
<br>
FINISHED --2013-01-30 10:40:36--<br>
Downloaded: 3 files, 618K in 0.06s (10.8 MB/s)<br>
error: Failed dependencies:<br>
        libxml2 = 2.7.8-8.fc16 is needed by libxml2-python-2.7.8-8.fc16.x86_64<br>
Can't open /etc/sysconfig/rhn/up2date: No such file or directory.<br>
cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory<br>
--2013-01-30 10:40:36--  <a moz-do-not-send="true" href="http://deuterium/pub/RHN-ORG-TRUSTED-SSL-CERT" target="_blank">
http://deuterium/pub/RHN-ORG-TRUSTED-SSL-CERT</a><br>
Resolving deuterium... 172.26.251.100<br>
Connecting to deuterium|172.26.251.100|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>
Length: 5132 (5.0K) [text/plain]<br>
Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'<br>
<br>
     0K .....                                                 100% 78.3M=0s<br>
<br>
2013-01-30 10:40:36 (78.3 MB/s) - `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' saved [5132/5132]<br>
<br>
Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file.<br>
/tmp/ks-script-QpNRzX: line 207: rhnreg_ks: command not found<br>
/tmp/ks-script-QpNRzX: line 213: rhn_check: command not found<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
>From /root/ks.cfg, I see it trying to do this:<br>
<br>
mkdir -p /tmp/rhn_rpms/optional<br>
cd /tmp/rhn_rpms/optional <br>
wget -P /tmp/rhn_rpms/optional \<br>
    <a moz-do-not-send="true" href="http://deuterium/download/package/570ee34bc9323015500c13874ab9bff8420dc6af/0/1/26812/pyOpenSSL-0.12-1.fc16.x86_64.rpm" target="_blank">
http://deuterium/download/package/570ee34bc9323015500c13874ab9bff8420dc6af/0/1/26812/pyOpenSSL-0.12-1.fc16.x86_64.rpm</a> \<br>
    <a moz-do-not-send="true" href="http://deuterium/download/package/c46a2fcb6951b3256f635c79cba72d03606fbedb/0/1/60267/libxml2-python-2.7.8-8.fc16.x86_64.rpm" target="_blank">
http://deuterium/download/package/c46a2fcb6951b3256f635c79cba72d03606fbedb/0/1/60267/libxml2-python-2.7.8-8.fc16.x86_64.rpm</a> \<br>
    <a moz-do-not-send="true" href="http://deuterium/download/package/2cd4abbd1443e59467c0b51f1076cb5072591aab/0/1/81511/rhnlib-2.5.55-1.fc16.noarch.rpm" target="_blank">
http://deuterium/download/package/2cd4abbd1443e59467c0b51f1076cb5072591aab/0/1/81511/rhnlib-2.5.55-1.fc16.noarch.rpm</a>
<br>
rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL* /tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python*
<br>
<br>
Which really throws me. libxml2-2.7.8-8.fc16.x86_64 is in<br>
fedora16-x86_64-updates, but is not installed. rhnlib-2.5.55-1.fc16.noarch.rpm<br>
appears to come from fedora16-x86_64-updates just fine. Why not libxml2-2.7..8-8.fc16.x86_64?<br>
<br>
Can I influence the 'wget' somehow and include libxml2-2.7.8-8? I tried adding it to the
<br>
only key with no luck. If I add it to the file itself, the install stops and tells me the
<br>
package does not exist.<br>
<br>
What am I missing here? Is there something I should have read, but didn't?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a moz-do-not-send="true" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a moz-do-not-send="true" href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Jonathan Hoser, M.Sc.
Institute of Bioinformatics and System Biology
Phone: +49-89-3187-4556
Fax: +49-89-3187-3585
Email: <a class="moz-txt-link-abbreviated" href="mailto:jonathan.hoser@helmholtz-muenchen.de">jonathan.hoser@helmholtz-muenchen.de</a>
WWW: <a class="moz-txt-link-freetext" href="http://mips.helmholtz-muenchen.de">http://mips.helmholtz-muenchen.de</a>

</pre>
<br>
<hr>
<font face="Arial" color="Black" size="1">Helmholtz Zentrum München<br>
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)<br>
Ingolstädter Landstr. 1<br>
85764 Neuherberg<br>
www.helmholtz-muenchen.de<br>
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe<br>
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum<br>
Registergericht: Amtsgericht München HRB 6466<br>
USt-IdNr: DE 129521671<br>
</font>
</body>
</html>