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

木下 歩 kinoshita @ elflow.com
2004年 2月 24日 (火) 10:56:01 JST


ご連絡有難うございます。

2/23(月)は風邪で寝込んでいました。

さて、
> クラスタサーバをリコンパイル後,再起動してもcoreが出るということでしょう
> か.gdbの結果も同じですか?

確認したところ、以前と変わりありませんでした。
以下に状況をご報告いたします。

クラスタサーバにて実行
%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 ()



レプリケーションサーバにて実行
$ /usr/local/pgsql/bin/pgreplicate -D /usr/local/pgsql/etc -vn
DEBUG(init_server_tbl): /usr/local/pgsql/etc/pgreplicate.log open ok

DEBUG(init_server_tbl): PGR_Get_Conf_Data ok
DEBUG(init_server_tbl): LoadBalanceTbl allocate ok
DEBUG(init_server_tbl): Conf data read ok
DEBUG(init_server_tbl): HostTbl shmget ok
DEBUG(init_server_tbl): HostTbl shmat ok
DEBUG(replicate_main): replicate mail 8777 port bind

DEBUG(replicate_main): replicate mail 8777 port bind OK

DEBUG(replicate_main): wait replicate

DEBUG(PGRrecovery_main): PGRrecovery_main bind port 7778
DEBUG(PGRrecovery_main): wait recovery

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


木下 歩


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


> 三谷@広島です.
>
> > ipv6を無効にしたのですが、
> > やはり、postgres.coreが生成されます。
> クラスタサーバをリコンパイル後,再起動してもcoreが出るということでしょう
> か.gdbの結果も同じですか?
>
> =============================
> 三谷 篤<mitani @ sraw.co.jp>
> =============================
>
>





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