From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 X-Virus-Scanned: amavisd-new at kds.com.ua Message-ID: <484D1FA7.8020503@khavr.com> Date: Mon, 09 Jun 2008 15:18:47 +0300 From: Andriy Khavryuchenko User-Agent: Thunderbird 2.0.0.12 (X11/20080304) MIME-Version: 1.0 To: ALT Linux Sisyphus discussions X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [sisyphus] jabberd2: BDB issues X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 12:18:37 -0000 Archived-At: List-Archive: List-Post: После аварийного рестарта сервера слетел jabberd2 2.1.17 с примерно такой руганью: Mon Jun 9 00:31:52 2008 [error] db: couldn't open db for realm 'khavr.com': Cannot allocate memory Mon Jun 9 00:31:52 2008 [error] db: couldn't open db for realm 'khavr.com': Cannot allocate memory $ ll /var/lib/jabberd2/db total 6404 -rw-r----- 1 jabberd2 jabberd2 188416 Jun 9 00:30 sm.db -rw-r----- 1 jabberd2 jabberd2 10485760 Jun 9 00:30 log.0000000001 -rw-r----- 1 jabberd2 jabberd2 20480 Jun 9 00:30 authreg.db drwxrws--- 2 root jabberd2 4096 Jun 9 00:28 ./ drwxr-xr-x 7 root root 61 Jun 9 00:28 ../ -rw-r----- 1 jabberd2 jabberd2 16384 Oct 17 2007 __db.006 -rw-r----- 1 jabberd2 jabberd2 352256 Oct 17 2007 __db.005 -rw-r----- 1 jabberd2 jabberd2 24576 Oct 17 2007 __db.001 -rw-r----- 1 jabberd2 jabberd2 278528 Oct 17 2007 __db.002 -rw-r----- 1 jabberd2 jabberd2 270336 Oct 17 2007 __db.003 -rw-r----- 1 jabberd2 jabberd2 98304 Oct 17 2007 __db.004 db_recover поведение не меняет. Обновление до сизифного (2.2.0) меняет версию libdb: Sun Jun 8 13:35:54 2008 [notice] starting up Sun Jun 8 13:35:54 2008 [info] process id is 1859, written to /var/lib/jabberd2/pid/c2s.pid Sun Jun 8 13:35:54 2008 [notice] modules search path undefined, using default: /usr/lib/jabberd2 Sun Jun 8 13:35:54 2008 [info] loading 'db' authreg module Sun Jun 8 13:35:54 2008 [error] db: couldn't open environment: DB_VERSION_MISMATCH: Database environment version mismatch Sun Jun 8 13:35:54 2008 [error] failed to initialize auth module 'db' Что я делаю не так и в каком месте править руки? -- бишь пофиксено методом выноса объекта фикса -- mike in #4618