root@Kali:~# service postgresql start
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2015-05-27 01:05:38 HST LOG: could not bind IPv6 socket: Cannot assign requested address 2015-05-27 01:05:38 HST HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. 2015-05-27 01:05:38 HST LOG: database system was interrupted; last known up at 2015-05-25 13:33:04 HST 2015-05-27 01:05:38 HST LOG: incomplete startup packet 2015-05-27 01:05:38 HST FATAL: could not open file "/etc/ssl/certs/ssl-cert-snakeoil.pem": Permission denied 2015-05-27 01:05:38 HST LOG: s[FAILp process (PID 12419) exited with exit code 1 2015-05-27 01:05:38 HST LOG: aborting startup due to startup process failure ... failed!
failed!
It was working fine earlier. I think an update caused this problem.