Обсуждение: Permission denied: logfile

Поиск
Список
Период
Сортировка

Permission denied: logfile

От
Victor Escobar
Дата:
Hello,
  I'm getting the following error when I do this step:

/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &

Exit 1: Permission denied: logfile 2>&1 &

I did a chown on /usr/local/pgsql/data and am running this as postgres.

Re: Permission denied: logfile

От
Rodrigo Gonzalez
Дата:
Check where you are executing this.....the user postgres does not have
permission to write logfile in your current directory

Victor Escobar wrote:
> Hello,
>  I'm getting the following error when I do this step:
>
> /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
>
> Exit 1: Permission denied: logfile 2>&1 &
>
> I did a chown on /usr/local/pgsql/data and am running this as postgres.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>