Hello.
Hope you can help me, otherwise, I'm stucked :)
Few details:
OS : 5.4-RELEASE-p14
Erlang : erlang-r10b10,1
ejabberd : ejabberd-1.1.1
erlang compiled from ports, just "make, make install, make clean". jdk1.5, native.
ejabberd compiled from ports.
running /usr/local/etc/rc.d/ejabberd start does nothing.
running /usr/local/ejabberd by hand is not much better.
running "erl -sname ejabberd -s ejabberd -ejabberd config \"/usr/local/etc/ejabberd/ejabberd.cfg\" -mnesia dir \"/var/spool/ejabberd\" -kernel inetrc \"/usr/local/etc/ejabberd/ejabberd.inetrc\"" as a ejabberd user starts the ejabberd, but it crashes with something like this:
'Protocol: ~p: register error: ~p~n',[inet_tcp,{{badmatch,{error,etimedout}}
+
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
+
crash dump. (any
yeah.. I tried to find anything about this "etimedout" error, but failed.
Perhaps the problem is, that the box on which ejabberd is installed acts as a vpn gateway, so it has 2 configured ethernet interfaces + 5 gif pseudo-devices. Could it be? everything else on this box works like charm.
I would really appreciate any help.
--
Best Regards,
Michal
empd?
Hello.
strange enough:
zool% ps ax | grep epmd
44879 p3 S 0:00.00 /usr/local/lib/erlang/erts-5.4.13/bin/epmd -daemon
zool% sockstat | grep epmd
root epmd 44879 3 tcp4 *:4369 *:*
but:
zool% /usr/local/lib/erlang/erts-5.4.13/bin/epmd -names
epmd: Cannot connect to local epmd
can it be the problem with my ejabberd instalation? But why?
--
Best Regards,
Michal
Try "killall epmd" and then
Try "killall epmd" and then start ejabberd with the init script; maybe you closed ejabberd not in the right way.
--
sander
thanks for help, but it's
thanks for help, but it's not the problem
I'm quite sure it's a problem with epmd.
trying "epmd -names" finishes with "cannot connect to local epmd server"
epmd is of course up and running on defaul port (4369). The only firewall rule on this box says "allow ip from any to any", so firewall can't be the issue
look at this:
zool# erl -name mk@zool
{error_logger,{{2006,5,17},{13,59,26}},'Protocol: ~p: register error: ~p~n',[inet_tcp,{{badmatch,{error,etimedout}},
..
cut
..
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
while on my linux box I get the expected result:
[kowalikm]% erl -name mk@kowalikm
Erlang (BEAM) emulator version 5.4.12 [source] [hipe] [threads:0]
Eshell V5.4.12 (abort with ^G)
(mk@kowalikm)1> node().
mk@kowalikm
I hope, that at least I have the problem pointed. now the only thing I have to do is to solve it :)
--
Best Regards,
Michal
Freebsd + ejabberd 1.1.1 cant' start - solution :)
Hello.
Perhaps someone will have similiar problem - solution was extremaly easy.. Actually, so easy, that it's a shame to say it...
The problem was, that lo0, the loopback network device wasn't configured. That's all :)
--
Best Regards,
Michal.
Can you tell me how to compile ejabberd1.1.1 on freebsd?
I cannot compile ejabberd 1.1.1 on FreeBSD 6.1.
Re: Can you tell me how to compile ejabberd1.1.1 on freebsd?
I cannot compile ejabberd 1.1.1 on FreeBSD 6.1.
It works great here with the FreeBSD ports. Try to install erlang-lite instead of the erlang port, this compiles much more smoothly and you don't need the bloat of the erlang port.
I used gmake instead of make. It worked now.
Also in the starter script, if I do not put -detached, it won't work. Then I put -detached, it works now.
I canhttp://:5280/admin , but I can never make a connect using Exodus.
I am making JWChat. I wish jwchat will solve some connection problem for me.
Here are the notes from my FreeBSD 6.1 install
http://www.ejabberd.im/node/894#comment-1958
I have some notes on setting up jwchat, etc if you get stuck...