That fixed the problem. I don't know why, it didn't get installed when i ran the command before.
Thanks Jason do you have the package rhn-setup installed on the system which you want to register to your spacewalk server ? to check simply execute "rpm -qa |grep rhn" On 06/09/2015 11:11 PM, Jason Calafiore wrote: Hi All, I am trying to register my first client to Spacewalk after initial configuration. I was trying to register the spacewalk server first for updates, as mentioned here http://dfwlpiki.dfwlp.org/index.php/Installing_Spacewalk_on_CentOS_6 I ran the following: RHEL 7 / SL 7 / CentOS 7 # rpm -Uvh http://yum.spacewalkproject.org/2.3-client/RHEL/7/x86_64/spacewalk-client-repo-2.3-2.el7.noarch.rpm # BASEARCH=$(uname -i) # rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Install client packages # yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin Install Spacewalk's CA certificate on the server to enable SSL communication (change rpm version in this command if needed) # rpm -Uvh http://ghslspacewalk.ds.src.bah.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm Register your system to Spacewalk using the activation key you created earlier # rhnreg_ks --serverUrl=https://YourSpacewalk.example.org/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey= <https://YourSpacewalk.example.org/XMLRPC%0A--sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT%0A--activationkey=> <key-with-rhel-custom-channel> I receive the following error: # rhnreg_ks --serverUrl=https://ghslspacewalk.ds.src.bah.com/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=1-centos-server-7 bash: rhnreg_ks: command not found Could someone tell me why this is happening? Thank you, Jason -- 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: frank.paul...@baaderbank.de Internet: http://www.baaderbank.de http://www.bondboard.de ****************************************************************************************************** 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.
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list