#656 mod_auth_external on prosody-0.10-1nightly242

Reporter Izrodix
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Type-Defect
  • Status-Invalid
  1. Izrodix on

    What steps will reproduce the problem? Install from source prosody-0.10-1nightly242 on FreeBSD 10.2-RELEASE-p10 Those packages is required: lua51-5.1.5_9 Small, compilable scripting language providing easy access to C code lua51-luaexpat-1.3.0 LuaExpat is a SAX XML parser based on the Expat library lua51-luafilesystem-1.6.3 Library to access directory structure and file attributes lua51-luasec-0.5 Lua binding for the OpenSSL library to provide TLS/SSL communication lua51-luasocket-3.0r1_1 IPv4 and IPv6 socket support for the Lua language lua51-pty-1.25 Pty (pseudo-terminal) bindings for Lua 5 luadbi-0.5_2 LuaDBI driver Mar 31 14:34:33 general info Hello and welcome to Prosody version 0.10 nightly build 242 (2016-03-28, a1570219b865) Mar 31 14:34:33 stats debug Statistics collection is disabled Mar 31 14:34:33 general info Prosody is using the select backend for connection handling Mar 31 14:34:33 hostmanager debug Activated host: todakom.com Mar 31 14:34:33 modulemanager error Error initializing module 'auth_external' on 'domain.com': ...usr/local/abin/prosody-modules/mod stack traceback: /usr/local/lib/prosody/core/modulemanager.lua:31: in function 'new' ...usr/local/abin/prosody-modules/mod_auth_external.lua:43: in main chunk (tail call): ? [C]: in function 'xpcall' /usr/local/lib/prosody/core/modulemanager.lua:31: in function 'pcall' /usr/local/lib/prosody/core/modulemanager.lua:176: in function 'do_load_module' /usr/local/lib/prosody/core/modulemanager.lua:254: in function 'load' /usr/local/lib/prosody/core/usermanager.lua:66: in function '?' /usr/local/lib/prosody/util/events.lua:78: in function </usr/local/lib/prosody/util/events.lua:74> (tail call): ? /usr/local/lib/prosody/core/hostmanager.lua:113: in function 'activate' /usr/local/lib/prosody/core/hostmanager.lua:59: in function '?' /usr/local/lib/prosody/util/events.lua:78: in function </usr/local/lib/prosody/util/events.lua:74> (tail call): ? /usr/local/lib/prosody/../../bin/prosody:346: in function 'prepare_to_start' /usr/local/lib/prosody/../../bin/prosody:414: in main chunk [C]: ?

  2. Zash on

    The line containing the actual error seems to have been truncated. The line number suggests something with lpty, so check that you have the right lpty. The latest version I see is 1.2, it seems weird that you have 1.25.

    Changes
    • tags Status-NeedInfo
  3. Izrodix on

    PORTNAME= pty PORTVERSION= 1.25 CATEGORIES= devel MASTER_SITES= https://raw.githubusercontent.com/nuclewall/bsdinstaller/${COMMIT}/src/lib/lua/pty/ \ http://BSDforge.com/projects/source/devel/lua-pty/ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} DISTFILES= pty.lua pty.c DIST_SUBDIR= lua-${PORTNAME}-${COMMIT} MAINTAINER= portmaster@BSDforge.com COMMENT= Pty (pseudo-terminal) bindings for Lua 5 USES= lua:51 COMMIT= 8323bb9 MAKEFILE= ${FILESDIR}/Makefile MAKE_ENV= VPATH=${_DISTDIR} NO_WRKSUBDIR= yes PLIST_FILES= %%LUA_MODSHAREDIR%%/pty.lua \ %%LUA_MODLIBDIR%%/lpty.so do-extract: ${CP} -p ${_DISTFILES:S|^|${_DISTDIR}/|} ${WRKSRC}/ do-install: @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${INSTALL_PROGRAM} ${WRKSRC}/lpty.so ${STAGEDIR}${LUA_MODLIBDIR} @${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR} ${INSTALL_DATA} ${WRKSRC}/pty.lua ${STAGEDIR}${LUA_MODSHAREDIR} .include <bsd.port.mk>

  4. Zash on

    That does not appear to be the same as http://tset.de/lpty/index.html

  5. Izrodix on

    Ok i installed version which you suggested and here is the result Mar 31 16:01:29 modulemanager error Error initializing module 'auth_external' on 'todakom.com': [string "expect"]:1: unexpected symbol near '#' stack traceback: /usr/local/lib/prosody/core/modulemanager.lua:31: in function </usr/local/lib/prosody/core/modulemanager.lua:31> [C]: ? [C]: in function '_real_require' /usr/local/lib/prosody/../../bin/prosody:178: in function 'require' ...usr/local/abin/prosody-modules/mod_auth_external.lua:12: in main chunk (tail call): ? [C]: in function 'xpcall' /usr/local/lib/prosody/core/modulemanager.lua:31: in function 'pcall' /usr/local/lib/prosody/core/modulemanager.lua:176: in function 'do_load_module' /usr/local/lib/prosody/core/modulemanager.lua:254: in function 'load' /usr/local/lib/prosody/core/usermanager.lua:66: in function '?' /usr/local/lib/prosody/util/events.lua:78: in function </usr/local/lib/prosody/util/events.lua:74> (tail call): ? /usr/local/lib/prosody/core/hostmanager.lua:113: in function 'activate' /usr/local/lib/prosody/core/hostmanager.lua:59: in function '?' /usr/local/lib/prosody/util/events.lua:78: in function </usr/local/lib/prosody/util/events.lua:74> (tail call): ? /usr/local/lib/prosody/../../bin/prosody:346: in function 'prepare_to_start' /usr/local/lib/prosody/../../bin/prosody:414: in main chunk [C]: ?

  6. Zash on

    "unexpected symbol near '#'" sounds like the library was not installed correctly

  7. Zash on

    Most likely explanation is that something with a shebang #! or similar was where Lua code was expected. Closing because no response.

    Changes
    • owner Zash
    • tags Status-Invalid

New comment

Not published. Used for spam prevention and optional update notifications.