| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Uro Gruber <uros(at)sir-mag(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Problems with starting Postgres |
| Date: | 2000-12-10 23:35:50 |
| Message-ID: | 1428.976491350@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Uro Gruber <uros(at)sir-mag(dot)com> writes:
> I started postgres with -i switch, but when i kill the proces i can't
> start it anymore on the same port. I tried this five times and i can
> start it now on 5 ports because i have to use everytime a new port.
> FATAL: StreamServerPort: bind() failed: Address already in use
> Is another postmaster already running on that port?
> If not, remove socket node (/tmp/.s.PGSQL.5432) and retry.
> /usr/local/pgsql/bin/./postmaster: cannot create UNIX stream port
How are you killing the postmaster?
A plain kill (SIGTERM) should remove the socket file on its way out.
The only thing that wouldn't is kill -9 ... if you're doing it that
way, don't.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brett W. McCoy | 2000-12-11 00:48:13 | RE: Re: Re: Why PostgreSQL is not that popular as MySQL ? |
| Previous Message | Dominic J. Eidson | 2000-12-10 23:00:12 | Re: Problems with starting Postgres |