Re: Fwd: installing postgres7.3.4 problem II - Mailing list pgsql-general

From Darko Prenosil
Subject Re: Fwd: installing postgres7.3.4 problem II
Date
Msg-id 200308262042.27659.darko.prenosil@finteh.hr
Whole thread Raw
In response to Re: Fwd: installing postgres7.3.4 problem II  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
On Tuesday 26 August 2003 19:59, Bruno Wolff III wrote:
> On Tue, Aug 26, 2003 at 18:40:12 +0200,
>
>   javier garcia - CEBAS <rn001@cebas.csic.es> wrote:
> > Please, disregard my last message. I've discovered that in "password"
> > file it was mentioned a path '/var/lib/psql' where Mandrake distro
> > installed postres previously. I've solved it.
> >
> > But I still have another problem:
> >
> > A later step in Postgres installation instructions says:
> > "/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1
> > &" and with this I obtain:
> > "bash: logfile: Dennied permission"
> >
> > I don't know bash either, so I can't understand the problem.
>
> You don't have access to create or write 'logfile' in the current
> directory. You might want to use a full path to wherever you want the
> logfille to be.
>
    If You downloaded PostgreSQL sources, there are startup scripts in contrib
dir. If You do not have the sources, You can download it from :

http://developer.postgresql.org/cvsweb.cgi/pgsql-server/contrib/start-scripts/

Usage is simple: get the script, put it in the /etc/init.d/ and name it
'postgres'. (I assume You are using Linux).
To start the server simply type: /etc/init.d/postgres start.
You can use one of the five switches: start, stop, restart , reload and
status.

Regards !

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Linux ready for high-volume databases?
Next
From: Robert L Mathews
Date:
Subject: Re: move to usenet?