Hi there,
I have a simple Query. My activity is to install pgsql on Linux Redhat9. However I installed postgresql-7.3.2.tar.gz like this ..
[root]# cd /usr/local/src [root]# gzip -cd postgresql-7.3.2.tar.gz | tar xvf - [root]# cd postgresql-7.3.2 [root]# ./configure [root]# make [root]# make install [root]# adduser postgres [root]# mkdir /usr/local/pgsql/data [root]# chown postgres /usr/local/pgsql/data [root]# touch /var/log/pgsql [root]# chown postgres /var/log/pgsql
But when I run the following command
[root@localhost root]# su postgres [postgres@localhost root]$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
FATAL: data directory "/usr/local/pgsql/data" has group or world access DETAIL: Permissions should be u=rwx (0700). [postgres@localhost root]$
I am facing the above the Above Error is there anybody to Help me.
And can I install pgsql through RPM ?? if yes plz give me Detail step by step Info for that ..
I waiting for Reply ASAP.
Thanks in Advance.
On 26/04/05 12:19 +0530, mohan wrote:
Hi there,
I have a simple Query. My activity is to install pgsql on Linux Redhat9. However I installed postgresql-7.3.2.tar.gz like this ..
Why not download and recompile the source RPM for 8.0.1? Pg 7.3 is ancient.
Devdas Bhagat
I have a simple Query. My activity is to install pgsql on Linux Redhat9. However I installed postgresql-7.3.2.tar.gz like this……..
[root]# cd /usr/local/src [root]# gzip -cd postgresql-7.3.2.tar.gz | tar xvf - [root]# cd postgresql-7.3.2 [root]# ./configure [root]# make [root]# make install [root]# adduser postgres [root]# mkdir /usr/local/pgsql/data [root]# chown postgres /usr/local/pgsql/data [root]# touch /var/log/pgsql [root]# chown postgres /var/log/pgsql
But when I run the following command
[root@localhost root]# su postgres [postgres@localhost root]$ /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
FATAL: data directory "/usr/local/pgsql/data" has group or world access DETAIL: Permissions should be u=rwx (0700). [postgres@localhost root]$
Haven't you run 'initdb' command? I feel thats the only prob. In your case the statement should look like initdb -D /usr/local/pgsql/data
Regards, Peeyush