What version of OpenSRF do you have installed?
Do the users, passwords, and domains that you defined in
opensrf_core.xml match the domains defined in ejabberd.cfg and the
users you registered with ejabberdctl?
OpenSRF 1.0.2 on Ubuntu Intreped 8.10
Is this info exactly what I should have in /etc/hosts, or should it be
127.0.0.1?
127.0.1.2 public.localhost public
127.0.1.3 private.localhost private
I went through the docs again, and believe I have everything correct in
opensrf_core.xml. I don't see the same info in
/usr/share/ejabbered/ejabberd.cfg. I am guessing it is somehow supposed
to be updated with the proper info using ejabberdctl. I ran the
following a second time, but it said the users are already registered.
ejabberdctl register router private.localhost password
ejabberdctl register opensrf private.localhost password
ejabberdctl register router public.localhost password
ejabberdctl register opensrf public.localhost password
.srmfsh contains:
<srfsh>
<router_name>router</router_name>
<domain>private.localhost</domain>
<username>opensrf</username>
<passwd>password</passwd>
<port>5222</port>
<logfile>/tmp/srfsh.log</logfile>
<loglevel>5</loglevel>
</srfsh>
|