Re: Fwd: installing postgres7.3.4 problem II
От | Robby Russell |
---|---|
Тема | Re: Fwd: installing postgres7.3.4 problem II |
Дата | |
Msg-id | 3F4B9E8C.6030602@commandprompt.com обсуждение исходный текст |
Ответ на | Fwd: installing postgres7.3.4 problem II (javier garcia - CEBAS <rn001@cebas.csic.es>) |
Список | 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@commandprompt.com | Telephone: (503) 222.2783
В списке pgsql-general по дате отправления: