<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 style="font-family:arial,sans-serif;font-size:13px">   /tmp/ks-script-QpNRzX: line 207: rhnreg_ks: command not found</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">   /tmp/ks-script-QpNRzX: line 213: rhn_check: command not found</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style>

<span style="font-family:arial,sans-serif;font-size:13px">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 style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">-- 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 href="mailto:spacewalkList-iscool@snkmail.com" target="_blank">spacewalkList-iscool@snkmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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 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 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 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 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 href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a 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>