Problems with starting Postgres - Mailing list pgsql-general

From Uro¹ Gruber
Subject Problems with starting Postgres
Date
Msg-id 1461329031.20001210233243@sir-mag.com
Whole thread Raw
Responses Re: Problems with starting Postgres
Re: Problems with starting Postgres
List pgsql-general
Hi!

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.

I look in my /tmp and try to delete postgres files, but still don't
works. There is no proces running. I checked with netstat -a and there
is no open sockets.

This is an error

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

Any clues or help


Version of SQL is 7.0.3 and OS Linux Slack 7.1
Kernel 2.2.16
--
Uroš Gruber



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Many postmasters...
Next
From: Bruce Momjian
Date:
Subject: Re: Open Source Article