Re: [GENERAL] [Fwd: PostgreSQL - Desparate!]

From: David Hartwig <daybee(at)bellatlantic(dot)net>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Edmund Mergl <E(dot)Mergl(at)bawue(dot)de>, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] [Fwd: PostgreSQL - Desparate!]
Date: 1998-08-02 23:54:31
Message-ID: 35C4FC36.84CCB6EA@bellatlantic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This happens to us whenever the cleaning lady gets behind the server and
kicks the plug. We put wrapper script around the postmaster to clean up
these and any orphaned sort files. My guess is that the "rm /tmp/*" at
boot time does not remove the hidden dot files.

Bruce Momjian wrote:

> Have you re-booted the machine?
>
> >
>
> -- Start of included mail From: Bernie <bfb(at)att(dot)net>
>
> > Return-path: bfb(at)att(dot)net
> > Return-path: <bfb(at)att(dot)net>
> > Sender: root(at)lena(dot)s(dot)bawue(dot)de
> > Date: Sun, 02 Aug 1998 14:15:15 +0000
> > X-Accept-Language: en
> > To: E(dot)Mergl(at)bawue(dot)de
> > Subject: PostgreSQL - Desparate!
>
> > Pardon the intrusion, but I have a dilemma which I cannot find
> > the answer to, after searching the newsgroups, documentation,
> > and mailing lists -- My postmaster will not start.
> >
> > Below is a message I've posted in several newsgroups. If you
> > could make ANY suggestions on getting postmaster to work,
> > I would appreciated it greatly.
> >
> > -Thanks
> >
> > -------------------------
> > whenever I attempt to start the postmaster, I get the
> > following error:
> >
> > FindBackend: found "/usr/bin/postgres" using argv[0]
> > FATAL: StreamServerPort: bind() failed: errno=13
> > Is another postmaster already running on that port?
> > If not, remove socket node (/tmp/.s.PGSQL.<portnr>)and retry.
> >
> > I'ts been working fine for several weeks until recently. There are
> > no files in /tmp relating to postgreSQL. The port I'm using is not in
> > use by another process, determined with the ps auxw|grep postma
> > command, and also, fuser -vun tcp 5432.
> >
> > Here's the command I'm using to start postmaster:
> > nohup /usr/bin/postmaster -i -B 256 -p 5432 -d -D /var/lib/pgsql
> > >/home/postgres/pgsql.log 2>/home/postgres/pgsql.err &
> >
> > I'm using postgreSQL 6.3.2 under RedHat Linux 5.1.
> > Any suggestions would be greatly appreciated.
> >
> > -Thanks
> >
> >
> >
> >
> -- End of included mail.
>
> --
> Bruce Momjian | 830 Blythe Avenue
> maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
> + If your life is a hard drive, | (610) 353-9879(w)
> + Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brett W. McCoy 1998-08-03 00:46:35 Re: [GENERAL] [Fwd: PostgreSQL - Desparate!]
Previous Message Bruce Momjian 1998-08-02 20:12:48 Re: [GENERAL] [Fwd: PostgreSQL - Desparate!]