Skip navigation

My MacMini Server not working in OSX10.8

6763 Views 13 Replies Latest reply: Jan 30, 2013 11:45 AM by garmstrong RSS
mickyware Calculating status...
Currently Being Moderated
Jul 27, 2012 9:55 AM

I have error in  Server

 

A networking error occurred while trying to communicate with the server.

If you continue to have problems, check your network connection and restart Server.

 

then every service can't turn ON

it's only show "Error Reading Settings"

 

I get this message in Console.

 

7/27/12 11:37:02.671 PM Server[10708]: Error: The server '127.0.0.1' reported an error while processing a command of type: 'getLoggedEvents' in plug-in: 'servermgr_info'. Error: Error Domain=XSActionErrorDomain Code=499 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “127.0.0.1” which could put your confidential information at risk." UserInfo=0x7ff047c36590 {NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “127.0.0.1” which could put your confidential information at risk., originalError=Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “127.0.0.1” which could put your confidential information at risk." UserInfo=0x7ff046c95470 {NSURLErrorFailingURLPeerTrustErrorKey=<SecTrust 0x7ff046d8c050 [0x7fff7bd15190]>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7ff042cdcb90 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “127.0.0.1” which could put your confidential information at risk.", NSErrorPeerCertificateChainKey=(

    "<SecCertificate 0x7ff046c57df0 [0x7fff7bd15190]>"

), NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “127.0.0.1” which could put your confidential information at risk., NSErrorFailingURLKey=https://127.0.0.1:311/commands/servermgr_info, NSErrorFailingURLStringKey=https://127.0.0.1:311/commands/servermgr_info, NSErrorClientCertificateStateKey=0}}

Mac mini, OS X Server
  • dreness Level 1 Level 1 (30 points)
    Currently Being Moderated
    Jul 27, 2012 1:47 PM (in response to mickyware)

    Hi,

     

    Is this an upgrade or a new server?

     

    The error seems to be related to SSL; do you have any custom SSL certificates? Server.app uses SSL to commuicate with the server it is managing, even if it is running on the server itself - it looks like the SSL cert used for the Server.app connection to the server has some problem; this is distinct from the SSL certs used by *services* (like mail, calendar, etc).

     

    Check out the settings in Server.app under Hardware --> your server --> settings --> SSL Certificate (click the Edit button) - look under the menu to see the list of certificates; on a new server you should see two self-signed certs. If you then choose "manage certificates" from the gear menu, you should see an additional 'fallback' cert. I'm not suggesting you make any changes here, but I am curious what you see in there.

     

    Perhaps there was something weird about the network config when Server.app ran through the initial setup, causing something funky with the SSL certs... There may be evidence of this in /Library/Logs/ServerSetup.log. If you want to 'reset' and try again, it's safe to move Server.app to the trash and then re-install it to redo the initial server setup - any server user data should remain in /Library/Server.

     

    Hope this helps,

    -dre

  • DenisF Level 2 Level 2 (150 points)
    Currently Being Moderated
    Jul 28, 2012 2:52 PM (in response to mickyware)

    Even if you are probably more experts than me, have a look to my post:

     

    TIPS: OS X server installation lessons learnt (for non Guru)

  • Mark23 Level 3 Level 3 (975 points)
    Currently Being Moderated
    Aug 1, 2012 11:27 AM (in response to mickyware)

    Error reading settings... I have them too... In Lion Server it was a problem with the new database which was changed from MySQL to PostgreSQL. Maybe resetting postgres helps?

  • Mark23 Level 3 Level 3 (975 points)
    Currently Being Moderated
    Aug 5, 2012 8:07 AM (in response to mickyware)

    The problem wasn't that it didn't run, there was a role missing called collab.

     

    In Mountain Lion the option to solve the problem are somewhat limited, it used to be:

     

    sudo sh /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras/CoreCollaborationPost g reSQLExtras.sh

     

    That would build the roles and set up the database for use with wiki.

     

    I need to find another way to reset postgres under OS X Server... I knew there were multiple commands in that file.

     

    Well hopefully there's a good workaround for this in OS X Server.

  • Mark23 Level 3 Level 3 (975 points)
    Currently Being Moderated
    Aug 5, 2012 8:25 AM (in response to mickyware)

    Well that is because the file is no longer there, sorry. All problems in Lion Server with Error Reading Settings were related to PostgreSQL, which Apple implemented because the license of MySQL changed in a way that it couldn't be bundled with commercial software, if I recall correctly.

     

    I do not know the fix for OS X Server yet, but my upgraded wiki runs well. I have a different server for my wiki and my web services, as do I have a different one for Open Directory, like recommended.

     

    There was absolutely no way I could get the wiki run in a stable fashion alongside the web server.

  • jonizen Calculating status...
    Currently Being Moderated
    Aug 10, 2012 2:27 AM (in response to Mark23)

    I got both wiki and webserver running along without problems, i got my blogg page hosted on webservice and a wiki page up and running.

  • dbair Calculating status...
    Currently Being Moderated
    Jan 26, 2013 5:12 PM (in response to mickyware)

    I too have this error with the wiki on a newly purchased Mac Mini which I also newly purchased the OSX Server app. After lots of research it appears to be a but in the Ruby on rails used for the Wiki. The main error blocking the Wiki app is "Time zone displacement out of range" which is preventing the wiki database from being built on Postgress (which is running no problem for the other server apps). Not sure if Apple is aware of this bug, but my server app just crashed this morning and I took advantage of submitting that error information to also document the wiki error, too.

  • garmstrong Calculating status...
    Currently Being Moderated
    Jan 30, 2013 11:45 AM (in response to dbair)

    I am having the same problem.  I was upgrading the server to Snow Leopard and the latest accompanying Server App.

     

    It first started with "An SSL error has occurred and a secure connection to the server cannot be made"  An Apple solution said to get into the Keychain Access and type in "com.apple.servermgrd" in the search box and highlight the two that come up (identity preference and certificate) - and then delete them.  A red circle X will appear over them. 

     

    Then I proceeded to set up again, and all went fine until a yellow trianlge came up which described failing to upgrade services - I clicked "Finish" and the server set everything up except Wiki, which then produced the error "An error occurred on the server while reading settngs.  The error occurred whil reading settings for the Wiki service."

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.