thepug / Mod-Http-Pre-Bind

An ejabberd module that pre binds an anonymous sasl session, returning the authenticated session.
http://code.stanziq.com
Other
47 stars 17 forks source link

This mod still work ? #5

Closed m4tm4t closed 11 years ago

m4tm4t commented 11 years ago

Hi, I'm trying to enable pre-binding without success.

I'm running Archlinux & latest Ejabberd/ERLANG. Do you think it's still working ? this mod looks old :( -> Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:false] -> ejabberd 2.1.11-7

Here the ejabberd trace

[root@foo-arch playdoria]# tail -f /var/log/ejabberd/ejabberd.log 
=INFO REPORT==== 2012-12-05 13:46:44 ===
I(<0.37.0>:cyrsasl_digest:44) : FQDN used to check DIGEST-MD5 SASL authentication: "localhost.localdomain"

=ERROR REPORT==== 2012-12-05 13:46:44 ===
C(<0.37.0>:gen_mod:75) : Problem starting the module mod_http_pre_bind for host "foo.playdoria.com" 
 options: []
 error: undef

=ERROR REPORT==== 2012-12-05 13:46:44 ===
C(<0.37.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.

I am using ejabberd since few days and I'm not very comfortable with ERLANG, any help would be really appreciated.

thepug commented 11 years ago

is there anything in /var/log/ejabberd/erlang.log? strange that the error is undef. This module should still work.

m4tm4t commented 11 years ago

I just found the problem, I run a deployment task from rails in order to setup fresh ejabberd environment. (all configs/mods/scripts are living in the rails app.) and the new files have wrong permissions.

My apologies for the inconvenience