Stopping unwanted collabd errors in /var/log/system.log on Mavericks Server
As part of standing up a new DeployStudio server on Mavericks Server in my shop, I noticed that I had a lot of errors showing up in /var/log/system.log that looked like this:
September 5 10:21:16 servername_here collabd: [CSConnectionPool.m:196 fa7d000 +9998ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access. September 5 10:21:16 servername_here collabd: [CSXCWorkSchedulerService.m:196 fa7d000 +0ms] Failed to open DB connection, retrying in 10s: [CSDatabaseError] Connection to DB failed
This error is caused by OS X Server’s wiki service trying and failing to get a database connection. Googling for those errors led me to a lot of results on how to fix a busted Wiki on OS X Server, but I wasn’t interested in running OS X’s wiki service on this box. If you’re in a similar situation, the collabd service can be stopped via Mavericks Server’s serveradmin tool to fix this issue.
To stop the collabd service, run the following command:
sudo serveradmin stop collabd
After a few minutes, you should see the following output:
collabd:state = "STOPPED"
The errors should also stop appearing in /var/log/system.log.