Postgresql server not started in ubuntu 14.04

Just try to restart

sudo /etc/init.d/postgresql restart

this worked for me :)


Ubuntu16.04 and 9.3

sudo systemctl restart postgresql-9.3.service

Maybe you find out service before restarting server

service --status-all