ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] не работает crypto в erlang
Date: Mon, 27 Nov 2006 23:11:17 +1000
Message-ID: <456AE3F5.9020200@sakhalin.ru> (raw)
In-Reply-To: <456AD7FB.20904@reutman.ru>

Alexey Sidorov wrote:
> Alexey Sidorov пишет:
>> Alexey Sidorov пишет:
>>> Сизиф.
>>> собственно ejabberd стартует с ошибками....
>>> в sasl.log при старте лезут
>>>   crasher:
>>>     pid: <0.166.0>
>>>     registered_name: crypto_server
>>>     error_info: {port_died,normal}
>>>
>>> куда смотреть?
>>>
>> вобщем как я понял проблемы с этим самым crypto_server'ом.
>> Что это и как его лечить?
>>
>> При этом я могу зарегистрировать новый аккаунт, но подключиться не могу
>>
>> Пробовал убивать файлы /var/lib/ejabberd/* - не помогает...
>>
> Нечто похожее обнаружил здесь: http://ejabberd.jabber.ru/node/521
> сделал
> alex:www ~$ erl                                                                                                                Erlang (BEAM) emulator version 5.4.13 [source] [hipe]
> 
> Eshell V5.4.13  (abort with ^G)
> 2> crypto:start().
> ok
> 3> sh: line 0: exec: crypto_drv: not found
> 
> =ERROR REPORT==== 27-Nov-2006::15:12:16 ===
> ** Generic server crypto_server terminating
> ** Last message in was {'EXIT',#Port<0.87>,normal}
> ** When Server state == {#Port<0.87>,[]}
> ** Reason for termination ==
> ** {port_died,normal}
> sh: line 0: exec: crypto_drv: not found
> 
> У меня
> ejabberd-1.1.1-alt1
> openssl-0.9.7g-alt6
> erlang-R10B.10-alt2

Не лечится это. Один из потоков erlang'а падает при загрузке библиотеки
/lib/libcrypto.so.4 после чего пытается найти какие-то исполняемые файлы
в своем дереве (/usr/lib/erlang) и не найдя их ругается именно так, как
описано выше. Причину падения я так и не смог определить. Вот в такой
системе:

# cat /etc/altlinux-release
ALT Linux Sisyphus (20050723)

# rpm -qa|grep -E 'libssl|erlang|ejabber'
erlang-R10B.10-alt0.M30.1
libssl-0.9.7g-alt4.M30.1
ejabberd-1.1.2-alt0.M30.1

Всё работает отлично.

-- 
WBR, Dmitry Lebkov



  reply	other threads:[~2006-11-27 13:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-27 10:56 [sisyphus] не работает ejabberd Alexey Sidorov
2006-11-27 11:05 ` Alexey Sidorov
2006-11-27 12:20   ` [sisyphus] не работает crypto в erlang Alexey Sidorov
2006-11-27 13:11     ` Dmitry Lebkov [this message]
2006-11-27 13:33       ` Alexey Sidorov
2006-11-28  7:17         ` Dmitry Lebkov
2006-11-28  7:33           ` Alexey Sidorov
2006-11-28 17:58           ` Alex V. Myltsev
2006-11-28 23:40             ` Dmitry Lebkov
2007-01-12 19:30             ` diver

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=456AE3F5.9020200@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --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