Hi Steve,
Thanks for you help, your hint was very useful. I've done the following on Server and Client: rpm -Uhv http://spacewalk.der.de/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm Checked /etc/sysconfig/rhn/up2date and set the following parametes: serverURL=https://set_to_my_server_name/XMLRPC sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT Afterwards I've added the Server again with rhnreg_ks command, but I am not sure if this was necessary at all. Well, now I can successfully issue the command: rhncfg-client get /etc/httpd/conf.d/forallwebs.conf Using server name spacewalk.der.de Deploying /etc/httpd/conf.d/forallwebs.conf It also works via remote command: #!/bin/sh rhncfg-client get /etc/httpd/conf.d/forallwebs.conf /etc/init.d/httpd reload Thank you very much. Greetings, Sabine Von: [email protected] [mailto:[email protected]] Im Auftrag von Steve Meier Gesendet: Dienstag, 16. Oktober 2012 15:23 An: [email protected] Betreff: Re: [Spacewalk-list] deploy configuration file andreload/restartservice Hi Sabine, here are a two things you might want to check: 1) Does /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT match your servers certificate? 2) Is the clock on the client synced properly? Kind regards, Steve Am 16.10.2012 um 14:59 schrieb <[email protected]>: Hi Steve, Thanks for your help... I've tried running rhncfg-client command manually first, but I get the following error-message L rhncfg-client get /etc/httpd/conf.d/forallwebs.conf Using server name spacewalk.der.de XML-RPC error while talking to https://spacewalk.der.de/CONFIG-MANAGEMENT: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')] Haven't found anything yet to solve that problem... Sabine Von: [email protected] [mailto:[email protected]] Im Auftrag von Steve Meier Gesendet: Dienstag, 16. Oktober 2012 14:34 An: [email protected] Betreff: Re: [Spacewalk-list] deploy configuration file and reload/restartservice Hi Sabine, one way could be to run the deployment and restart in one scheduled remote command using rhncfg-client, like this: rhncfg-client get /etc/httpd/conf/httpd.conf /sbin/service httpd reload Hope this helps. Kind regard, Steve Am 16.10.2012 um 13:45 schrieb <[email protected]>: Hello all, I've installed spacewalk 1.7 on Centos 6.3 and created a configuration channel containing one centrally managed file. Currently there is only one system that subscribed to this config channel, it also works for me to deploy the managed config file to the system. But I would also like to reload or restart some services (e.g. /etc/init.d/httpd reload) after deploying the file via config channel. I wonder if this is possible? If so, how can it be done? I've noticed that there is a possibility to schedule a remote command, but how can I link the schedule of a remote command with the deployment of a config file? Or is there any other way to do so? Thank you in advance. Greetings, Sabine _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
