[Spacewalk-list] error jabber after upgrade 0.5 => 0.6
Joshua Roys
joshua.roys at gtri.gatech.edu
Fri Sep 11 12:26:40 UTC 2009
Michiel,
It looks like something is wrong with db4 which is causing c2s and sm to
not start properly. I would either re-install db4 or switch the
backends over to sqlite.
Maybe check db4 by:
# rpm -V db4
... which should return nothing if everything is okay.
If you want to switch to sqlite, do the following:
- make backups of your sm.xml and c2s.xml
- run:
# perl -p -i -e 's#<driver>db</driver>#<driver>sqlite</driver>#'
/etc/jabberd/sm.xml
# perl -p -i -e 's#<module>db</module>#<module>sqlite</module>#'
/etc/jabberd/c2s.xml
- now find a copy of db-setup.sqlite and place in /usr/share/jabberd/
-- http://codex.xiaoka.com/svn/jabberd2/trunk/tools/db-setup.sqlite
-- or, attached
# cd /var/lib/jabberd/db/
# sqlite3 sqlite.db < /usr/share/jabberd/db-setup.sqlite
# chown jabber:jabber sqlite.db
Good luck,
Joshua Roys
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: db-setup.sqlite
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090911/6b83d836/attachment.ksh>
More information about the Spacewalk-list
mailing list