> 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
> 
> [EMAIL PROTECTED] root]# su postgres
> [EMAIL PROTECTED] 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).
> [EMAIL PROTECTED] 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
-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to