pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric M. Wulff <ewulff@footbag.org>
To: pgsql-admin@postgresql.org
Subject: postgres installed via rpms -can't run postmaster or postgres
Date: 18 Oct 2003 01:39:11 -0700
Message-ID: <1066466353.1450.10.camel@ewulff> (raw)

Hi, I am relatively new to Linux and just installed postgres via rpms. 
I think.  However, I can't for the life of me figure out how to start up
postmaster or psql.

psql - I keep getting the following error when running psql...

"psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.1234"?"

How do I find out if the server is running locally and accepting
connections on Unix domain socket?

postmaster - I keep getting the following error when trying to start
postmaster...

"postmaster does not know where to find the database system data.
You must specify the directory that contains the database system
either by specifying the -D invocation option or by setting the
PGDATA environment variable."

Okay, set it to what?  man and postgres docs are of little help.  Any
help is much appreciated.  Following are the rpm's I ran
redhat-install-packages on.  I got them from a mirror off
postgresQl.org...

ostgresql-7.3-2PGDG.i386.rpm         
postgresql-python-7.3-2PGDG.i386.rpm
postgresql-contrib-7.3-2PGDG.i386.rpm 
postgresql-server-7.3-2PGDG.i386.rpm
postgresql-devel-7.3-2PGDG.i386.rpm
postgresql-docs-7.3-2PGDG.i386.rpm
postgresql-jdbc-7.3-2PGDG.i386.rpm
postgresql-libs-7.3-2PGDG.i386.rpm
postgresql-pl-7.3-2PGDG.i386.rpm

Oh, and another thing I'm confused about is...  I tried to install these
in /usr/local/bin, that's where the rpms are, but they wound up in
/usr/lib.  Any idea why that might be?  I rpm'd from /usr/local/bin

many thx
Eric

	





view thread (7+ messages)  latest in thread

Message-ID: <1066466353.1450.10.camel@ewulff>
Permalink:  ../1066466353.1450.10.camel@ewulff/
Also on:    postgresql.org/message-id/1066466353.1450.10.camel@ewulff

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: ewulff@footbag.org
  Subject: Re: postgres installed via rpms -can't run postmaster or postgres
  In-Reply-To: <1066466353.1450.10.camel@ewulff>
  References: <1066466353.1450.10.camel@ewulff>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox