From: Jurij Bogaevs'kyj <Jurij.Bogaevskiy@gmail.com> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] ejabberd и смена имени хоста Date: Tue, 27 Jul 2010 02:52:56 +0300 Message-ID: <i2l74p$3km$1@dough.gmane.org> (raw) In-Reply-To: <20100726122707.GR6059@wrars-comp.wrarsdomain> 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
next prev parent reply other threads:[~2010-07-26 23:52 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-26 12:16 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 [this message] 2010-08-09 7:14 ` Vladimir V. Kamarzin 2010-07-26 12:28 ` Alexey I. Froloff
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='i2l74p$3km$1@dough.gmane.org' \ --to=jurij.bogaevskiy@gmail.com \ --cc=sysadmins@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 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