Обсуждение: Socket connection error...

Поиск
Список
Период
Сортировка

Socket connection error...

От
Anil Jangam
Дата:
Hi,

Here is one problem.

I accidently killed the cygwin bash shell while postmaaster was running.
Now, when I am restarting it, its giving the following error....

    Administrator@ANILJ /usr/local/pgsql/data
    $ psql -U uss enterprise
    psql: connectDBStart() -- connect() failed: Connection refused
            Is the postmaster running locally
            and accepting connections on Unix socket
'/tmp/.s.PGSQL.5432'?

    Administrator@ANILJ /usr/local/pgsql/data
    $

Before starting the postmaster, I removed the old .pid file from the
"/usr/local/pgsql/data" location. Still the socket error persists. What is
the reason. Is there something missing???

-anil.

Re: Socket connection error...

От
"Henshall, Stuart - WCP"
Дата:
Did the postmaster start up ok? Did it give any messages.
It might be worth clearing out the ipc files in /tmp when the postmaster &
ipc-daemon aren't running.
- Stuart

-----Original Message-----
From: Anil Jangam [mailto:anilj@indts.com]
Sent: 19 December 2001 12:18
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Socket connection error...
Importance: High


Hi,

Here is one problem.

I accidently killed the cygwin bash shell while postmaaster was running.
Now, when I am restarting it, its giving the following error....

    Administrator@ANILJ /usr/local/pgsql/data
    $ psql -U uss enterprise
    psql: connectDBStart() -- connect() failed: Connection refused
            Is the postmaster running locally
            and accepting connections on Unix socket
'/tmp/.s.PGSQL.5432'?

    Administrator@ANILJ /usr/local/pgsql/data
    $

Before starting the postmaster, I removed the old .pid file from the
"/usr/local/pgsql/data" location. Still the socket error persists. What is
the reason. Is there something missing???

-anil.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org