Re: Switching from 9.1 to 9.5 on Ubuntu 16.04

Поиск
Список
Период
Сортировка
От pavan95
Тема Re: Switching from 9.1 to 9.5 on Ubuntu 16.04
Дата
Msg-id 1534845243951-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Switching from 9.1 to 9.5 on Ubuntu 16.04  (Mike Dewhirst <miked@dewhirst.com.au>)
Ответы Re: Switching from 9.1 to 9.5 on Ubuntu 16.04  (Mike Dewhirst <miked@dewhirst.com.au>)
Список pgsql-novice
Hi Mike,

Are both Postgresql instances 9.5 and 9.1 are on same server??

>>When trying to createdb I'm getting the following error ...

What is the exact statement you have specified did you explicitly specified
any port??

My quick questions:

1) What does "sudo service postgresql status" give as root user?

2) Login as /su postgres/ and try finding the status of both 9.1 and 9.5
individually as shown below and paste the output:

/usr/lib/postgresql/9.5/bin/pg_ctl -D "/var/lib/postgresql/9.5/main" status
/usr/lib/postgresql/9.1/bin/pg_ctl -D "/var/lib/postgresql/9.1/main" status


It will help us to know which port is active postgres referring to?


Regards,
Pavan.



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-novice-f2132464.html


В списке pgsql-novice по дате отправления:

Предыдущее
От: Mike Dewhirst
Дата:
Сообщение: Re: Switching from 9.1 to 9.5 on Ubuntu 16.04
Следующее
От: Mike Dewhirst
Дата:
Сообщение: Re: Switching from 9.1 to 9.5 on Ubuntu 16.04