ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ejabberd и смена имени хоста
@ 2010-07-26 12:16 Jurij Bogaevs'kyj
  2010-07-26 12:21 ` Andrii Dobrovol`s`kii
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jurij Bogaevs'kyj @ 2010-07-26 12:16 UTC (permalink / raw)
  To: sysadmins

Добрый день всем!
Подскажите пожалуйста. После изменения имени хоста, ejabberd не 
запускается с такой руганью

ERROR REPORT==== 2010-07-26 11:12:41 ===
E(<0.36.0>:ejabberd_config:278) : Error reading Mnesia database spool files:
The Mnesia database couldn't read the spool file for the table 'config'.
ejabberd needs read and write access in the directory:
    /var/lib/ejabberd
Maybe the problem is a change in the computer hostname,
or a change in the Erlang node name, which is currently:
    ejabberd@optymus
Check the ejabberd guide for details about changing the
computer hostname or Erlang node name.

Как исправить?
Спаибо.
-- 
Jurij Bogaevs'kiy aka samuray
ICQ:248954815
Jabber:Jurij.Bogaevskyj_at_jabber.kiev.ua



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

* Re: [Sysadmins] ejabberd и смена имени хоста
  2010-07-26 12:16 [Sysadmins] ejabberd и смена имени хоста Jurij Bogaevs'kyj
@ 2010-07-26 12:21 ` Andrii Dobrovol`s`kii
  2010-07-26 12:27 ` Andrey Rahmatullin
  2010-07-26 12:28 ` Alexey I. Froloff
  2 siblings, 0 replies; 6+ messages in thread
From: Andrii Dobrovol`s`kii @ 2010-07-26 12:21 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jurij Bogaevs'kyj пишет:
> Добрый день всем!
> Подскажите пожалуйста. После изменения имени хоста, ejabberd не
> запускается с такой руганью
> 
> ERROR REPORT==== 2010-07-26 11:12:41 ===
> E(<0.36.0>:ejabberd_config:278) : Error reading Mnesia database spool
> files:
> The Mnesia database couldn't read the spool file for the table 'config'.
> ejabberd needs read and write access in the directory:
>    /var/lib/ejabberd
> Maybe the problem is a change in the computer hostname,
> or a change in the Erlang node name, which is currently:
>    ejabberd@optymus
> Check the ejabberd guide for details about changing the
> computer hostname or Erlang node name.
> 
> Как исправить?
> Спаибо.
Так Вы сделали, что он просит или нет?
- -- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************************************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAkxNfa8ACgkQpBPgR3404hOkHQEAopnEvgoMHVcVYn/udvQr/1F5
edYjDRYSq/gLnM8o4vEBAKAyEaSVwNsuX3Yh+YWqw4aexE4u0/1U0icGSLy2N1X0
=Mc9w
-----END PGP SIGNATURE-----


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

* Re: [Sysadmins] ejabberd и смена имени хоста
  2010-07-26 12:16 [Sysadmins] ejabberd и смена имени хоста Jurij Bogaevs'kyj
  2010-07-26 12:21 ` Andrii Dobrovol`s`kii
@ 2010-07-26 12:27 ` Andrey Rahmatullin
  2010-07-26 23:52   ` Jurij Bogaevs'kyj
  2010-07-26 12:28 ` Alexey I. Froloff
  2 siblings, 1 reply; 6+ messages in thread
From: Andrey Rahmatullin @ 2010-07-26 12:27 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

On Mon, Jul 26, 2010 at 03:16:50PM +0300, Jurij Bogaevs'kyj wrote:
> Добрый день всем!
> Подскажите пожалуйста. После изменения имени хоста, ejabberd не 
> запускается с такой руганью
Базу надо было дампить заранее.
Впрочем, возможно, она ещё не сдохла.

> ERROR REPORT==== 2010-07-26 11:12:41 ===
> E(<0.36.0>:ejabberd_config:278) : Error reading Mnesia database spool files:
> The Mnesia database couldn't read the spool file for the table 'config'.
> ejabberd needs read and write access in the directory:
>     /var/lib/ejabberd
> Maybe the problem is a change in the computer hostname,
> or a change in the Erlang node name, which is currently:
>     ejabberd@optymus
В имени ноды хостнейм упоминать было нельзя, надо было ставить localhost.

> Как исправить?
Для начала попробовать поменять хостнейм на старый, сдампить базу,
поменять имя ноды на нормальное (ejabberd@localhost), ресторнуть базу и
поменять хостнейм на новый.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

> Эд собрал 2.6.3 с swsuspend 2.0, так что в /pub/people/ed.
ВАУ.  Вечер обещает быть веселым :)
		-- mike in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: [Sysadmins] ejabberd и смена имени хоста
  2010-07-26 12:16 [Sysadmins] ejabberd и смена имени хоста Jurij Bogaevs'kyj
  2010-07-26 12:21 ` Andrii Dobrovol`s`kii
  2010-07-26 12:27 ` Andrey Rahmatullin
@ 2010-07-26 12:28 ` Alexey I. Froloff
  2 siblings, 0 replies; 6+ messages in thread
From: Alexey I. Froloff @ 2010-07-26 12:28 UTC (permalink / raw)
  To: sysadmins

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

On Mon, Jul 26, 2010 at 03:16:50PM +0300, Jurij Bogaevs'kyj wrote:
> Подскажите пожалуйста. После изменения имени хоста, ejabberd не 
> запускается с такой руганью
Надо было гуглить раньше - http://www.ejabberd.im/migrate-host

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [Sysadmins] ejabberd и смена имени хоста
  2010-07-26 12:27 ` Andrey Rahmatullin
@ 2010-07-26 23:52   ` Jurij Bogaevs'kyj
  2010-08-09  7:14     ` Vladimir V. Kamarzin
  0 siblings, 1 reply; 6+ messages in thread
From: Jurij Bogaevs'kyj @ 2010-07-26 23:52 UTC (permalink / raw)
  To: sysadmins

On 26.07.10 15:27, Andrey Rahmatullin wrote:
> On Mon, Jul 26, 2010 at 03:16:50PM +0300, Jurij Bogaevs'kyj wrote:
>> Добрый день всем!
>> Подскажите пожалуйста. После изменения имени хоста, ejabberd не
>> запускается с такой руганью
> Базу надо было дампить заранее.
> Впрочем, возможно, она ещё не сдохла.
>
>> ERROR REPORT==== 2010-07-26 11:12:41 ===
>> E(<0.36.0>:ejabberd_config:278) : Error reading Mnesia database spool files:
>> The Mnesia database couldn't read the spool file for the table 'config'.
>> ejabberd needs read and write access in the directory:
>>      /var/lib/ejabberd
>> Maybe the problem is a change in the computer hostname,
>> or a change in the Erlang node name, which is currently:
>>      ejabberd@optymus
> В имени ноды хостнейм упоминать было нельзя, надо было ставить localhost.

В имени хостнейм не упоминал, называл только виртуальный хост.

>
>> Как исправить?
> Для начала попробовать поменять хостнейм на старый, сдампить базу,
> поменять имя ноды на нормальное (ejabberd@localhost), ресторнуть базу и
> поменять хостнейм на новый.
>

Получилось. Вернул назад старый хостнейм, сбекапил базу, с помощью 
скрипта от сюда http://www.ejabberd.im/migrate-host переименовал, снес 
ejabberd, почистил /var/lib/ejabberd/, установил ejabberd, ресторнул 
базу. После чего в конфиг добавил старый виртуальний хост.
Спасибо всем за помощь.


-- 
Jurij Bogaevs'kiy aka samuray
ICQ:248954815
Jabber:Jurij.Bogaevskyj_at_jabber.kiev.ua



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

* Re: [Sysadmins] ejabberd и смена имени хоста
  2010-07-26 23:52   ` Jurij Bogaevs'kyj
@ 2010-08-09  7:14     ` Vladimir V. Kamarzin
  0 siblings, 0 replies; 6+ messages in thread
From: Vladimir V. Kamarzin @ 2010-08-09  7:14 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

>>>>> On 27 Jul 2010 at 05:52 "JB" == Jurij Bogaevs'kyj writes:

JB> On 26.07.10 15:27, Andrey Rahmatullin wrote:
>> On Mon, Jul 26, 2010 at 03:16:50PM +0300, Jurij Bogaevs'kyj wrote:
>>> Добрый день всем!
>>> Подскажите пожалуйста. После изменения имени хоста, ejabberd не
>>> запускается с такой руганью
>> Базу надо было дампить заранее.
>> Впрочем, возможно, она ещё не сдохла.
>>
>>> ERROR REPORT==== 2010-07-26 11:12:41 ===
>>> E(<0.36.0>:ejabberd_config:278) : Error reading Mnesia database spool files:
>>> The Mnesia database couldn't read the spool file for the table 'config'.
>>> ejabberd needs read and write access in the directory:
>>>      /var/lib/ejabberd
>>> Maybe the problem is a change in the computer hostname,
>>> or a change in the Erlang node name, which is currently:
>>>      ejabberd@optymus
>> В имени ноды хостнейм упоминать было нельзя, надо было ставить localhost.
JB> В имени хостнейм не упоминал, называл только виртуальный хост.
>>
>>> Как исправить?
>> Для начала попробовать поменять хостнейм на старый, сдампить базу,
>> поменять имя ноды на нормальное (ejabberd@localhost), ресторнуть базу и
>> поменять хостнейм на новый.
>>
JB> Получилось. Вернул назад старый хостнейм, сбекапил базу, с помощью
JB> скрипта от сюда http://www.ejabberd.im/migrate-host переименовал, снес
JB> ejabberd, почистил /var/lib/ejabberd/, установил ejabberd, ресторнул
JB> базу. После чего в конфиг добавил старый виртуальний хост.
JB> Спасибо всем за помощь.

А вы не пробовали перед этим в /etc/sysconfig/ejabberd задать в ERLANG_NODE
старое значение?

-- 
vvk


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

end of thread, other threads:[~2010-08-09  7:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 12:16 [Sysadmins] ejabberd и смена имени хоста Jurij Bogaevs'kyj
2010-07-26 12:21 ` Andrii Dobrovol`s`kii
2010-07-26 12:27 ` Andrey Rahmatullin
2010-07-26 23:52   ` Jurij Bogaevs'kyj
2010-08-09  7:14     ` Vladimir V. Kamarzin
2010-07-26 12:28 ` Alexey I. Froloff

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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