[pgcluster: 101] Re: クラスタサーバ起動時に postgres.coreを生成

木下 歩 kinoshita @ elflow.com
2004年 2月 19日 (木) 15:19:26 JST


お忙しい中、ご連絡有難うございました。

postgres.coreが生成されたディレクトリにて下記のコマンドを入力しました。
$ gdb /usr/local/pgsql/bin/pg_ctl postgres.core

その結果
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...

"/usr/local/pgsql/bin/pg_ctl": not in executable format: File format not
recognized

Core was generated by `postgres'.
Program terminated with signal 11, Segmentation fault.
#0  0x811acf7 in ?? ()

と表示されました。
Program terminated with signal 11, Segmentation fault.
の個所が気になりますが、どのように対処すればよいかわかりません。

何かご存知でしたらお願いいたします。

木下 歩

----- Original Message ----- 
From: "mitani" <mitani @ sraw.co.jp>
To: <pgcluster @ ml.postgresql.jp>
Sent: Thursday, February 19, 2004 10:01 AM
Subject: [pgcluster: 97] Re: クラスタサーバ起動時に postgres.coreを生成


> 三谷@広島です.
>
> > coreをデバッガで追いかけてみようと思いますが、
> > 恥ずかしながら、デバッガの使い方がわかりません。
> > 私の方でも調べてみますが、なにか参考になるページがあれば
> > 教えていただければ幸いです。
> 恥ずかしながら,私もデバッガはgdbしか知りません.
> http://www.linux.or.jp/JM/html/GNU_gdb/man1/gdb.1.html
>
> こんなページもありました.
> http://www-6.ibm.com/jp/developerworks/linux/021018/j_l-debug.html
>
> =============================
> 三谷 篤<mitani @ sraw.co.jp>
> =============================
>
>
>
>





pgcluster メーリングリストの案内