Thread: Permission denied: logfile

Permission denied: logfile

From
Victor Escobar
Date:
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

From
Rodrigo Gonzalez
Date:
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
>