Previous 1 2 Next 22 Replies Latest reply: Mar 2, 2012 10:05 AM by Mark23
matt_hornet Level 1 Level 1 (0 points)

Hi Guys,

 

I have tried a clean install twice and have had multiple issues with missing files that the system can't create, permissions out and all sorts of bugs.  I successfully have the server up and running, but have continued issues with the Profile manager and potentially linked, the Wiki server.

 

I get the standard 'Error reading configuration' when I select both the Wiki and Profile Manager.

 

Here is the log from when I click on Profile Manager:

 

Jul 25 18:35:05 My-Server servermgrd[1934]: servermgr_devicemgr: prepareForOffline: error db:migrate: 1

Jul 25 18:35:07 My-Server CoreCollaborationServer[2009]: [CSServiceDispatchHTTPConnection:197 40f360 +0ms] Caught exception "FATAL:  role "collab" does not exist

          " [PGCConnectionError] executing Request{SessionService.currentOrNewSession()}:

          (

                    0   CoreFoundation                      0x00007fff8d492986 __exceptionPreprocess + 198

                    1   libobjc.A.dylib                     0x00007fff887a1d5e objc_exception_throw + 43

                    2   PostgreSQLClient                    0x000000010f625459 -[PGCConnection init] + 0

                    3   PostgreSQLClient                    0x000000010f625535 -[PGCConnection initWithInfo:] + 157

                    4   PostgreSQLClient                    0x000000010f62509a +[PGCConnection connectWithInfo:] + 47

                    5   CSService                           0x000000010f58aba7 -[CSConnectionPool openConnection] + 852

                    6   CSService                           0x000000010f58b5fa -[CSConnectionPool openOrReuseConnection] + 249

                    7   CSService                           0x000000010f58b678 -[CSConnectionPool currentConnection] + 87

                    8   CSService                           0x000000010f5b535d -[CSEntitySchema calculateSchemaChecksum] + 42

                    9   CSService                           0x000000010f5b53e5 -[CSEntitySchema initializeCaches] + 42

                    10  CSService                           0x000000010f5b5f86 -[CSEntitySchema init] + 167

                    11  CSService                           0x000000010f5b5252 +[CSEntitySchema sharedInstance] + 66

                    12  CSService                           0x000000010f58d0ba -[CSServiceBase willExecuteRequest:] + 537

                    13  CSService                           0x000000010f588b4c -[CSServiceDispatcher executeRequest:asPartOfBatch:] + 1355

                    14  CSService                           0x000000010f588ff6 -[CSServiceDispatcher executeRequest:] + 74

                    15  collabd                             0x000000010f53914d -[CSServiceDispatchHTTPConnection httpResponseForMethod:URI:] + 1081

                    16  collabd                             0x000000010f51df35 -[HTTPConnection replyToHTTPRequest] + 614

                    17  collabd                             0x000000010f52fa7b __37-[GCDAsyncSocket completeCurrentRead]_block_invoke_0 + 91

                    18  libdispatch.dylib                   0x00007fff8829e90a _dispatch_call_block_and_release + 18

                    19  libdispatch.dylib                   0x00007fff882a015a _dispatch_queue_drain + 264

                    20  libdispatch.dylib                   0x00007fff8829ffb6 _dispatch_queue_invoke + 54

                    21  libdispatch.dylib                   0x00007fff8829f7b0 _dispatch_worker_thread2 + 198

                    22  libsystem_c.dylib                   0x00007fff866f23da _pthread_wqthread + 316

                    23  libsystem_c.dylib                   0x00007fff866f3b85 start_wqthread + 13

          )

Jul 25 18:35:07 My-Server servermgrd[1934]: servermgr_wiki: wikiconfig failed: /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:128:in `sendRequest': FATAL:  role "collab" does not exist (Collaboration::PGCConnectionError)

                    from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:116:in `map'

                    from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:116:in `sendRequest'

                    from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:153:in `execute'

                    from /usr/share/servermgrd/bundles/servermgr_wiki.bundle/Contents/Resources/wikiconf ig.rb:21:in `initialize'

                    from /usr/share/servermgrd/bundles/servermgr_wiki.bundle/Contents/Resources/wikiconf ig.rb:104:in `new'

                    from /usr/share/servermgrd/bundles/servermgr_wiki.bundle/Contents/Resources/wikiconf ig.rb:104

Jul 25 18:35:13 My-Server servermgrd[1934]: servermgr_devicemgr: prepareForOffline: error db:migrate: 1

 

And here is the log from when I click on Wiki:

 

Jul 25 18:40:08 My-Server CoreCollaborationServer[2062]: [CSServiceDispatchHTTPConnection:197 40f360 +0ms] Caught exception "FATAL:  role "collab" does not exist

          " [PGCConnectionError] executing Request{SessionService.currentOrNewSession()}:

          (

                    0   CoreFoundation                      0x00007fff8d492986 __exceptionPreprocess + 198

                    1   libobjc.A.dylib                     0x00007fff887a1d5e objc_exception_throw + 43

                    2   PostgreSQLClient                    0x0000000109601459 -[PGCConnection init] + 0

                    3   PostgreSQLClient                    0x0000000109601535 -[PGCConnection initWithInfo:] + 157

                    4   PostgreSQLClient                    0x000000010960109a +[PGCConnection connectWithInfo:] + 47

                    5   CSService                           0x0000000109569ba7 -[CSConnectionPool openConnection] + 852

                    6   CSService                           0x000000010956a5fa -[CSConnectionPool openOrReuseConnection] + 249

                    7   CSService                           0x000000010956a678 -[CSConnectionPool currentConnection] + 87

                    8   CSService                           0x000000010959435d -[CSEntitySchema calculateSchemaChecksum] + 42

                    9   CSService                           0x00000001095943e5 -[CSEntitySchema initializeCaches] + 42

                    10  CSService                           0x0000000109594f86 -[CSEntitySchema init] + 167

                    11  CSService                           0x0000000109594252 +[CSEntitySchema sharedInstance] + 66

                    12  CSService                           0x000000010956c0ba -[CSServiceBase willExecuteRequest:] + 537

                    13  CSService                           0x0000000109567b4c -[CSServiceDispatcher executeRequest:asPartOfBatch:] + 1355

                    14  CSService                           0x0000000109567ff6 -[CSServiceDispatcher executeRequest:] + 74

                    15  collabd                             0x000000010951814d -[CSServiceDispatchHTTPConnection httpResponseForMethod:URI:] + 1081

                    16  collabd                             0x00000001094fcf35 -[HTTPConnection replyToHTTPRequest] + 614

                    17  collabd                             0x000000010950ea7b __37-[GCDAsyncSocket completeCurrentRead]_block_invoke_0 + 91

                    18  libdispatch.dylib                   0x00007fff8829e90a _dispatch_call_block_and_release + 18

                    19  libdispatch.dylib                   0x00007fff882a015a _dispatch_queue_drain + 264

                    20  libdispatch.dylib                   0x00007fff8829ffb6 _dispatch_queue_invoke + 54

                    21  libdispatch.dylib                   0x00007fff8829f7b0 _dispatch_worker_thread2 + 198

                    22  libsystem_c.dylib                   0x00007fff866f23da _pthread_wqthread + 316

                    23  libsystem_c.dylib                   0x00007fff866f3b85 start_wqthread + 13

          )

Jul 25 18:40:08 My-Server servermgrd[1934]: servermgr_wiki: wikiconfig failed: /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:128:in `sendRequest': FATAL:  role "collab" does not exist (Collaboration::PGCConnectionError)

                    from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:116:in `map'

                    from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:116:in `sendRequest'

                    from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:153:in `execute'

                    from /usr/share/servermgrd/bundles/servermgr_wiki.bundle/Contents/Resources/wikiconf ig.rb:21:in `initialize'

                    from /usr/share/servermgrd/bundles/servermgr_wiki.bundle/Contents/Resources/wikiconf ig.rb:104:in `new'

                    from /usr/share/servermgrd/bundles/servermgr_wiki.bundle/Contents/Resources/wikiconf ig.rb:104

 

 

Does anyone have any ideas on where to start trouble shooting this?

 

I have seen some of the other posts about this and have configured my settings accordingly:

 

Screen Shot 2011-07-25 at 6.50.56 PM.png

 

Thanks in advance.

 

matt_hornet


Mac mini, Mac OS X (10.6.7)
  • TerryGrove Level 1 Level 1 (0 points)

    We are having the exact same issue!

  • jsherald Level 1 Level 1 (0 points)

    Same issue here as well.

  • Michael C M Level 2 Level 2 (205 points)

    Same issue here too!

  • Grant Griffith Level 2 Level 2 (165 points)

    Totally out of the blue - as in it worked this morning, not on iOS devices see issues relates to iOS my devices showing blank - without changing any settings. Both services are showing only "Error Reading Settings"

  • Grant Griffith Level 2 Level 2 (165 points)

    After a reboot things came back, I went to bed, this morning no web functions are working on this server. It is doing nothing...at all. No users are connecting. It is simply supposed to be a stable system for testing.

     

    It failed the test.

  • Grant Griffith Level 2 Level 2 (165 points)

    Interesting....

     

    System Logs showed a lot of iCal Server issues - it isn't running, but iChat is. So I killed the iChat service and suddenly my web apps work again and my Status > Stats are now working again.

     

    Didn't fix the iOS "My Devices" blank page issue, but...at least there is a login page.

  • minilo1 Level 1 Level 1 (0 points)

    Same here...

     

    After way too much time reinstalling and trying to work through log error message, I currently suspect that "repair permissions" screws things up, which would would explain why my system seems to work fine after a reinstall until the daily maintenance task runs... A recovery from time machine to a working state, followed by a "repair permissions" and a reboot (expecting the system to be fine) results in a screwed up system for me...

     

    Hope someone finds a workaround or Apple provide a fix very soon...

  • Jsh1971 Level 1 Level 1 (0 points)

    Only way I could make the "Error Reading Settings" issue go away was to reset PostgreSQL...  see this link:

    https://discussions.apple.com/message/15758486#15758486

  • minilo1 Level 1 Level 1 (0 points)

    Thank for the suggestion. Yes, I am aware of that as I found it while searching for a solution and have had to use it to get around the " role "collab" does not exist" while setting things up, but once everything is running smoothly and then screws up over night then I can't contact the database any more:

     

    PostgreSQLExtras> CoreCollaborationPostgreSQLExtras.sh createuser: could not connect to database postgres: could not connect to server: Permission denied

              Is the server running locally and accepting

              connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

    createdb: could not connect to database postgres: could not connect to server: Permission denied

     

    Log file says:

     

    06/08/2011 12:05:50.951 sudo:  user : TTY=ttys000 ; PWD=/System/Library/ServerSetup/CommonExtras/PostgreSQLExtras ; USER=root ; COMMAND=./CoreCollaborationPostgreSQLExtras.sh

    06/08/2011 12:06:24.467 servermgrd: servermgr_postgres: waiting for postgres to respond

    06/08/2011 12:06:24.968 servermgrd: servermgr_postgres: waiting for postgres to respond

    06/08/2011 12:06:25.469 servermgrd: servermgr_postgres: waiting for postgres to respond

    06/08/2011 12:06:25.970 servermgrd: servermgr_postgres: waiting for postgres to respond

    06/08/2011 12:06:26.471 servermgrd: servermgr_postgres: Timed out trying to start postgres.

     

     

    My log spews out the following every ten seconds or so (strangely, the Podcast services are not turned on as I do not need/want them):

     

    06/08/2011 12:34:17.645 com.apple.pcastlibraryredirectord: Podcast Producer is configured, not launching the URL redirector.

    06/08/2011 12:34:17.646 com.apple.launchd: (com.apple.pcastlibraryredirectord) Throttling respawn: Will start in 5 seconds

    06/08/2011 12:34:23.089 com.apple.collabd.notifications: /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:42:in `http_put': Couldn't connect to server (Curl::Err::ConnectionFailedError)

    06/08/2011 12:34:23.089 com.apple.collabd.notifications:           from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:42:in `http_put'

    06/08/2011 12:34:23.089 com.apple.collabd.notifications:           from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:102:in `sendRequest'

    06/08/2011 12:34:23.089 com.apple.collabd.notifications:           from /usr/share/collabd/server/ruby/lib/collaboration/service_client.rb:153:in `execute'

    06/08/2011 12:34:23.089 com.apple.collabd.notifications:           from notifications.rb:145:in `initialize'

    06/08/2011 12:34:23.089 com.apple.collabd.notifications:           from notifications.rb:439:in `new'

    06/08/2011 12:34:23.089 com.apple.collabd.notifications:           from notifications.rb:439

    06/08/2011 12:34:23.101 com.apple.launchd: (com.apple.collabd.notifications[15648]) Exited with code: 1

    06/08/2011 12:34:23.101 com.apple.launchd: (com.apple.collabd.notifications) Throttling respawn: Will start in 9 seconds

    06/08/2011 12:34:23.000 kernel: nstat_lookup_entry failed: 2

     

    After rebooting there are no new messages in the PostgreSQL.log file, but prior to that, after services were misbehaving, I can still find the following in that log file:

     

    2011-08-05 22:33:21 CEST LOG:  connection authorized: user=collab database=collab

    2011-08-05 22:38:52 CEST LOG:  connection received: host=[local]

  • Spinland Level 1 Level 1 (50 points)

    Running the scripts in the directory mentioned in the following thread cleared up my Server App error messages for both Wiki and Profile Manager, as well as got webmail up and running:

     

    https://discussions.apple.com/message/15758486#15758486

  • matt_hornet Level 1 Level 1 (0 points)

    I fixed it with yet another clean reinstall...  Probably not the news you were after.

  • minilo1 Level 1 Level 1 (0 points)

    That doesn't work for me -- at least it only works temporarily. After a day or two or a reboot, it's broken again.

  • minilo1 Level 1 Level 1 (0 points)

    How long did that fix it for? I can "fix" my system but it breaks on reboot or after a day or two of running on its own.

  • jsherald Level 1 Level 1 (0 points)

    Mine is a recurring issue as well.  I give up.  Continual breakage since I purchased it on 7/27.

Previous 1 2 Next