Knowledge base

Server App or Server Admin can't connect to a new Lion server

Posted in Apple Portable Computers

Symptoms

In some situations, servermgrd may not start automatically on a newly-installed Lion Server. This can cause the following symptoms:

  • Server App's login window will shake even though the correct username and password have been entered.
  • Server Admin will show an alert:
    "Could not connect to server.example.com.
    Server Admin was unable to connect to the server at server.example.com."

Products Affected

Lion Server

Resolution

To check if servermgrd is loaded, see the output of this command in Terminal:

sudo launchctl list | grep -q com.apple.servermgrd && echo loaded || echo not loaded

If the output is "not loaded", load the com.apple.servermgrd job into launchd with this command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.servermgrd.plist

One Moment Please

Thanks for rating this article

Read more http://support.apple.com/kb/TS3960