Ah, sorry I forgot: Curl - as supplied by the CentOS repos - caused major issues for me using the https transfer of repo-data from the SW-server. There are (were?) some serious issues with the certificate handling. Check if you are having curl-7.30.0 in place. If not, get: c-ares-1.10.0-1.0.cf.rhel6.x86_64.rpm curl-7.30.0-2.0.cf.rhel6.x86_64.rpm libcurl-7.30.0-2.0.cf.rhel6.x86_64.rpm libssh2-1.4.3-6.0.cf.rhel6.x86_64.rpm from a repository near you place them in a tar, and this on the spacewalk server and install them i.e. using:
echo "# updating CURL and LIBCURL to 7.30!" mkdir -p /tmp/curlUp pushd /tmp/curlUp wget http://spacewalkserver/pub/curlUp.tar tar -xf curlUp.tar sed -i "s/useNoSSLForPackages=0/useNoSSLForPackages=1/g" /etc/sysconfig/rhn/up2date yum -y localinstall --nogpgcheck *.rpm sed -i "s/useNoSSLForPackages=1/useNoSSLForPackages=0/g" /etc/sysconfig/rhn/up2date popd rm -rf /tmp/curlUp ... Worth a try. Best -Jonathan On 03/14/2014 01:37 PM, Dhaval Oza wrote: Hello Jonathan, Thanks for you reply. I tried the steps you had suggested but still the issue persists. Any further help will be greatly appreciated. Thank You. ________________________________ From: "Jonathan Hoser" <[email protected]><mailto:[email protected]> To: [email protected]<mailto:[email protected]> Sent: Friday, March 14, 2014 12:52:52 PM Subject: Re: [Spacewalk-list] Client machine update issue without internet On 03/14/2014 07:44 AM, Dhaval Oza wrote: On 03/13/2014 04:03 PM, Stuart Green wrote: Dear Sir, 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. My problem is what to configure on client machine so I can get all the updates from spacewalk server without internet connection. And also let me know what to do on client machine and which file we have to check and do the changes accordingly . It will be grateful if any one can help us in solving the issue. Thanks and Regards, Dhaval Oza. _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list Sir... How very nice :) Are the clients registered in the gui, if so it should show what packages can be updated on the clients? Stuart _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list Hi Stuart, We are registered clients on Spacewalk Server. My Spacewalk Server IP is 192.168.12.52Below are the Client side configuration detail :######### Client Side Configuration ########## rpm -Uvh http://spacewalk.redhat.com/yum/2.1-client/RHEL/6/x86_64/spacewalk-client-repo-2.1-2.el6.noarch.rpm BASEARCH=$(uname -i) rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/$BASEARCH/epel-release-6-8.noarch.rpm ###Activate your clinet system#### rhnreg_ks --serverUrl=http://192.168.12.52/XMLRPC --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 http://192.168.12.52/pub/RHN-ORG-TRUSTED-SSL-CERT 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. Dear Dhaval, go to /etc/yum.repos.d/ and edit CentOS-Base.repo for every section in the file, make sure you have the string 'enabled=0' in place. Then do a 'yum clean all' and a yum repolist and it shall only list your spacewalk channels. Best -Jonathan -- Jonathan Hoser, M.Sc. Institute of Bioinformatics and System Biology WWW: http://mips.helmholtz-muenchen.de ________________________________ Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de<http://www.helmholtz-muenchen.de> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671 _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list -- Jonathan Hoser, M.Sc. Institute of Bioinformatics and System Biology WWW: http://mips.helmholtz-muenchen.de ________________________________ Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
