<div dir="ltr">Hi All,<div> I am trying to register my first client to Spacewalk after initial configuration.</div><div><br></div><div>I was trying to register the spacewalk server first for updates, as mentioned here <a href="http://dfwlpiki.dfwlp.org/index.php/Installing_Spacewalk_on_CentOS_6">http://dfwlpiki.dfwlp.org/index.php/Installing_Spacewalk_on_CentOS_6</a></div><div><br></div><div>I ran the following:</div><div><br></div><div><p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black">RHEL 7 /
SL 7 / CentOS 7 <br>
<span style="background:rgb(247,247,247)"># rpm -Uvh </span><a href="http://yum.spacewalkproject.org/2.3-client/RHEL/7/x86_64/spacewalk-client-repo-2.3-2.el7.noarch.rpm"><span style="background:rgb(247,247,247)">http://yum.spacewalkproject.org/2.3-client/RHEL/7/x86_64/spacewalk-client-repo-2.3-2.el7.noarch.rpm</span></a><span style="background:rgb(247,247,247)"><br>
# BASEARCH=$(uname -i)<br>
# rpm -Uvh </span><a href="http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"><span style="background:rgb(247,247,247)">http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</span></a></p>

<p style="margin:0in;font-family:Calibri;font-size:11pt"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black">Install
client packages </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="background:rgb(247,247,247)"># yum install rhn-client-tools rhn-check rhn-setup
rhnsd m2crypto yum-rhn-plugin</span></p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black">Install
Spacewalk's CA certificate on the server to enable SSL communication (change
rpm version in this command if needed) </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="background:rgb(247,247,247)"># rpm -Uvh </span><a href="http://ghslspacewalk.ds.src.bah.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm"><span style="background:rgb(247,247,247)">http://ghslspacewalk.ds.src.bah.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm</span></a></p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black">Register
your system to Spacewalk using the activation key you created earlier </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"> </p>

<p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="font-size:9.75pt;background-color:rgb(247,247,247)"># rhnreg_ks
--serverUrl=<a href="https://YourSpacewalk.example.org/XMLRPC
--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
--activationkey=">https://YourSpacewalk.example.org/XMLRPC
--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
--activationkey=</a><key-with-rhel-custom-channel></span></p><p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="font-size:9.75pt;background-color:rgb(247,247,247)"><br></span></p><p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="font-size:9.75pt;background-color:rgb(247,247,247)"><br></span></p><p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="font-size:9.75pt;background-color:rgb(247,247,247)">I receive the following error:</span></p><p style="margin:0in"><font color="#000000" face="Verdana"># rhnreg_ks --serverUrl=<a href="https://ghslspacewalk.ds.src.bah.com/XMLRPC">https://ghslspacewalk.ds.src.bah.com/XMLRPC</a> --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-centos-server-7</font></p><p style="margin:0in"><font color="#000000" face="Verdana"><span style="background-color:rgb(247,247,247)"></span></font></p><p style="margin:0in"><font color="#000000" face="Verdana">bash: rhnreg_ks: command not found</font></p><div><br></div><div><br></div><div>Could someone tell me why this is happening?</div><div><br></div><div>Thank you,</div><div>Jason</div><p style="margin:0in;font-family:Verdana;font-size:9.75pt;color:black"><span style="font-size:9.75pt;background-color:rgb(247,247,247)"><br></span></p></div></div>