Re: Post install - error - Mailing list pgsql-general

From Tom Lane
Subject Re: Post install - error
Date
Msg-id 26523.967669601@sss.pgh.pa.us
Whole thread Raw
In response to Post install - error  ("Adam Lang" <aalang@rutgersinsurance.com>)
List pgsql-general
"Adam Lang" <aalang@rutgersinsurance.com> writes:
> I run this command and their seems to be no problem:
> postmaster -i -D /usr/local/pgsql/data >logfile 2>&1 &

> I type CREATEDB brokers and I get this output:
> psql: connectDBStart() -- connect() failed: Connection refused
>         Is the postmaster running at 'localhost'
>         and accepting connections on Unix socket '5432'?
> createdb: database creation failed
> [1]+  Exit 2                  postmaster -i -D /usr/local/pgsql/data
>> logfile 2>&1

It looks to me like the postmaster started and immediately quit,
which you didn't notice because the shell didn't report it until
the end of your next command.  What is in the postmaster logfile?

            regards, tom lane

pgsql-general by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: Install from source
Next
From: Tom Lane
Date:
Subject: Re: rules or trigers?