"David" <david(at)classichosting(dot)co(dot)uk> writes:
> # /etc/rc.d/init.d/postgresql start
> Setting up PostgreSQL: FATAL: StreamServerPort: bind() failed:
> Permission denied
> Is another postmaster already running on that port?
> If not, remove socket node (/tmp/.s.PGSQL.5583) and retry.
> /usr/bin/postmaster: cannot create UNIX stream port
So why are you getting "permission denied"? /tmp not world-writable,
perhaps? Did you follow the error message's advice to check for and
remove a conflicting socket file?
regards, tom lane