2018-07-31 0:02 GMT+03:00 Adrian Klaver <adrian.klaver@xxxxxxxxxxx>:
On 07/30/2018 10:33 AM, vardenis pavardenis wrote:
2018-07-30 16:51 GMT+03:00 Adrian Klaver <adrian.klaver@xxxxxxxxxxx <mailto:adrian.klaver@aklaver.com >>:
On 07/30/2018 12:40 AM, vardenis pavardenis wrote:
hello.
thats interesting.
maybe you have clue why it happened (i tried install by
instructions) and how to fix it? :)
Just dawned on me that you are running 14.05 not 14.04 and that the
packages you installed are for 14.04.
nice shot!
Will try it.
ok. looks like problem solved, but anyway i wanna share a solution (thanks a lot Adrian one more time).
I downloadad archived ubuntu iso (http://old-releases.ubuntu.com/releases/14.04.0/ - i picked the last one: "64bit-PC (AMD64) server install image.". Reinstalled server.
follow instructions on https://wiki.postgresql.org/wiki/Apt
got:
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 [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
tadas@ubuntu:~$ service postgresql status
10/main (port 5432): online
/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 [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
tadas@ubuntu:~$ service postgresql status
10/main (port 5432): online
thanks Adrian, rob and pgsql-general!!!
PS (offtopic): One thing i can't understand - after installation this release shows: Ubuntu 14.04.5 LTS. My problematic installation also was Ubuntu 14.04.5 LTS (i make mistake when say it is "14.05"). same versions are different? its leagal?
If that does no work you can always install from source:
https://www.postgresql.org/ftp/source/v10.4/
That will require installing dev packages though.
Thanks.
--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx