Re: Post install - error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
Cc: "PGSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Post install - error
Date: 2000-08-30 21:06:41
Message-ID: 26523.967669601@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Adam Lang" <aalang(at)rutgersinsurance(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-08-30 21:12:18 Re: rules or trigers?
Previous Message Zorlac 2000-08-30 20:56:40 Re: Importing into Postgres from a csv file