Jabber fixes

I spent more than a few minutes trying to remedy a problem with an RHEL3-based Jabber2 server today that's worth noting. Following an abrupt powerloss, the jabberd process wouldn't start, exiting with "ERROR: sm died. Shutting down server." Also, in the syslog, these lines appeared: Oct 21 10:24:13 jabber jabberd/c2s[30142]: db: couldn't open environment: Invalid argument Oct 21 10:24:13 jabber jabberd/c2s[30142

I spent more than a few minutes trying to remedy a problem with an RHEL3-based Jabber2 server today that's worth noting. Following an abrupt powerloss, the jabberd process wouldn't start, exiting with "ERROR: sm died. Shutting down server." Also, in the syslog, these lines appeared:


Oct 21 10:24:13 jabber jabberd/c2s[30142]: db: couldn't open environment: Invalid argument
Oct 21 10:24:13 jabber jabberd/c2s[30142]: failed to initialise auth module 'db'

This server is using a Berkeley DB for the backend, rather than MySQL or postgreSQL. A few Google searches showed little. Some thought into the matter had me downloading db4-utils and running a db_recover in the /var/jabberd/db directory, and all was once again well.

From CIO: 8 Free Online Courses to Grow Your Tech Skills
Join the discussion
Be the first to comment on this article. Our Commenting Policies