Q: Yosemite Server Wiki started but getting "Wiki service is turned off."
Hi,
I just upgraded to the new OS X Server - version 4 (14S333) - for Yosemite from the previous version for Maverick on my Mac Mini (2010). I tried to browse to the wiki and I got the following error message:
Easy fix, I just need to start the service... except that, according to Server, the service was indeed started already!? This is quite strange so, after ensuring that both the OS (Yosemite 10.10.1) and the Server application were up-to-date, and using the Server application, I tried to:
- stop and start the service multiple times
- restart the mac-mini where the server is running
- access the wiki using:
- the link provided by Server on the Wiki page
- the HTTP and HTTPS address of the server
- the local address of the server
- the eternal and local IP of the server
Nothing worked, so I moved to the command line and try to stop/start the service using the serveradmin command. I also check the status of the service:
$ sudo serveradmin fullstatus wiki
wiki:state = "RUNNING"
wiki:countOfActiveUsers = 7
and found out that the count of active users increment every-time I tried to access the wiki (but get the aforementioned error message). At least that tells me that I am reaching the right server.
Anyone experienced something similar? Or has any idea for me on how to solve this?
Thanks in advance for your help,
Patrice
Mac mini, OS X Yosemite (10.10.1)
Posted on Nov 19, 2014 9:12 PM
Thanks Linc,
This actually helped me. I found the issue not in the Collaboration Daemon Log, but in the system log:
Nov 20 20:38:26 bigfoot.mydomain.com servermgr_web[70711]: servermgr_web: XSWebConfig sync failed; detail:Error Domain=XSServerFoundationErrorDomain Code=7 "Failed to write settings." UserInfo=0x7f99d3d66ca0 {NSLocalizedDescription=Failed to write settings.}
Nov 20 20:38:26 bigfoot.mydomain.com servermgr_web[70711]: xswebconfig failed: EXCEPTION: No place to put SSL directives, vhost transactions.mydomain.com (
0 CoreFoundation 0x00007fff93c8064c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8d8a76de objc_exception_throw + 43
2 CoreFoundation 0x00007fff93c801e9 -[NSException raise] + 9
3 ServerFoundation 0x0000000103ea3438 -[WebVHost reconstruct] + 9157
4 ServerFoundation 0x0000000103e9b25c -[ConfigFile write] + 203
5 ServerFoundation 0x0000000103ea0677 -[WebVHost write] + 1604
6 ServerFoundation 0x0000000103eac1c6 -[WebConfig setSettings:] + 12904
7 ServerFoundation 0x0000000103eafc05 -[WebConfig write:] + 297
8 ServerFoundation 0x0000000103e38390 -[XSWebConfig synchronizeAndReturnError:] + 188
9 servermgr_web 0x0000000104121a52 set_webapp_state_with_webconfig + 3219
10 servermgr_web 0x0000000104121cf0 set_webapp_state_variant + 200
11 servermgr_web 0x00000001041232fa -[servermgr_web setWebAppStateWithRequest:] + 204
12 CoreFoundation 0x00007fff93b5933c __invoking___ + 140
13 CoreFoundation 0x00007fff93b59192 -[NSInvocation invoke] + 290
14 libservermgrcommon.dylib 0x0000000103dfc137 -[PluginRequestHandler doProcessInputWithRequest:context:lockFileFD:] + 3348
15 libservermgrcommon.dylib 0x0000000103df5431 __45-[GenericPlugin doCommand:forUser:withReply:]_block_invoke + 585
16 libdispatch.dylib 0x00007fff93ebb323 _dispatch_call_block_and_release + 12
17 libdispatch.dylib 0x00007fff93eb6c13 _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff93eba365 _dispatch_queue_drain + 1100
19 libdispatch.dylib 0x00007fff93ebbecc _dispatch_queue_invoke + 202
20 libdispatch.dylib 0x00007fff93eb96b7 _dispatch_root_queue_drain + 463
21 libdispatch.dylib 0x00007fff93ec7fe4 _dispatch_worker_thread3 + 91
22 libsystem_pthread.dylib 0x00007fff9ae1f6cb _pthread_wqthread + 729
23 libsystem_pthread.dylib 0x00007fff9ae1d4a1 start_wqthread + 13
This transactions sub-domain has nothing to do with the main site and this is not nothing that I have added since migrating (it was there before). However, for some reason, this SSL directive failure was blocking the wiki.
To solve this issue, I simply remove this website from the server and now the wiki works fine. Now I have to try to re-add the website and have it to play nicely with the Wiki.
Posted on Nov 20, 2014 8:08 PM
