On 12/21/07, Ragnarok <[EMAIL PROTECTED]> wrote:
> >
> > Also, remove all /var/lib/ejabberd/* files (if it's a fresh install
> > and your database isn't populated yet).
> yes, i test with a fresh install and work, but i current have a users in the
> server.

So, something changed and after that ejabberd stopped working. It
might be a database corruption (in this case I'm afraid only backup
can help). Or it might be a change in hostname (did you move the
server to another machine?). In the latter case the simplest way to
recover is to use the old hostname. Or you could follow
http://www.ejabberd.im/migrate-host and migrate the database to a new
hostname.

> > >
> > > scarlet:/var/log/ejabberd# cat /etc/hostname
> > > scarlet
> >
> > What is the output of 'hostname -f' and 'hostname -s'. Also, run 'erl
> > -sname temp' and show the output (including shell prompt).
>
> scarlet:/var/lib/ejabberd# hostname -s
> localhost
> scarlet:/var/lib/ejabberd# hostname -f
> localhost.localdomain
> scarlet:/var/lib/ejabberd# erl -sname temp
> Erlang (BEAM) emulator version 5.5.2 [source] [async-threads:0]
> [kernel-poll:false]
>
> Eshell V5.5.2  (abort with ^G)
> ([EMAIL PROTECTED])1>

These localhosts are consistent with each other, but it's pretty
strange that /etc/hostname contains "scarlet". I think you did
something weird with hostname recently.
Erlang database is tightly bound to machine hostname and refuses to
work if it changes.

-- 
Sergei Golovan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to