Hi
I wanted to move/migrate a working Ejabber 2.x installation from one SME8b6 to a fresh SME8b6 installation to replace server hardware.
On the new system the following rpms are installed which are the same version that were in use on the former installation:
smeserver-ejabberd-2.0.1-18.el4.sme
ejabberd-2.1.6-1.el5
erlang-R12B-5.10.el5
erlang-esasl-0.1-5.el5
The contribs wiki has documentation also for a backup/restore of the required "mnesia" database
http://wiki.contribs.org/Ejabberd#Backup_and_restore - but the restore seems not to work and I wonder whether the required command might be related to an older ejabber version only?
When I try to run:
/etc/e-smith/events/actions/ejabberd-load-tables
I receive the following error:
The node ejabberd@tga1 is started with status: started
ejabberd is not running in that node
Check for error messages: /var/log/ejabberd/ejabberd.log
or other files in that directory.
Error in ejabberd ctl process: 'error' badarg
Run ejabberdctl without parameters to get help
The backup (input) file definitely exists:
ll /home/e-smith/db/ejabberd/
total 232
-rw-r--r-- 1 33 33 236907 Feb 19 01:52 ejabberd.backup
and the ejabber service is enabled:
db configuration show ejabberd
ejabberd=service
Domain=XXXXXXX
Notify=disabled
Register=smeusers
TCPPorts=XXXX,XXXX
WebAdmin=enabled
WelcomeSubject=Welcome!
WelcomeText=Hi there, you are now connected to our Jabber server.
XMPPAccess=tls
access=public
status=enabled
When I look into the the source of the restore, the final command would be:
/sbin/e-smith/ejabberdctl restore /home/e-smith/db/ejabberd/ejabberd.backup
and when I run this manually, I receive the error as above. Strangely, even if I run only
/sbin/e-smith/ejabberdctl
I receive exactly the same error?
Michael
P.S.: Reported as bug now
http://bugs.contribs.org/show_bug.cgi?id=6525