[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:22711] Re: PostgresSQL のインストール



くわむらです。

どうもありがとうございます。

On Thu, 13 May 2004, Etsuo SUMIYA wrote:

> 炭屋です。何とか動きました。

とりあえず、よかったです。4.0β2では installpkg でイン
ストールすると、 initdb をして、RSAキーの作成して、
最後に postmaster が起動されています。


DB初期化コマンドは、

 initdb --encoding=EUC_JP --no-locale

になっていたと思います。

> > creating template1 database in /opt/postgresql-7.4.2/data/base/1... FATAL:  invalid value for parameter "timezone": "/etc/localtime"
> > 
> > initdb: failed
> > initdb: removing data directory "/opt/postgresql-7.4.2/data"
> 
> Plamo 3.3のcontribから次のものをいれました。
> libiconv.tgz
> libmcrypt.tgz
> mhash.tgz

このあたりのライブラリは関係ないと思います。


> /usr/share/zoneinfo/JapanをPlamo 3.3のものに入れ換えました。
> 
> 以上の操作でinitdbは正常終了しましたが、
> 
> /opt/pgsql/bin/pg_ctl -D /opt/pgsql/data -l logfile start
> 
> とやってもpostmasterが起動しません。
> 
> /opt/pgsql/data/postgresql.confから以下のところをコメントに
> したら動きました。実は、これが何に影響があるのかはわかってい
> ません。
> 
> #
> # Add by Plamo Linux 3.3 installer
> #syslog = 2
> #syslog_facility = 'LOCAL1'
> #syslog_ident = 'postgres'
> #tcpip_socket = true
> #ssl = true
> 
> #max_connections = 64
> #sort_mem = 8067
> #shared_buffers = 2048
> 

ネットワーク設定をしていないということはないですよね。
もしかすると、 ssl=true あたりかもしれません。SSL用の
キーが必要かもしれません。

--
  Jun Kuwamura
 rC Cm
   ^
   ~

Follow-Ups
[plamo:22712] Re: PostgresSQLのインストール, Etsuo SUMIYA
References
[plamo:22709] Re: PostgresSQLのインストール, Etsuo SUMIYA

[検索ページ] [メール一覧]
Plamo ML 公開システム