If Profile Manager service in Server.app says "Unable to read settings" try the following steps:

Open Terminal and run:

sudo serveradmin stop postgres

sudo serveradmin start postgres

sudo serveradmin start devicemgr

Explanation of commands:

stops postgres server

starts postgres server

starts device manager (Profile Manager service)