I just upgraded my MacMini Server from Lion Server to Mountain Lion using OS X Server. I am having the same problem with PostgreSQL that I did last year when I first instal
Check for the status of the database:
service postgresql status
If the database is not running, start the db:
sudo service postgresql start