[Spacewalk-list] jabberd log files

Hagberg, Keith Keith.Hagberg at FMR.com
Tue Mar 15 12:48:12 UTC 2011


I tried doing the sqlite option and after setting it up it never seems to work. 

I stopped osa-dispatcher and jabberd,
Modified the sm.xml
Deleted the /var/lib/jabberd/db/ contents
Created the sqlite.db file
Restarted everything

Still did not work,

Then stopped osad on client, deleted osad-auth.conf and restart osad 
And still nothing.

I have successfully deleted the sm.db and restarted but clients would not work until I
Deleted the osad-auth.conf file and restarted osad.

Is there a way to turn off all the logging?

Again does anyone know of a way to reduce the size of the sm.db without breaking the clients osad?

Keith

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of r.rigby at leeds.ac.uk
Sent: Monday, March 14, 2011 10:32 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] jabberd log files

hi keith,

> I have confirmed this will break osad on the client. The only way to get the client to work after this is to stop osad, delete the osad-auth.conf file and restart osad.
>

i don't believe this is necessarily the expected behaviour, and wasn't the 
case with our installation before upgrading to 1.2, at which point we 
found it was necessary to remove the osad-auth.conf on the clients, after 
removing the jabberd database, in order for them to be able to successfully 
connect to to the server again.

> Is there a way to manage sm.db or not.

not entirely sure what you mean by this. but in our case, i have found 
using sqlite to be more reliable. the relevant section from the sm.xml is:

   <!-- Storage database configuration -->
   <storage>
     <!-- Dynamic storage modules path -->
     <path>/usr/lib/jabberd</path>

     <!-- By default, we use the MySQL driver for all storage -->
     <!-- <driver>db</driver> -->
     <driver>sqlite</driver>

if that is of any use.
there are some useful notes on osad in this bugzilla:

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

which are worth reading through.

i haven't really had time to delve into all of this in great detail, and 
have only really done enough to get things working on our installation, so 
i'm no authority on the matter, but hope this is of some use.

many thanks,

richard

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list