Wow, the chef himself ...
Hi Matthew,
I don't know what to make of this.
history:
> $ lua5.1 -e 'print(require"ssl" and "ok")'
lua5.1: error loading module 'ssl.core' from file
'/usr/lib/arm-linux-gnueabihf/lua/5.1/ssl.so':
liblua5.1-socket.so.2: cannot open shared object file: No such
file or directory
stack traceback:
[C]: ?
[C]: in function 'require'
/usr/share/lua/5.1/ssl.lua:7: in main chunk
[C]: in function 'require'
(command line):1: in main chunk
[C]: ?
> $ apt-cache policy lua-sec lua-socket
lua-sec:
Installiert: 0.5-1
Installationskandidat: 0.5-1
Versionstabelle:
*** 0.5-1 0
500
http://mirrordirector.raspbian.org/raspbian/ jessie/main
armhf Packages
100 /var/lib/dpkg/status
lua-socket:
Installiert: 3.0-rc1-4~wheezy
Installationskandidat: 3.0-rc1-4~wheezy
Versionstabelle:
*** 3.0-rc1-4~wheezy 0
100 /var/lib/dpkg/status
3.0~rc1-3 0
500
http://mirrordirector.raspbian.org/raspbian/ jessie/main
armhf Packages
> reinstall of lua-sec
> $ sudo apt-get install --reinstall lua-sec
> $ apt-cache policy lua-sec lua-socket
lua-sec:
Installiert: 0.5-1
Installationskandidat: 0.5-1
Versionstabelle:
*** 0.5-1 0
500
http://mirrordirector.raspbian.org/raspbian/ jessie/main
armhf Packages
100 /var/lib/dpkg/status
lua-socket:
Installiert: 3.0-rc1-4~wheezy
Installationskandidat: 3.0-rc1-4~wheezy
Versionstabelle:
*** 3.0-rc1-4~wheezy 0
100 /var/lib/dpkg/status
3.0~rc1-3 0
500
http://mirrordirector.raspbian.org/raspbian/ jessie/main
armhf Packages
> $ lua5.1 -e 'print(require"ssl" and "ok")'
lua5.1: error loading module 'ssl.core' from file
'/usr/lib/arm-linux-gnueabihf/lua/5.1/ssl.so':
liblua5.1-socket.so.2: cannot open shared object file: No such
file or directory
stack traceback:
[C]: ?
[C]: in function 'require'
/usr/share/lua/5.1/ssl.lua:7: in main chunk
[C]: in function 'require'
(command line):1: in main chunk
[C]: ?
> $ sudo prosodyctl start
**************************
Prosody was unable to find LuaSec
This package can be obtained in the following ways:
Source:
https://github.com/brunoos/luasec
Debian/Ubuntu: sudo apt-get install lua-sec
luarocks: luarocks install luasec
SSL/TLS support will not be available
More help can be found on our website, at
http://prosody.im/doc/depends
**************************
**************************
Prosody was unable to find LuaSec
This package can be obtained in the following ways:
Source:
https://github.com/brunoos/luasec
Debian/Ubuntu: sudo apt-get install lua-sec
luarocks: luarocks install luasec
SSL/TLS support will not be available
More help can be found on our website, at
http://prosody.im/doc/depends
**************************
Started
> $ sudo cat /var/log/prosody/prosody.err
Jun 01 12:34:28 my.host.org:tls error Error creating context for c2s:
LuaSec (required for encryption) was not found
Jun 01 12:34:28 my.host.org:tls error Error creating contexts for
s2sout: LuaSec (required for encryption) was not found
Jun 01 12:34:28 my.host.org:tls error Error creating contexts for
s2sin: LuaSec (required for encryption) was not found
> $ sudo cat /var/log/prosody/prosody.log
Jun 01 12:34:21 mod_posix warn Received SIGTERM
Jun 01 12:34:21 general info Shutting down: Received SIGTERM
Jun 01 12:34:22 general info Shutting down...
Jun 01 12:34:22 general info Shutdown status: Cleaning up
Jun 01 12:34:22 general info Shutdown complete
Jun 01 12:34:28 general info Hello and welcome to Prosody version
0.10.2
Jun 01 12:34:28 general info Prosody is using the select backend for
connection handling
Jun 01 12:34:28 portmanager info Activated service 'c2s' on
[::]:5222, [*]:5222
Jun 01 12:34:28 portmanager info Activated service 'legacy_ssl'
on no ports
Jun 01 12:34:28 portmanager info Activated service 's2s' on
[::]:5269, [*]:5269
Jun 01 12:34:28 mod_posix info Prosody is about to detach from
the console, disabling further console output
Jun 01 12:34:28 mod_posix info Successfully daemonized to PID
3189
Jun 01 12:34:28 my.host.org:tls error Error creating context for c2s:
LuaSec (required for encryption) was not found
Jun 01 12:34:28 my.host.org:tls error Error creating contexts for
s2sout: LuaSec (required for encryption) was not found
Jun 01 12:34:28 my.host.org:tls error Error creating contexts for
s2sin: LuaSec (required for encryption) was not found
Bests, Lars