Error message
could not create lock file "postmaster.pid": Permission denied
HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again. postmaster.pid
Solution
chmod 700 /var/lib/postgresql/9.5/main