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

木下 歩 kinoshita @ elflow.com
2004年 2月 20日 (金) 16:01:11 JST


たびたび有難うございます。

% gdb /usr/local/pgsql/bin/postgres postgres.core
を実行後、さらに
(gdb) backtrace
とすると、下記のように表示されました。

% gdb /usr/local/pgsql/bin/postgres 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"...(no debugging symbols
found)...
Core was generated by `postgres'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)...done.
#0  0x811acf7 in PGR_Set_Replicate_Server_Socket ()

(gdb) backtrace
#0  0x811acf7 in PGR_Set_Replicate_Server_Socket ()
#1  0x8151a06 in PostmasterMain ()
#2  0x811f99a in main ()
#3  0x8069aa1 in _start ()
(gdb)

どうも、レプリケーションサーバとの通信に問題があるのかと
思いますが、レプリケーションサーバーとの通信については
pingと
$ psql -h rep.selflow.com -l
で確認いたしましたが通信できました。

> % file /usr/local/pgsql/bin/postgres
> するとどうなりますか?

% file /usr/local/pgsql/bin/postgres
を実行すると、下記のように表示されました。

% file /usr/local/pgsql/bin/postgres
/usr/local/pgsql/bin/postgres: ELF 32-bit LSB executable, Intel 80386,
version 1 (FreeBSD),
dynamically linked (uses shared libs), not stripped

よろしくお願いいたします。

木下 歩





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