redsolution / xabber-websocket

Standalone WebSocket connection manager needed to connect Xabber for Web to multiple different XMPP servers
https://www.xabber.com
GNU Affero General Public License v3.0
11 stars 7 forks source link

./bin/xabber_ws stop fails #8

Open M-Stenzel opened 3 years ago

M-Stenzel commented 3 years ago

Hi team,

thank you for your wonderful piece of software! Installing the latest version was very easy.

Starting the software works great (./bin/xabber_ws start), however, I cannot stop the xabber websocket.

When I run ./bin/xabber_ws stop I receive this error message:

init terminating in do_boot ({cannot get bootfile,no_dot_erlang.boot})

Crash dump is being written to: erl_crash.dump...done

This is the dump (link):

https://www.xy-space.de/owncloud/index.php/s/hjbrnr4F4bWQKAq

I am running erlang version 22.

I need to kill the process by hand

/usr/local/redsolution/xabber-websocket/xabber_ws/erts-10.7.2.6/bin/run_erl -daemon /tmp/erl_pipes/xabber_ws/ /usr/local/redsolution/xabber-websocket/xabber_ws/log exec "/usr/local/redsolution/xabber-websocket/xabber_ws/bin/xabber_ws" "console"

Any ideas?

Martin.

Martin.

tacerus commented 2 years ago

Hi,

I have the same issue and would appreciate if a corrected script, or possibly a systemd unit file for modern systems, could be supplied. I attempted to have empd start xabber_ws directly, however there is a lot of added logic in the xabber_ws script which I do not understand.

Martin, should you find a solution I would appreciate if you could post an update. Else we'll have to wait for the developers to chime in.

Best, Georg