Wednesday, November 14, 2018
grimoire@muc.metronome.im
November
Mon Tue Wed Thu Fri Sat Sun
      1
2
3 4
5
6
7
8 9 10 11
12
13
14
15 16 17 18
19 20 21
22
23
24
25
26 27
28 29 30    
             
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[21:26:00] <403> hey there... my metronome crashes when a client connects. I found out by tcpdumping. Upon a SYN, my server would send a RESET. When i checked the metronome logs i realized it was not even runing. A couple of retries later i found out that it seems to crash when a client connects.

https://pastebin.com/HK4DDEW7

i have not changed any config... and i'm running metronome 3.11.1 as part of yunohost.


[21:28:10] <Maranda> That's not very helpful 403
[21:28:24] <403> Maranda, i'm happy to provide any log - what would help you?
[21:28:58] <Maranda> Debug logs / error log / syslog
[21:29:25] <403> You saw the pastebin link, right?
[21:29:30] <Maranda> Yes
[21:29:32] <403> oaky
[21:29:40] <403> so that was part of /var/log/metronome
[21:30:08] <Maranda> Hm no, nm going now I looked at the bin here
[21:30:08] <403> what way could i start metronome so it outputs more verbose?
[21:31:49] <Maranda> 403: what version of Lua are you using?
[21:32:06] <403> # Lua environment
Lua version: Lua 5.1

[21:32:19] <Maranda> The errors there make no sense
[21:32:49] <403> well it seems i broke it with a "sudo apt-get upgrade" because i have not changed some thing else... at least i can't remember
[21:32:58] <403> maybe some lua lib mess up?
[21:33:17] <Maranda> What arch is yunohost running on?
[21:33:28] <Maranda> Most likely
[21:33:41] <403> its running on a debian vps
[21:33:46] <403> x86
[21:34:41] <403> would metronomectl about help you?
[21:35:16] <Maranda> Yes, also have you tried running: sudo ldconfig
[21:35:27] <Maranda> And restart?
[21:35:50] <403> # metronomectl about
Metronome 3.11.1

# Metronome directories
Data directory: /var/lib/metronome
Plugin directory: /usr/lib/metronome/modules/
Config directory: /etc/metronome
Source directory: /usr/lib/metronome

# Lua environment
Lua version: Lua 5.1

Lua module search paths:
/usr/lib/metronome/?.lua
/usr/local/share/lua/5.1/?.lua
/usr/local/share/lua/5.1/?/init.lua
/usr/local/lib/lua/5.1/?.lua
/usr/local/lib/lua/5.1/?/init.lua
/usr/share/lua/5.1/?.lua
/usr/share/lua/5.1/?/init.lua

Lua C module search paths:
/usr/lib/metronome/?.so
/usr/local/lib/lua/5.1/?.so
/usr/lib/x86_64-linux-gnu/lua/5.1/?.so
/usr/lib/lua/5.1/?.so
/usr/local/lib/lua/5.1/loadall.so

LuaRocks: Not installed

# Lua module versions
lfs: LuaFileSystem 1.6.3
luaevent: 0.4.4
lxp: LuaExpat 1.3.0
pposix: 0.3.5
socket: LuaSocket 3.0-rc1
ssl: 0.6


[21:36:19] <403> never used ldconfig
[21:36:35] <403> well, not sure... i mean i could reboot the vps
[21:36:47] <403> actually the only user on there
[21:37:11] <Maranda> Try running the above command, aka type: sudo ldconfig
[21:37:25] <Maranda> In a terminal
[21:38:00] <403> i did. no output
[21:38:05] <403> did not change anything
[21:38:13] <Maranda> Restart metronome now
[21:38:17] <403> i did
[21:38:43] <403> same behaviour
[21:38:58] <403> metronome is running, client tries to connect -> see pastebin
[21:39:12] <Maranda> Sounds like some broken OS installation, ^ moul
[21:39:27] <403> maybe 😣
[21:39:39] <Maranda> If it worked before
[21:39:56] <403> yeah... the only thing i remember that i changed was running that apt-get upgrade
[21:40:14] <Maranda> Have you tried reinstalling yunohost/metronome?
[21:40:27] <403> well not yet... too much work for a tertiary jabber account ;)
[21:40:31] <403> its more or less my playground
[21:40:49] <403> would like to have it working but not being stressy too much about it
[21:41:10] <Maranda> Or just reinstalling Metronome
[21:41:11] <403> already sort of regret having used yunohost, it is tempting and easy to setup, but you do not get the details
[21:41:26] <403> yeah let me reboot the system once... maybe it helps
[21:41:42] <Maranda> I have no idea what could be wrong there
[21:41:43] <403> still can reinstall metronome or whole yunohost later/tomrrow
[21:41:51] <403> yeah... it is really strange
[21:42:49] <Maranda> It looks like mismatched version libraries like it's using 5.2 libs instead of 5.1
[21:43:41] <403> # lua
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio

[21:43:49] <403> not sure if that is of help
[21:45:44] <403> so after reboot
[21:45:45] <403> metronomectl status
Metronome is running with PID 1340

[21:46:05] <403> after i tried to connect with client
[21:46:05] <403> metronomectl status
Metronome is not running

[21:46:46] <massimiliano> It looks like misconfiguration
[21:47:00] <403> yep
[21:47:19] <403> will try to troubleshoot tomorrow... already almost time to go to bed
[21:47:23] <403> thanks for your help so far!
[21:59:40] <Maranda> Np