Re: Fwd: installing postgres7.3.4 problem II

From: Robby Russell <rrussell(at)commandprompt(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: installing postgres7.3.4 problem II
Date: 2003-08-26 17:53:16
Message-ID: 3F4B9E8C.6030602@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

javier garcia - CEBAS 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.
>
> Could you give me a hand?
>
> Javier

Javier,

What user are you when installing postgres?
You might try to do the following:
--
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data -l
/tmp/pgsql.log start

--

Basically, the problem you are having is that the user that you are
currently logged intot he shell as, doesn't have permission to
create/write to the 'logfile' in the current directory. My suggestion
would write your log to the /tmo directory. (which most users should
have access to write to)

-Robby

--
Robby Russell, | Sr. Administrator / Lead Programmer
Command Prompt, Inc. | http://www.commandprompt.com
rrussell(at)commandprompt(dot)com | Telephone: (503) 222.2783

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-08-26 17:55:42 Re: deleting referenced data
Previous Message Richard Huxton 2003-08-26 17:44:19 Re: Best tweak for fast results.. ?