Hi all,
I've installed ejabberd 2.1.0 in a Linux machine (OpenSuse 11.2) and works fine. Then I've made a cluster of two nodes and also works ok. Finally I've tried to configure jwchat 1.0 and it didn't work! I've followed the tutorial: http://www.ejabberd.im/jwchat-localserver
BTW, I've made all the files in /var/lib/ejabberd/www owned by "ejabberd" because the JWChat files originally were owned by "501".
Then I've started the node: "ejabberdctl start" and the status said to check error messages in "/var/log/ejabberd/ejabberd.log". But after a few seconds the command "ejabberdctl status" says "The node 'ejabberd@ejabber1.mydomain.com' is started with status:started. ejabberd 2.1.0" is running in that node".
However, when I open my browser and point to: "http://ejabber1.mydomain.com:5280/web/jwchat/index.html", my browser shows only an error: "404 Not Found".
I'm using erlang-R13B01-14.1. The only error included in the ejabberd.log is the following:
=ERROR REPORT=== 2010-02-03 14:42:56 ==
Error in process <0.296.0> on node 'ejabberd@ejabber1.mydomain.com' with exit value: {badarg, [{erlang,register,[asn1_driver_owner,<0.296.0>]},
{asn1rt_driver_handler,init,2}]}
Any suggestion about what the problem is? Thanks in advance!
J. Marta
Put the files in the
Put the files in the direcotry /var/lib/ejabberd/www/jwchat/
The only error included in the ejabberd.log is the following:
=ERROR REPORT=== 2010-02-03 14:42:56 ==
Error in process <0.296.0> on node 'ejabberd@ejabber1.mydomain.com' with exit value: {badarg, [{erlang,register,[asn1_driver_owner,<0.296.0>]},
{asn1rt_driver_handler,init,2}]}
Related comment: http://www.ejabberd.im/node/3486#comment-54420
Re: Put the files in the .../jwchat directory
I had already put all the files in /var/lib/ejabberd/www/jwchat/, as the tutorial said. I've been monitoring the connection and the web server is listening and the connection is established between the client and the server. However, the latter doesn't serve the index.html page, only shows the "404 Not Found error"!