<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Ah,<br>
sorry I forgot:<br>
Curl - as supplied by the CentOS repos - caused major issues for me<br>
using the https transfer of repo-data from the SW-server.<br>
There are (were?) some serious issues with the certificate handling.<br>
Check if you are having curl-7.30.0 in place.<br>
If not, get:<br>
c-ares-1.10.0-1.0.cf.rhel6.x86_64.rpm<br>
curl-7.30.0-2.0.cf.rhel6.x86_64.rpm<br>
libcurl-7.30.0-2.0.cf.rhel6.x86_64.rpm<br>
libssh2-1.4.3-6.0.cf.rhel6.x86_64.rpm<br>
from a repository near you place them in a tar, and this on the spacewalk server<br>
and install them i.e. using:<br>
<br>
echo "# updating CURL and LIBCURL to 7.30!"<br>
<br>
mkdir -p /tmp/curlUp<br>
pushd /tmp/curlUp<br>
<br>
wget <a class="moz-txt-link-freetext" href="http://spacewalkserver/pub/curlUp.tar">
http://spacewalkserver/pub/curlUp.tar</a><br>
<br>
tar -xf curlUp.tar<br>
<br>
sed -i "s/useNoSSLForPackages=0/useNoSSLForPackages=1/g" /etc/sysconfig/rhn/up2date<br>
<br>
yum -y localinstall --nogpgcheck *.rpm<br>
<br>
sed -i "s/useNoSSLForPackages=1/useNoSSLForPackages=0/g" /etc/sysconfig/rhn/up2date<br>
<br>
popd<br>
rm -rf /tmp/curlUp<br>
<br>
...<br>
Worth a try.<br>
<br>
Best<br>
-Jonathan<br>
<br>
<br>
On 03/14/2014 01:37 PM, Dhaval Oza wrote:<br>
</div>
<blockquote cite="mid:196470209.334472.1394800621702.JavaMail.root@i-link.co.in" type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=utf-8">
<div>
<div>Hello Jonathan,<br>
</div>
<div><br>
</div>
<div>Thanks for you reply. I tried the steps you had suggested but still the issue persists.  Any further help will be greatly appreciated.<br>
</div>
<div><br>
</div>
<div>Thank You.<br>
</div>
<div><br>
</div>
<hr id="zwchr">
<div data-mce-style="color: #000; font-weight: normal;
          font-style: normal; text-decoration: none; font-family:
          Helvetica,Arial,sans-serif; font-size: 12pt;">
<b>From: </b>"Jonathan Hoser" <a class="moz-txt-link-rfc2396E" href="mailto:jonathan.hoser@helmholtz-muenchen.de">
<jonathan.hoser@helmholtz-muenchen.de></a><br>
<b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Sent: </b>Friday, March 14, 2014 12:52:52 PM<br>
<b>Subject: </b>Re: [Spacewalk-list] Client machine update issue without internet<br>
<div><br>
</div>
<div class="moz-cite-prefix">On 03/14/2014 07:44 AM, Dhaval Oza wrote:<br>
</div>
<blockquote cite="mid:5322A530.7030900@i-link.co.in"><br>
On 03/13/2014 04:03 PM, Stuart Green wrote:
<blockquote cite="mid:5321C8A6.5060905@doccentrics.com"><br>
<blockquote>Dear Sir, <br>
<br>
We have configured and installed  Spacewalk Server 2.2  nightly on Centos 6.5 & spacewalk client machine. All things are working perfectly fine on server side also the client side tool has been installed on server to communicate with client machine with activation
 key for getting updates from spacewalk server but the problem is when i stop internet connection on client machine we are not getting any updates and also when I trigger "yum repolist" command on client machine it shows  0 packages available.
<br>
<br>
My problem is what to configure on client machine so I can get all the updates from spacewalk server without internet connection.
<br>
<br>
And also let me know what to do on client machine and which file we have to check and do the changes accordingly .
<br>
<br>
It will be grateful if any one can help us in solving the issue. <br>
<br>
Thanks and Regards, <br>
Dhaval Oza. <br>
<br>
_______________________________________________ <br>
Spacewalk-list mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com" target="_blank" data-mce-href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank" data-mce-href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a>
<br>
</blockquote>
<br>
<br>
Sir... How very nice :) <br>
<br>
Are the clients registered in the gui, if so it should show what packages can be updated on the clients?
<br>
<br>
Stuart <br>
<br>
_______________________________________________ <br>
Spacewalk-list mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com" target="_blank" data-mce-href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank" data-mce-href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a>
<br>
</blockquote>
<br>
<br>
Hi Stuart,<br>
<br>
We are registered clients on Spacewalk Server.<br>
<big><big>My Spacewalk Server IP is 192.168.12.52</big></big><big><big>Below are the Client side configuration detail :</big></big><big>#########
<big>Client Side Configuration</big> ########## rpm -Uvh <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://spacewalk.redhat.com/yum/2.1-client/RHEL/6/x86_64/spacewalk-client-repo-2.1-2.el6.noarch.rpm" target="_blank" data-mce-href="http://spacewalk.redhat.com/yum/2.1-client/RHEL/6/x86_64/spacewalk-client-repo-2.1-2.el6.noarch.rpm">
http://spacewalk.redhat.com/yum/2.1-client/RHEL/6/x86_64/spacewalk-client-repo-2.1-2.el6.noarch.rpm</a> BASEARCH=$(uname -i) rpm -Uvh
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm" target="_blank" data-mce-href="http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm">
http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm</a> ###Activate your clinet system#### rhnreg_ks --serverUrl=<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://192.168.12.52/XMLRPC" target="_blank" data-mce-href="http://192.168.12.52/XMLRPC">http://192.168.12.52/XMLRPC</a>
 --activationkey=<Key-with-rhel-custom-channel> #####Install packages to enable Configuration File Management#### yum –y install osad rhncfg rhncfg-actions rhncfg-client rhncfg-managemen #####Install the Spacewalk Organization Cert on the Client#### wget -O
 /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://192.168.12.52/pub/RHN-ORG-TRUSTED-SSL-CERT" target="_blank" data-mce-href="http://192.168.12.52/pub/RHN-ORG-TRUSTED-SSL-CERT">
http://192.168.12.52/pub/RHN-ORG-TRUSTED-SSL-CERT</a> rhn-actions-control --enable-all rhn-actions-control --report #####Start osad service so that remote actions are executed quickly rather than waiting for the systems to check in: yum install osad* yum install
 jabber* service osad start chkconfig osad on /usr/bin/perl -p -i -e "s/osa_ssl_cert =/osa_ssl_cert = \/usr\/share\/rhn\/RHN-ORG-TRUSTED-SSL-CERT/g" /etc/sysconfig/rhn/osad.conf It will be grateful if any one can help us in solving the issue. Thanks and Regards,
 Dhaval Oza.</big></blockquote>
<br>
Dear Dhaval,<br>
go to /etc/yum.repos.d/<br>
and edit CentOS-Base.repo<br>
for every section in the file, make sure you have the string 'enabled=0' <br>
in place.<br>
Then do a 'yum clean all'<br>
and a yum repolist<br>
and it shall only list your spacewalk channels.<br>
<br>
Best<br>
-Jonathan<br>
<br>
<br>
<pre class="moz-signature">-- 
Jonathan Hoser, M.Sc.
Institute of Bioinformatics and System Biology
WWW: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mips.helmholtz-muenchen.de" target="_blank" data-mce-href="http://mips.helmholtz-muenchen.de">http://mips.helmholtz-muenchen.de</a>

</pre>
<br>
<hr>
<span data-mce-style="color: black; font-family: Arial;
            font-size: xx-small;" face="Arial">Helmholtz Zentrum München<br>
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)<br>
Ingolstädter Landstr. 1<br>
85764 Neuherberg<br>
<a class="moz-txt-link-abbreviated" href="http://www.helmholtz-muenchen.de">www.helmholtz-muenchen.de</a><br>
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe<br>
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen<br>
Registergericht: Amtsgericht München HRB 6466<br>
USt-IdNr: DE 129521671<br>
</span><br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>
<div><br>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Jonathan Hoser, M.Sc.
Institute of Bioinformatics and System Biology

WWW: <a class="moz-txt-link-freetext" href="http://mips.helmholtz-muenchen.de">http://mips.helmholtz-muenchen.de</a>

</pre>
<br>
<hr>
<font face="Arial" color="Black" size="1">Helmholtz Zentrum München<br>
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)<br>
Ingolstädter Landstr. 1<br>
85764 Neuherberg<br>
www.helmholtz-muenchen.de<br>
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe<br>
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen<br>
Registergericht: Amtsgericht München HRB 6466<br>
USt-IdNr: DE 129521671<br>
</font>
</body>
</html>