"Jessica" <hxq7681(at)cs(dot)rit(dot)edu> writes:
> logfile:
> LOG: could not bind IPv6 socket: Cannot assign requested address
> HINT: Is another postmaster already running on port 5432? If not, wait a
> few seconds and retry.
> FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission
> denied
> How to solve it?
Seems like you have an existing Postgres installation that you need to
shut down --- or else select a different port number for the new one
to use.
regards, tom lane