[Spacewalk-list] Adding Clients to Spacewalk server

Irwin, Jeffrey R jeff.irwin at perfect.com
Wed Apr 8 20:43:23 UTC 2015


The bootstrap method worked with some tweaks.  Probably a dumb question, but any way to push this out to all machines in IP range or something to that effect?  Instead of logging in to hundreds of servers and running wget, chmod +x, and running the script.

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Waldirio Manhães Pinheiro
Sent: Wednesday, April 08, 2015 1:27 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Adding Clients to Spacewalk server

Dear Irwin, good afternoon

You can try add your client using bootstrap.sh (http://phfispacewalk.perfect.com/pub/bootstrap/bootstrap.sh), if you don't have enable yet, you need configure it.

Let me know if you know how to proceed or need any additional information.

take care

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com<mailto:waldirio at gmail.com>
Skype: waldirio
Site: www.waldirio.com.br<http://www.waldirio.com.br>
Blog: blog.waldirio.com.br<http://blog.waldirio.com.br>
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html<http://www.waldirio.com.br/public.html>

On Wed, Apr 8, 2015 at 2:06 PM, Irwin, Jeffrey R <jeff.irwin at perfect.com<mailto:jeff.irwin at perfect.com>> wrote:
I am attempting to connect my first client, I have tried to different servers and get the same error on both.

rhnreg_ks --serverUrl=https://phfispacewalk.perfect.com/XMLRPC --activationkey 1-oraclelinux
An error has occurred:
ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
See /var/log/up2date for more information

I found the fix for this was to:
vi /etc/sysconfig/rhn/up2date

change sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT to sslCACert=/usr/share/rhn/RHNS-CA-CERT

but then I get
[root at phfdtestclient ~]# rhnreg_ks --serverUrl=https://phfispacewalk.perfect.com/XMLRPC --activationkey 1-oraclelinux
An error has occurred:
The certificate /usr/share/rhn/RHNS-CA-CERT is expired. Please ensure you have the correct certificate and your system time is correct.
See /var/log/up2date for more information





_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150408/b4c08c87/attachment.htm>


More information about the Spacewalk-list mailing list