ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] jabberd2: BDB issues
@ 2008-06-09 12:18 Andriy Khavryuchenko
  2008-06-09 12:34 ` Dmitry Lebkov
  0 siblings, 1 reply; 9+ messages in thread
From: Andriy Khavryuchenko @ 2008-06-09 12:18 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-06-14 14:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-09 12:18 [sisyphus] jabberd2: BDB issues Andriy Khavryuchenko
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

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