ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andriy Khavryuchenko <akhavr@khavr.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: [sisyphus] jabberd2: BDB issues
Date: Mon, 09 Jun 2008 15:18:47 +0300
Message-ID: <484D1FA7.8020503@khavr.com> (raw)

После аварийного рестарта сервера слетел 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


             reply	other threads:[~2008-06-09 12:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 12:18 Andriy Khavryuchenko [this message]
2008-06-09 12:34 ` Dmitry Lebkov
2008-06-09 13:21   ` Dmitry V. Levin
2008-06-09 13:25     ` Andriy Khavryuchenko
2008-06-11 19:41     ` Andriy Khavryuchenko
2008-06-11 19:48       ` Andriy Khavryuchenko
2008-06-14 12:53         ` Dmitry V. Levin
2008-06-14 14:44           ` Andriy Khavryuchenko
2008-06-09 13:29   ` Andriy Khavryuchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484D1FA7.8020503@khavr.com \
    --to=akhavr@khavr.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git