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@commandprompt.com | Telephone: (503) 222.2783