baiwyc119 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

"luasocket was not compiled with UNIX sockets support" when using prosody repo #476

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add prosody repo to your debian wheezy box
2. install prosody
3. configure it for using dovecot_auth via a unix socket
4. "luasocket was not compiled with UNIX sockets suppor"

What is the expected output? What do you see instead?

nothing or "dovecot auth via unix socket activated"-like stuff

What version of the product are you using? On what operating system?

Latest from official Prosody DEB repo. On Debian Wheezy.

Please add unix socket support to lua-socket package in official prosody repo. 
Thanks!

Original issue reported on code.google.com by k...@ufiseru.cz on 24 Feb 2015 at 6:29

GoogleCodeExporter commented 9 years ago
I was able to retrieve log:

2015 Feb 24 19:18:11 host auth_dovecot: Dovecot connection failure: error 
connecting to dovecot UNIX socket at '/var/run/dovecot/auth-provider'. error 
was 'luasocket was not compiled with UNIX sockets support'
2015 Feb 24 19:18:11 host modulemanager: Error initializing module 
'auth_dovecot' on 'domain.org': 
...s/mod_auth_dovecot/auth_dovecot/mod_auth_dovecot.lua:45: Could not create a 
new SASL object
stack traceback:
    /usr/lib/prosody/core/modulemanager.lua:29: in function </usr/lib/prosody/core/modulemanager.lua:29>
    [C]: in function 'assert'
    ...s/mod_auth_dovecot/auth_dovecot/mod_auth_dovecot.lua:45: in main chunk
    (tail call): ?
    [C]: in function 'xpcall'
    /usr/lib/prosody/core/modulemanager.lua:29: in function 'pcall'
    /usr/lib/prosody/core/modulemanager.lua:171: in function 'do_load_module'
    /usr/lib/prosody/core/modulemanager.lua:249: in function 'load'
    /usr/lib/prosody/core/usermanager.lua:67: in function '?'
    /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
    /usr/lib/prosody/core/hostmanager.lua:98: in function 'activate'
    /usr/lib/prosody/core/hostmanager.lua:44: in function '?'
    /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
    /usr/bin/prosody:337: in function 'prepare_to_start'
    /usr/bin/prosody:403: in main chunk
    [C]: ?

Original comment by k...@ufiseru.cz on 24 Feb 2015 at 6:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for the report! I'll have to take a look at this when I rebuild the 
LuaSocket package in our repository.

Original comment by MWild1 on 25 Feb 2015 at 7:38

GoogleCodeExporter commented 9 years ago
Solution: in package source file "debian/rules" change "DEB_MAKE_INSTALL_TARGET 
:= install" to "install-unix" 

Original comment by k...@ufiseru.cz on 3 Mar 2015 at 4:40