Re: Error with tcp/ip networking

From: Jules Bean <jules(at)jellybean(dot)co(dot)uk>
To: Travis Bauer <trbauer(at)cs(dot)indiana(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error with tcp/ip networking
Date: 2000-08-31 13:17:43
Message-ID: 20000831141743.K24680@grommit.office.vi.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 31, 2000 at 07:30:36AM -0500, Travis Bauer wrote:
> Well, there were two other copies of postgress running, and at least one
> was tying up port 5432, but . . .
>
> I couldn't see them with 'ps' or 'ps -a', netstat did not list them as
> using a port, but it did list something as having "Active UNIX domain
> sockets," listing the tmp files I had deleted yesterday as the socket
> location (it didn't name postmaster with them). I found it by making my
> xterm quit long and running top. The showed up as being owned by
> me. Now I'm back in business, but I don't understand why they didn't
> show up in ps or ps -a.

I daresay you wanted ps -ax, since they didn't have a controlling terminal.

In future, always use ps -auwx before assuming a process doesn't exist
-- that catches them all. (Except on some SYSV-style pses, in which
case you want ps -ef, I think)

Jules

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pablo Prieto 2000-08-31 13:19:46 Error installing ODBC in NT
Previous Message Campbell, Scott 2000-08-31 12:43:52 problems with transactions