[Spacewalk-list] deploy configuration file and reload/restartservice

Steve Meier email at steve-meier.de
Tue Oct 16 13:22:50 UTC 2012


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 <Sabine.Jordan at der.net>:

> 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: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] Im Auftrag von Steve Meier
> Gesendet: Dienstag, 16. Oktober 2012 14:34
> An: spacewalk-list at redhat.com
> 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 <Sabine.Jordan at der.net>:
> 
> 
> 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
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>  
> _______________________________________________
> Spacewalk-list mailing list
> 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/20121016/52cd5fda/attachment.htm>


More information about the Spacewalk-list mailing list