Permission denied: logfile

Started by Victor Escobaralmost 20 years ago2 messagesgeneral
Jump to latest
#1Victor Escobar
sydbarrett74@gmail.com

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.

#2Rodrigo Gonzalez
rjgonzale@gmail.com
In reply to: Victor Escobar (#1)
Re: Permission denied: logfile

Check where you are executing this.....the user postgres does not have
permission to write logfile in your current directory

Victor Escobar wrote:

Show quoted text

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