[pgsql-jp: 31293] Re: Postgresスタートについて

Miyao miyao @ m4.dion.ne.jp
2003年 10月 24日 (金) 14:49:00 JST


$B5\Hx$G$9(B
$B%a!<%k$r2?$bJT=8$;$:$K!"#M#L$XAw?.$7$F$7$^$$$^$7$?!#(B
$B?=$7Lu$"$j$^$;$s!#(B

$B3'$5$s$+$i65$($FD:$$$?;v$r;29M$K2<5-$N:n6H$r9T$$$^$7$?$,!"(B
$BF0$$$F$/$l$^$;$s!#$I$&$9$l$P$$$$$N$G$7$g$&$+(B
$B$4;XF32<$5$$(B
[postgres @ web bin]$ ./initdb
$B>JN,(B
Success. You can now start the database server using:

    ./postmaster -D /home/postgres/data
or
    ./pg_ctl -D /home/postgres/data -l logfile start

[postgres @ web bin]$ /usr/local/pgsql/bin/postmaster -D  /home/postgres/
-o -i
FATAL:  data directory /home/postgres/ has group or world access;
permissions should be u=
rwx (0700)
[postgres @ yahdoweb bin]$ ls -al /home/
drwxrwxr-x    8 root     users        4096 Oct 20 10:07 ./
drwxr-xr-x   19 root     root         4096 Oct 24 00:45 ../
drwxr-xr-x    6 postgres postgres     4096 Oct 22 09:16 postgres/
[postgres @ web bin]$ chmod 700 /home/postgres/
[postgres @ web bin]$ /usr/local/pgsql/bin/postmaster -D  /home/postgres/
-o -i
FATAL:  File /home/postgres//PG_VERSION is missing. This is not a valid
data directory.
[postgres @ web bin]$

$B!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y(B

   $B!!!!#N#a#m#e(B $B!!!!!!!!!!!!!!(B $B5\Hx!!>!L&!J(BK$B#a#t#u#m#i(B,Miyao$B!K(B
   $B!!!!#E!]#m(Ba$B#i#l!!!!!!(B $B!!(B      miyao @ m4.dion.ne.jp

$B!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z!y!z(B




pgsql-jp メーリングリストの案内