Apple Event: May 7th at 7 am PT

Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Wiki Service error message (continuous) in OS X Server (ML) 2.2

User uploaded file


I'm getting a continuouas "Error Reading Wiki settings" on my installation of OS X Server. How do I reset those Wiki settings? I do NOT have this service enabled, yet still get errors.


I am using only the minimal services- File Sharing, Profile Manager, Open Directory, MAS Updates (new with 2.2). Here's what the Wiki screen (unenabled) shows. The error pops up whenever the Server is running.

Mac mini, OS X Mountain Lion, (3,1) 3GB RAM, 2GHz, C2D, JBOD Ext.

Posted on Dec 12, 2012 4:57 AM

Reply
Question marked as Best reply

Posted on Dec 13, 2012 4:17 AM

I was editing collabcore.plist and somehow i broke wiki 4 then it started to error out and no fix... put the original file back in... corrected permissions... restarted... nada.


Not that i encorage you to do this but i had the exact same issue.


I deleted the Server App and redownloaded. I asked me to setup a "new server" and i did using the same settings and name as the old one... it picked up the settings of the old one and wiki is up and running.


I kept my fingers crossed through the ordeal.

56 replies

Dec 14, 2012 4:46 AM in response to basilmir

basilmir wrote:


Did you play around with the files before the error...? This might be somekind of permissions issue. Open Disk Utility and Repair the disk then Repair permissions.

I did not play with any files in the past, simply had an old versions of Server installed and I think it was 2.0 or 2.1 which started having the Wiki errors, though not enabled.


Have recently run and repaired the disk while troubleshooting another drive's permission issues. Tried a repair permissions, now that I have done the other steps you indicated, which did not work. Several ACL errors were found and fixed, particularly with Users/.localized, Users/Shared, Users/Shared/.localized.


Verified the startup drive. It is OK. Still have the same error screen in Server.


I left server open overnight and it quit with an error screen. Is servermgrd closing/reopening a clue? Here is a link to the file.


Message was edited by: HenryS

Dec 14, 2012 4:49 AM in response to HenryS

I read the log:


server.local collabd[62081]: [CSServiceDispatchHTTPRouter:120 854d000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing Request{SessionService.currentOrNewSession()}:


It seems it has trouble connecting to the db server.


I read something the other day about multiple postgres installs and how Server 2.2 had trouble upgrading since somekind of port changed. There were issues with Profile Manager or something... maybe it's linked to this.


Read here:


http://stackoverflow.com/questions/12028037/postgres-app-could-not-start-on-port -5432

https://discussions.apple.com/thread/4147192?start=0&tstart=0

Dec 14, 2012 4:58 AM in response to basilmir

Even if that were the case, I have no idea how to check for it, or fix. Do you? The links you referred to are quite vague and not a direct solution to DB Server.

basilmir wrote:


I read the log:


server.local collabd[62081]: [CSServiceDispatchHTTPRouter:120 854d000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing Request{SessionService.currentOrNewSession()}:


It seems it has trouble connecting to the db server.


Dec 20, 2012 9:33 AM in response to HenryS

Hi Henry,


Sorry to hear of your trouble. Can you please attach the contents of /var/log/system.log from the time between opening Server.app and seeing the "Error Reading Settings" message in the Wiki service? The Wiki service logs are in /Library/Server/Wiki/Logs and will help diagnose the problem further.


Another thing that will help will be the output of running the following in a terminal window:

sudo psql -U collab -h "/Library/Server/PostgreSQL For Server Services/Socket"


... after which you should get a Postgres prompt, and you should type:

select * from global_settings;


A final set of steps that will help us narrow things down are:

sudo serveradmin status wiki

sudo serveradmin status postgres_server

sudo ps aux | grep collab

sudo serverctl list


Thanks,

Andrew

Dec 20, 2012 12:17 PM in response to andrewnesbitt

andrewnesbitt wrote:


Hi Henry,


Sorry to hear of your trouble. Can you please attach the contents of /var/log/system.log from the time between opening Server.app and seeing the "Error Reading Settings" message in the Wiki service? The Wiki service logs are in /Library/Server/Wiki/Logs and will help diagnose the problem further.


Another thing that will help will be the output of running the following in a terminal window:

sudo psql -U collab -h "/Library/Server/PostgreSQL For Server Services/Socket"


... after which you should get a Postgres prompt, and you should type:

select * from global_settings;


A final set of steps that will help us narrow things down are:

sudo serveradmin status wiki

sudo serveradmin status postgres_server

sudo ps aux | grep collab

sudo serverctl list


Thanks, Andrew.

Your thorough list of research ideas is very interesting. I will look into each one, but it may take some time to gather the info yourequested. Rest assured I will post the results here, so feel free to follow this thread. Will try to do on the local machine and save to a file that can attach here.


Henry

Dec 22, 2012 6:55 AM in response to andrewnesbitt

andrewnesbitt wrote:


Hi Henry,


Sorry to hear of your trouble. Can you please attach the contents of /var/log/system.log from the time between opening Server.app and seeing the "Error Reading Settings" message in the Wiki service? The Wiki service logs are in /Library/Server/Wiki/Logs and will help diagnose the problem further.


Another thing that will help will be the output of running the following in a terminal window:

sudo psql -U collab -h "/Library/Server/PostgreSQL For Server Services/Socket"


... after which you should get a Postgres prompt, and you should type:

select * from global_settings;


A final set of steps that will help us narrow things down are:

sudo serveradmin status wiki

sudo serveradmin status postgres_server

sudo ps aux | grep collab

sudo serverctl list


Thanks,

Andrew

I cannot run any of the sudo commands in Terminal. When attempting any sudo command in terminal locally, I get the following message:

sudo: unable to cache user root, already exists


Why would this be?


Henry

Dec 24, 2012 11:35 AM in response to HenryS

HenryS wrote:


Another thing that will help will be the output of running the following in a terminal window:

sudo psql -U collab -h "/Library/Server/PostgreSQL For Server Services/Socket"


... after which you should get a Postgres prompt, and you should type:

select * from global_settings;


A final set of steps that will help us narrow things down are:

sudo serveradmin status wiki

sudo serveradmin status postgres_server

sudo ps aux | grep collab

sudo serverctl list

Only login from remote works as mentioned previously. In that way, only results were from sudo line shown below:

[BubbaMacPro:/] bubba% sudo ps aux | grep collab

bubba 2410 0.6 0.0 2432768 620 s000 S+ 2:31PM 0:00.00 grep collab

Wiki Service error message (continuous) in OS X Server (ML) 2.2

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