[Spacewalk-list] jabber sm segfault

Slava Bendersky volga629 at networklab.ca
Sun Feb 28 15:23:47 UTC 2016


Hello Everyone, 
I am use the following sh to rotate jabber logs. 


#!/bin/bash 
# 
# 
# 
sudo -u jabber db_checkpoint -1 -h /var/lib/jabberd/db/ 
db_archive -a -h /var/lib/jabberd/db/ 
db_archive -d -h /var/lib/jabberd/db/ 
service jabberd restart 

Slava. 



From: "Thomas Mueller" <thomas at chaschperli.ch> 
To: "spacewalk-list" <spacewalk-list at redhat.com> 
Sent: Friday, 26 February, 2016 05:57:51 
Subject: Re: [Spacewalk-list] jabber sm segfault 



Am 25.02.2016 um 12:50 schrieb Stehle, Christian: 





Hi, 



i tried this workaround and it seems to work. 

https://bugzilla.redhat.com/show_bug.cgi?id=1222868 



in etc/crontab I call once a day this command to reset the jabbed db, now with a short sleep before starting osa-dispatcher. 



service jabberd stop 

service osa-dispatcher stop 

rm -Rf /var/lib/jabberd/db/* 

service jabberd start 

sleep 10m (or other time, depends on number of systems running) 

service osa-dispatcher start 




Deleting /var/lib/jabberd you'll delete all state information about jabber clients. This will cause you trouble if you have spacewalk/satellite proxies in use. The clients connected to the spacewalk-proxy won't notice the deleted data and therefore not re-subscribe. Any osad action regarding this clients will be queued without a error message until the osad service on the affected services get restarted. 

I would not recommend to delete jabberd data. 


- Thomas 



_______________________________________________ 
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/20160228/5cdb447a/attachment.htm>


More information about the Spacewalk-list mailing list