<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    do you have the package rhn-setup installed on the system which you
    want to register to your spacewalk server ?<br>
    <br>
    to check simply execute "rpm -qa |grep rhn"<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 06/09/2015 11:11 PM, Jason Calafiore
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGQLEM_0_N6-w0Qd+Q7RAWi1707YL3eJRJtP7_2H5o8PKpHkNQ@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
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
              moz-do-not-send="true"
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 moz-do-not-send="true"
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
              moz-do-not-send="true"
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 moz-do-not-send="true"
href="https://YourSpacewalk.example.org/XMLRPC%0A--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT%0A--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 moz-do-not-send="true"
                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>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
beste Grüße,
Frank Paulick

Baader Bank AG
Weihenstephaner Str. 4
85716 Unterschleißheim
Deutschland

Telefon: +49-89/5150-1522
Telefax: +49-89/5150-2421

Email: <a class="moz-txt-link-abbreviated" href="mailto:frank.paulick@baaderbank.de">frank.paulick@baaderbank.de</a>
Internet: <a class="moz-txt-link-freetext" href="http://www.baaderbank.de">http://www.baaderbank.de</a> 
          <a class="moz-txt-link-freetext" href="http://www.bondboard.de">http://www.bondboard.de</a>
******************************************************************************************************
Baader Bank AG: Vorstand: Uto Baader (Vors.), Nico Baader, Dieter Brichmann; Vorsitzender des Aufsichtsrates: Dr. Horst Schiessl; Amtsgericht München HRB 121537; Sitz der Gesellschaft: Unterschleissheim; StNr. 143/100/10066; USt-IdNr. DE114123893.
******************************************************************************************************
Diese Email enthält vertrauliche Informationen. Sollten Sie diese Email irrtümlich erhalten, machen wir Sie darauf aufmerksam, dass jegliche Verwendung strikt untersagt ist. Bitte informieren Sie uns gegebenenfalls unverzüglich und vernichten Sie das Original. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email ist nicht gestattet.
Wir haben alle verkehrsüblichen Maßnahmen unternommen, um das Risiko der Verbreitung virenbefallener Software oder Emails zu minimieren, dennoch raten wir Ihnen, Ihre eigenen Virenkontrollen auf alle Anhänge an dieser Nachricht durchzuführen. Wir schließen außer für den Fall von Vorsatz die Haftung für jeglichen Verlust oder Schäden durch virenbefallene Software oder Emails aus.
</pre>
  </body>
</html>