pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: vardenis pavardenis <vyr.prokuroras@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Postgresql 10.4 installation issues on Ubuntu 14.05
Date: Fri, 27 Jul 2018 17:12:05 -0700
Message-ID: <f4696b0e-6bf0-b6e4-bafe-72e47a633637@aklaver.com> (raw)
In-Reply-To: <CALnKarGE_xThKJ=H0_sQERJejZjDnbL-L2WAaFcKYLYF-Tw1wg@mail.gmail.com>
References: <CALnKarG2mSU3jnmomygZLdc69HAS1kOkGp9ahxMhtOcfzQs9yw@mail.gmail.com>
	<8749a6ca-1b61-b6af-99c3-abcb2d6acda6@aklaver.com>
	<CALnKarGE_xThKJ=H0_sQERJejZjDnbL-L2WAaFcKYLYF-Tw1wg@mail.gmail.com>

On 07/27/2018 04:50 PM, vardenis pavardenis wrote:
Please reply to list also.
Ccing list.

FYI, bottom/interleaved posting are the preferred styles on this list:

https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
https://en.wikipedia.org/wiki/Posting_style#Bottom-posting


> Hello.
> So sorry, looks like i make a "misscut" and paste less info i wanted:


No, you pasted all the below in your previous post. I just cut out a 
bunch in my reply to make it more readable.

In case you did not see all my previous post, I asked :

Best guess, cross contamination with the Ubuntu package(s) for Postgres.

What does:

dpkg -l | grep postgres

show?

> 
> Creating config file /etc/postgresql-common/createcluster.conf with new 
> version
> 
> Building PostgreSQL dictionaries from installed myspell/hunspell packages...
> 
> Removing obsolete dictionary files:
> 
> * No PostgreSQL clusters exist; see "man pg_createcluster"
> 
> Processing triggers for ureadahead (0.100.0-16) ...
> 
> Setting up postgresql-10 (10.4-2.pgdg14.04+1) ...
> 
> Creating new PostgreSQL cluster 10/main ...
> 
> /usr/lib/postgresql/10/bin/initdb -D /var/lib/postgresql/10/main 
> --auth-local peer --auth-host md5
> 
> The files belonging to this database system will be owned by user 
> "postgres".
> 
> This user must also own the server process.
> 
> The database cluster will be initialized with locale "en_US.UTF-8".
> 
> The default database encoding has accordingly been set to "UTF8".
> 
> The default text search configuration will be set to "english".
> 
> Data page checksums are disabled.
> 
> fixing permissions on existing directory /var/lib/postgresql/10/main ... ok
> 
> creating subdirectories ... ok
> 
> selecting default max_connections ... 100
> 
> selecting default shared_buffers ... 128MB
> 
> selecting dynamic shared memory implementation ... posix
> 
> creating configuration files ... ok
> 
> running bootstrap script ... ok
> 
> performing post-bootstrap initialization ... ok
> 
> syncing data to disk ... ok
> 
> Success. You can now start the database server using:
> 
>      /usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l 
> logfile start
> 
> Ver Cluster Port Status Owner    Data directory              Log file
> 
> 10  main    5432 down   postgres /var/lib/postgresql/10/main 
> /var/log/postgresql/postgresql-10-main.log
> 
> update-alternatives: using 
> /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide 
> /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
> 
> * Starting PostgreSQL 10 database server * Failed to issue method call: 
> Unit postgresql@10-main.service failed to load: No such file or 
> directory. See system logs and 'systemctl status 
> postgresql@10-main.service' for details.
> 
>            [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
> 
> Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
> 
> 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
> 
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> thanks.
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (13+ messages)  latest in thread

Message-ID: <f4696b0e-6bf0-b6e4-bafe-72e47a633637@aklaver.com>
Permalink:  ../f4696b0e-6bf0-b6e4-bafe-72e47a633637@aklaver.com/
Also on:    postgresql.org/message-id/f4696b0e-6bf0-b6e4-bafe-72e47a633637@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, vyr.prokuroras@gmail.com
  Subject: Re: Postgresql 10.4 installation issues on Ubuntu 14.05
  In-Reply-To: <f4696b0e-6bf0-b6e4-bafe-72e47a633637@aklaver.com>
  References: <CALnKarG2mSU3jnmomygZLdc69HAS1kOkGp9ahxMhtOcfzQs9yw@mail.gmail.com> <8749a6ca-1b61-b6af-99c3-abcb2d6acda6@aklaver.com> <CALnKarGE_xThKJ=H0_sQERJejZjDnbL-L2WAaFcKYLYF-Tw1wg@mail.gmail.com> <f4696b0e-6bf0-b6e4-bafe-72e47a633637@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox