Results 1 to 4 of 4

Thread: Postgresql won't start

  1. #1

    Postgresql won't start

    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.

  2. #2
    Join Date
    2015-May
    Posts
    4
    I just had the same issue try:

    Code:
    cd /etc/ssl/certs/
    chown postgres ssl-cert-snakeoil.pem
    chmod 777 ssl-cert-snakeoil.pem
    
    cd /etc/ssl/private
    chown postgres ssl-cert-snakeoil.key
    chmod 700 ssl-cert-snakeoil.key
    This worked for me

  3. #3
    Quote Originally Posted by Random User View Post
    I just had the same issue try:

    Code:
    cd /etc/ssl/certs/
    chown postgres ssl-cert-snakeoil.pem
    chmod 777 ssl-cert-snakeoil.pem
    
    cd /etc/ssl/private
    chown postgres ssl-cert-snakeoil.key
    chmod 700 ssl-cert-snakeoil.key
    This worked for me
    This also worked for me. Thank you.

  4. #4
    Join Date
    2015-Jul
    Posts
    2
    I got a message " No such file or directory. what is my issue.

Similar Threads

  1. Pb postgresql don't start
    By hamed5390 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2023-01-21, 21:04
  2. Unable to start Postgresql so I can run Metasploit
    By OldHackerWannabe in forum General Archive
    Replies: 4
    Last Post: 2018-02-05, 13:08
  3. PostgreSQL on NetHunter 3 Won't Start
    By kill_chain in forum NetHunter General Questions
    Replies: 1
    Last Post: 2016-03-30, 19:30
  4. postgresql wont start
    By iraq0wnz in forum General Archive
    Replies: 0
    Last Post: 2013-12-05, 21:11
  5. Failed #service postgresql start
    By Castor_Troy in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2013-06-25, 00:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •