[pgsql-jp: 40234] 7.1.3 VACUUM セグメンテーション違反

川原泰三 t_kawahara-osk @ sdcns.co.jp
2010年 3月 23日 (火) 12:02:17 JST


初めまして。川原と申します。

OS:CentOS 5.2 (2.6.18-92.el5)
postgres:7.1.3
configure: --enable-multibyte=EUC_JP
gmake:GNU Make 3.81

VACUUMでセグメンテーション違反を起こしてしまいます。
古いバージョンで申し訳ありませんが、皆様のお知恵を貸して
頂けないでしょうか。

----------------------------------------------------------
postgres$ initdb
(略)
Vacuuming database.
/usr/local/pgsql/bin/initdb: line 635: 23697 Done                    echo "V
ACUUM ANALYZE"
     23698 セグメンテーション違反です               | "$PGPATH"/postgres $PG
SQL_OPT template1 > /dev/null

initdb failed.
Removing /var/lib/pgsql/data.
Removing temp file /tmp/initdb.23625.
----------------------------------------------------------

また、initdb のソースを修正してなんとかinitdbは完了
しましたが、当然VACUUMを行うとエラーになってしまいます。
----------------------------------------------------------
postgres$ vacuumdb template1
pqReadData() -- backend closed the channel unexpectedly.
        This probably means the backend terminated abnormally
        before or while processing the request.
connection to server was lost
vacuumdb: vacuum  template1 failed
----------------------------------------------------------

その時のログが
----------------------------------------------------------
Server process (pid 27044) exited with status 11 at Tue Mar 23 11:55:50 2010

Terminating any active server processes...
Server processes were terminated at Tue Mar 23 11:55:50 2010
Reinitializing shared memory and semaphores
DEBUG:  database system was interrupted at 2010-03-23 11:55:42 JST
DEBUG:  CheckPoint record at (0, 1431592)
DEBUG:  Redo record at (0, 1431592); Undo record at (0, 0); Shutdown TRUE
DEBUG:  NextTransactionId: 548; NextOid: 18541
DEBUG:  database system was not properly shut down; automatic recovery in pr
ogress...
DEBUG:  ReadRecord: record with zero len at (0, 1431656)
DEBUG:  redo is not required
DEBUG:  database system is in production stat
----------------------------------------------------------
になっております。

宜しくお願い致します。








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