Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

10.8.2 - Messages Server Stopped Working

Original post: https://discussions.apple.com/thread/4321495?answerId=19663473022#19663473022


Just installed 8.2 and the new Server and now my Jabber server will not start.


It just says can't read settings in the ui and at the command line I get:


jabber:error = "CANNOT_LOAD_BUNDLE_ERR"


ML Server is pretty awesome but it's been a disaster so far for me. I am thinking if I could just find the settings file maybe it's corrupt and I can force it to recreate them.. ?


Mac mini Server (Mid 2011), OS X Server

Posted on Sep 21, 2012 3:30 AM

Reply
22 replies

Feb 5, 2013 9:05 AM in response to Erich Wetzel

Erich, your solution of replacing the 'jabberd' directory with a backup worked wonders!


I installed Server.app v2.2.1 last night and the Messages service immediately stopped working. After inspecting differences in the directory it looks like some of the SessionManager configurations got mangled by the update. I swapped directories and I'm back up and running. Thanks!

Feb 5, 2013 10:47 AM in response to Michael Lake

UPDATE:

Okay, so that actually didn't quite fix the issue like I thought it did. While replacing the jabberd directory did allow me to log in and chat with others, the Rooms part of the service started throwing a TON of errors in the Console. I think my issue had to do with the fact that I have several domains listed in my jabber config, and something about the Server.app 2.2.1 update caused that list to get out of sync.


After halting Messages, I replaced the 2.2.1 version of the jabberd directory, then using the command line, I reset jabber's domain list to be only my server's hostname: serveradmin settings jabber:hostsCommaDelimitedString = "server.domain.com". I then re-ran the command, but with my entire domain list, including the hostname up front (e.g., "server.domain.com,domain.com,domain2.com"). I restarted Messages and everything seems to be working normally. Chat is up and running and the log files are clean.

Sep 19, 2013 7:41 PM in response to Erich Wetzel

I believe that I'm having similar issues -- I can't even get jabber to start after the v2.2.2 upgrade. Would you please post what your jabberd condifuration directory looks like? Here's what I see:


cd /Library/Server/Messages/Config/jabberd ; ls -l *.xml

-rw------- 1 _jabber wheel 25293 Sep 19 22:10 c2s.xml

-rw------- 1 _jabber wheel 1683 Sep 22 2012 router-filter.xml

-rw------- 1 _jabber wheel 267 Sep 19 21:43 router-users.xml

-rw------- 1 _jabber wheel 8329 Sep 19 22:10 router.xml

-rw------- 1 _jabber wheel 12336 Sep 19 21:43 s2s.xml

-rw------- 1 _jabber wheel 32648 Sep 19 22:10 sm.xml


Any ideas how to clear out the jabberd plist/database configuration to start from scratch and get jabberd working again? I've tried


sudo rm /private/var/run/jabberd/*.pid /Library/Server/Messages/Data/sqlite/jabberd2.db /Library/Preferences/com.apple.messageserver.plist


I also tried removing the entire directory /Library/Server/Messages, but only the ./Data subdirectory is recreated -- and the ./Config directory is not.

10.8.2 - Messages Server Stopped Working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.