Re: psql: could not connect to server: Network is unreachable

Поиск
Список
Период
Сортировка
От Pandurangan R S
Тема Re: psql: could not connect to server: Network is unreachable
Дата
Msg-id 5e744e3d0601040434h2853fdafvc0068beae18681c2@mail.gmail.com
обсуждение исходный текст
Ответ на psql: could not connect to server: Network is unreachable  (markos <el96645@mail.ntua.gr>)
Ответы Re: psql: could not connect to server: Network is  (markos <el96645@mail.ntua.gr>)
Список pgsql-admin
Hi,

can you check if postmaster is running on your machine using the
following command
ps -aef | grep postmaster

Also check check if postgres is listening on port 5432 using
netstat -na | grep ':5432'


On 1/4/06, markos <el96645@mail.ntua.gr> wrote:
>         Is the server running on host "localhost" and accepting
>         TCP/IP connections on port 5432?
>
> Now, I'm really confused because I used to have postgre 7 installed on
> my Debian without any serious problems with the configuration. Right
> now, I'm using Ubuntu Breezy and postgre 8.
>
> I have used the sample .conf files to set my own
> at /var/lib/postgres/data
>
> the only two un-commented lines at the postgresql.conf are :
>
> listen_addresses = 'localhost'  # what IP interface(s) to listen on;
>                                 # defaults to localhost, '*' = any
> port = 5432
>
> And my pg_hba.conf is :
>
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
> local   all         all                               trust
> # The same using local loopback TCP/IP connections.
> #
> # TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
> host    all         all         127.0.0.1/32          trust
> host    all         all         ::1/128               trust
>
> The command I issue to get this reply is :
> psql -h localhost -U markulis
>
> Also, I don't know if it is of any importance, but if I issue the
> command while online, it simply hangs. I have also experienced the same
> problem while trying to connect from pgadmin3.
>
> I really need some help on this, because I have to present my diploma
> work in short time and the system doesn't work.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match
>

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

Предыдущее
От: markos
Дата:
Сообщение: psql: could not connect to server: Network is unreachable
Следующее
От: "sandhya"
Дата:
Сообщение: reg db access from windows