gitsie

Q: Yosemite server install errors - devicemanager and wikiserver

Hi all,

 

Mac Mini mid 2011. Yosemite installed from scratch no problem and I applied any OS updates that were offered. When I try to install server however I get error messages during the install. Account used to install has admin rights.

The setup is able to finish, but the computer seems sluggish and I am unable to turn on ProfileManager.

 

These are the error messages during setup:

'Preparing services - DeviceManager' Error Domain:deviceManagerCommon.sh Item:/Applications/Server.app/Contents/ServerRoot/usr/libexec/deviceManagerComm on.sh Code:2  - No matching processes were found

No matching processes were found

sudo: unable to execute /Applications/Server.app/Contents/ServerRoot/usr/bin/initdb: Permission denied

 

'Preparing services - WikiServer' Error Domain:collabd_database_loader Item:collabd_database_loader Code:1  - sh: /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl: Permission denied

sh: /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl: Permission denied

 

'Preparing services - WikiServer' Error Domain:collabd_database_loader Item:collabd_database_loader Code:1  - sh: /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl: Permission denied

sh: /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl: Permission denied

 

'Preparing services - WikiServer' Error Domain:wikiadmin Item:wikiadmin Code:1  - 2015-01-04 11:38:18.053 wikiadmin[1559:7670] [PostgreSQLClient.framework] [/SourceCache/CoreCollaboration/CoreCollaboration-467/Server/PostgreSQLClient/P GCServer.m:28] Cannot init due to bad cmdPath /Applications/Server.app/Contents/ServerRoot/usr/bin/xpg_ctl

 

I've tried resetting ProfileManager using: OS X Server: How to reset Profile Manager to its original state - Apple Support

And I've also removed the Server App and the "/Library/Server" folder, rebooted and reinstalling ServerApp which resulted in the same error messages.

 

Would anybody be able to help?

Mac mini, OS X Yosemite (10.10.1)

Posted on Jan 4, 2015 8:23 AM

Close

Q: Yosemite server install errors - devicemanager and wikiserver

  • All replies
  • Helpful answers

  • by jepping,Solvedanswer

    jepping jepping Jan 4, 2015 8:52 AM in response to gitsie
    Level 2 (430 points)
    Jan 4, 2015 8:52 AM in response to gitsie

    Hi,


    At this point a reinstall might be the best way to go.

    Just as you did before, install, update yosemite. Then repair permissions, reboot and download the server.app.

    For best behaviour reserve a static IP address for your server and follow the setup to create DNS records connected to that IP address.

    Then after setup, reboot, verify DNS, then verify DNS again and reboot once more.

    Type sudo changeip -checkhostname en verify that output.

    Type host -yourstaticipaddress-

    Type host -result from previous entry-

     

    Keep an eye on your logs in the meanwhile for any errors you have encountered before.

     

    When all that comes back positive and DNS is running, proceed with the import or creation of a SSL certificate if needed and go to profilemanager.

    Follow that setup, also for an OpenDirectory master, and that should give you a working profilemanager.

    Once DNS and SSL are active, a wiki shouldn't be a problem at all.

    Goodluck!

     

    Jeffrey

  • by Linc Davis,

    Linc Davis Linc Davis Jan 4, 2015 2:05 PM in response to gitsie
    Level 10 (207,990 points)
    Applications
    Jan 4, 2015 2:05 PM in response to gitsie

    Try repairing permissions in Disk Utility.

  • by gitsie,

    gitsie gitsie Jan 4, 2015 3:15 PM in response to jepping
    Level 1 (0 points)
    Jan 4, 2015 3:15 PM in response to jepping

    Hi Jepping,

     

    The server does have a static IP address and connects to 2 Windows 2008 domain controllers that are the DNS servers. So I don't really want to make it a DNS server if it doesn't really need to be.

    sudo changeip -checkhostname results in dirserv:success = "success"

    host -yourstaticipaddress resulted in the FQDN of the server.

    host -result from previous entry- results in:  Host -computername-  not found: 2(SERVFAIL)

    after entering my domain name in the DNS settings I did get my IP address when I did  "host -result from previous entry-"

     

    I only created a self signed certificate, but that should be enough to get profile manager to work shouldn't it?

    Profile manager is the main thing I am interested in at the moment, and wiki not so much.

     

    I'm not real eager to do a new install of Yosemite, but I guess I should try it.

     

    I did indeed try the repair permissions option in diskutil.

     

    Thanks for trying to help me. Keep the advice coming.

  • by Linc Davis,

    Linc Davis Linc Davis Jan 4, 2015 4:03 PM in response to gitsie
    Level 10 (207,990 points)
    Applications
    Jan 4, 2015 4:03 PM in response to gitsie

    What do you get from this:

    ls -@Oaen /A*/Server.app/*/ServerRoot/usr/bin/xpg_ctl
  • by gitsie,

    gitsie gitsie Jan 5, 2015 4:14 PM in response to gitsie
    Level 1 (0 points)
    Jan 5, 2015 4:14 PM in response to gitsie

    Hi Jepping,

     

     

    So I went with your suggestion and

    -wiped the old install

    -reinstalled then did repair permissions

    -rebooted and downloaded server again (the previous download was done on a different Mac and then saved to the (Windows) network share and then copied to my Yosemite Mac Mini, which might be relevant or not)

    -the only other thing I did differently is that this time I entered my domain name in the DNS search domain (so this time I did not get; host -result from previous entry- results in:  Host -computername-  not found: 2(SERVFAIL) as in previous post)

    -also this time I did not install any anti-virus (McAfee and ePO client) yet

     

    -installing server did not result in any error messages!!

     

    hard to say what exactly the solution was; downloading again?

    Thanks so much.

  • by gitsie,

    gitsie gitsie Jan 5, 2015 4:19 PM in response to Linc Davis
    Level 1 (0 points)
    Jan 5, 2015 4:19 PM in response to Linc Davis

    Hi Linc,

     

    Reinstalling did the trick.

    And that probably brought the expected answer to your question;

    the result was:

    lrwxr-xr-x 1 0 0  -9 Jan 5 14:00 ?Apllications?Server.App/Contents/ServerRoot/usr/bin/xpg_ctl --> xpostgres