Instalação do Postgres no ubuntu 14

0
Setting up postgresql-10 (10.4-2.pgdg14.04+1) ...
 * Starting PostgreSQL 10 database server                                        * Error: /usr/lib/postgresql/10/bin/pg_ctl /usr/lib/postgresql/10/bin/pg_ctl start -D /var/lib/postgresql/10/main -l /var/log/postgresql/postgresql-10-main.log -s -o  -c config_file="/etc/postgresql/10/main/postgresql.conf"  exited with status 1: 
2018-06-09 09:29:02.360 IST [22261] FATAL:  private key file "/etc/ssl/private/ssl-cert-snakeoil.key" has group or world access
2018-06-09 09:29:02.360 IST [22261] DETAIL:  File must have permissions u=rw (0600) or less if owned by the database user, or permissions u=rw,g=r (0640) or less if owned by root.
2018-06-09 09:29:02.360 IST [22261] LOG:  database system is shut down
pg_ctl: could not start server
Examine the log output.
                                                                         [fail]
invoke-rc.d: initscript postgresql, action "start" failed.
dpkg: error processing package postgresql-10 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql:
 postgresql depends on postgresql-10; however:
  Package postgresql-10 is not configured yet.

dpkg: error processing package postgresql (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-contrib:
 postgresql-contrib depends on postgresql-contrib-10; however:
  Package postgresql-contrib-10 is not installed.
  Package postgresql-10 which provides postgresql-contrib-10 is not configured yet.

dpkg: error processing package postgresql-contrib (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    Errors were encountered while processing:
 postgresql-10
 postgresql
 postgresql-contrib
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por Amit Dhoundiyal 09.06.2018 / 06:02

0 respostas