Re: upgrade causes psql to not work

Поиск
Список
Период
Сортировка
От BJ Freeman
Тема Re: upgrade causes psql to not work
Дата
Msg-id 5010154A.9060309@free-man.net
обсуждение исходный текст
Ответ на Re: upgrade causes psql to not work  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: upgrade causes psql to not work  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
I apologize, psql is running
if I do
[root@main jdbc]# psql  -U gameserver
  passwordfromentityengine.xml
with out defining the host, it works.

I believe it is using Unix pipes instead of TCP
I also can manage the psql server through webmin.

Merlin Moncure sent the following on 7/25/2012 8:16 AM:
> On Wed, Jul 25, 2012 at 9:57 AM, BJ Freeman<bjfree@free-man.net>  wrote:
>> did a centos 5.6 server upgrade to PostgreSQL version 8.4.12.
>> console:
>> [root@main jdbc]# psql -h localhost -U gameserver
>> passwordfromentityengine.xml
>>
>> psql: could not connect to server: Connection refused
>>          Is the server running on host "localhost" and accepting
>>          TCP/IP connections on port 5432?
>>
>> I notice there is no localhost and th 127.0.0.1 has /32 added.
>> I can not add a localhost to the allowed hosts
>
> well, your server is not running (you can confirm this with ps axf).
> this is not an issue with pg_hba.conf.
>
> what happens when you try to launch the service manually?
>
> merlin
>

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: upgrade causes psql to not work
Следующее
От: leaf_yxj
Дата:
Сообщение: Install pgbench on the client server.Please helps thanks.