Closed bobnino closed 8 years ago
ejabberd 16.06 and older didn't compile correctly with Erlang R19. Some fixes were committed past week to ejabberd git. Does your crash still happen using ejabberd from git?
ya i concluded that after some research, however i did use git to get and compile ejab 16.06 and erl19 it doesnt work, so i reinstalled erl17.03 instead and now it compiled fine.
i think we can close this as we new support erlang 19.
This still happens with 16.09. Please re-open this issue.
Yes as you read above 16.09 don't work so you need to upgrade your erlang Marc.
I tried to compile ejabberd 16.09 with Erlang/OTP 19.0.3 and ran into the exact same error message. However, according to @cromain's comment this should work, shouldn't it?
Yes your right but what I'm saying is you can just downgrade to erlang 17.03 or wait and see what croman suggests
I installed Debian unstable, which has Erlang/OTP 19.1, and ejabberd from git. It compiles and runs correctly:
$ /sbin/ejabberdctl live
--------------------------------------------------------------------
IMPORTANT: ejabberd is going to start in LIVE (interactive) mode.
All log messages will be shown in the command shell.
You can interact with the ejabberd node if you know how to use it.
Please be extremely cautious with your actions,
and exit immediately if you are not completely sure.
To exit this LIVE mode and stop ejabberd, press:
q(). and press the Enter key
--------------------------------------------------------------------
To bypass permanently this warning, add to ejabberdctl.cfg the line:
EJABBERD_BYPASS_WARNINGS=true
Press return to continue
Erlang/OTP 19 [erts-8.1] [source] [async-threads:10] [kernel-poll:true]
Eshell V8.1 (abort with ^G)
(ejabberd@localhost)1> 22:18:49.052 [info] Application lager started on node ejabberd@localhost
22:18:49.086 [info] Application crypto started on node ejabberd@localhost
22:18:49.233 [info] Application sasl started on node ejabberd@localhost
22:18:49.340 [info] Application asn1 started on node ejabberd@localhost
22:18:49.340 [info] Application public_key started on node ejabberd@localhost
22:18:49.446 [info] Application ssl started on node ejabberd@localhost
22:18:49.466 [info] Application fast_yaml started on node ejabberd@localhost
22:18:49.605 [info] Application fast_tls started on node ejabberd@localhost
22:18:49.659 [info] Application fast_xml started on node ejabberd@localhost
22:18:49.712 [info] Application stringprep started on node ejabberd@localhost
22:18:49.745 [info] Application cache_tab started on node ejabberd@localhost
22:18:50.386 [info] Application mnesia started on node ejabberd@localhost
22:18:51.838 [info] Application inets started on node ejabberd@localhost
22:18:53.770 [info] FQDN used to check DIGEST-MD5 SASL authentication: <<"debian">>
22:18:53.933 [warning] module 'mod_mam' is recommended for module 'mod_muc' but is not found in the config
22:18:54.720 [info] Application iconv started on node ejabberd@localhost
22:18:54.730 [info] Reusing listening port for {5222,{0,0,0,0},tcp}
22:18:54.736 [info] Reusing listening port for {5269,{0,0,0,0},tcp}
22:18:54.737 [info] Reusing listening port for {5280,{0,0,0,0},tcp}
22:18:54.738 [info] ejabberd 16.09.9 is started in the node ejabberd@localhost
22:18:54.738 [info] Application ejabberd started on node ejabberd@localhost
I've had no problems building the new ejabberd 16.09 Debian package with Erlang 19 either.
We are referring to none Debian builds.
I used the official Docker image for Erlang which is also Debian (jessie) based in version 19.0.3 and it didn't work. However, I can confirm that it works with 19.1 which I've tries on CentOS. Consider this solved from my side. Thanks for checking!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
16 ejabbard and 19erlang
ubuntu 14.04
source
=> ejabberd (compile)