Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Network > General > Issue <<  206 of 208 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 12737
Last update: 05-15-08
Issue:
How do I clean up jabberd databases in a Red Hat Network (RHN) Satellite?
Resolution:

One of the components of Red Hat Nework (RHN) Satellite is a jabber server (jabberd) that manages the communication part of the 'push' feature to Satellite clients. This service keeps an internal database using a Berkeley DB in /var/lib/jabberd, but there is no in-place mechanism to purge this database. After some time this directory can grow significantly.

This article describes a method for cleaning up this database using Berkeley DB tools without affecting the service's internal data. The main purpose of this procedure is to reduce the amount of disk space used by the jabber server's database. It is important to note that the files present in /var/lib/jabberd are not log files, even if they have names starting with log; removing these files can affect the jabber server.

To perform a cleanup of jabberd's database on the Red Hat Nework (RHN) Satellite server:

  1. Install Berkeley DB utilities:
    # up2date db4-utils
  2. Stop the jabber server:
    # service jabberd stop
  3. Invoke db_archive to remove the transaction log files that are no longer in use:
    # cd /var/lib/jabberd
    # db_archive -d
  4. Start the jabber server:
    # service jabberd start


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Network > General > Issue <<   206  of  208  >>