ejabberd started nicht - Ich versteh die Fehlermeldung nicht

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Kiigass
Beiträge: 62
Registriert: 30.11.2012 10:58:05

ejabberd started nicht - Ich versteh die Fehlermeldung nicht

Beitrag von Kiigass » 02.11.2017 16:11:36

Moin,

ich möchte gerne einen jabber Dienst auf meinem Server einrichten. Ich habe mich für ejabberd entschieden und für die Konfiguration von den Kameraden von schokokeks.org (https://gitlab.com/hanno/ejabberd-config/tree/master), weil ich gerne OMEMO etc nutzen möchte.

Ich habe also ejabberd aus den stable repos installiert und das startet/ läuft auch mit der Standardkonfiguration. Soweit so gut.
Wenn ich nun die (auf mich angepasste) Konfig lade, startet ejabberd nicht mehr. Das Problem dabei: Ich verstehe die Fehlermeldungen nicht und moechte dabei um Hilfe bitten.

Meine ejabberd.yml:
[np]https://nopaste.xyz/?abe6171759ae34b4#I ... P7v+gGrdQ=[/np]

Mein Vorgehen:

Code: Alles auswählen

>> systemctl start ejabberd
Job for ejabberd.service failed because a timeout was exceeded.
See "systemctl status ejabberd.service" and "journalctl -xe" for details.
>> journalctl -xe
Nov 01 00:43:49 kiigass-home.de systemd[1]: Starting A distributed, fault-tolerant Jabber/XMPP server...
Nov 01 00:45:19 kiigass-home.de systemd[1]: ejabberd.service: Start operation timed out. Terminating.
Nov 01 00:45:19 kiigass-home.de systemd[1]: Failed to start A distributed, fault-tolerant Jabber/XMPP server.
Nov 01 00:45:19 kiigass-home.de systemd[1]: ejabberd.service: Unit entered failed state.
Nov 01 00:45:19 kiigass-home.de systemd[1]: ejabberd.service: Failed with result 'timeout'.
Nov 01 00:45:24 kiigass-home.de systemd[1]: ejabberd.service: Service hold-off time over, scheduling restart.
Nov 01 00:45:24 kiigass-home.de systemd[1]: Stopped A distributed, fault-tolerant Jabber/XMPP server.
Letzteres wird wiederholt bis ich die Versuche von systemd abbreche mit

Code: Alles auswählen

systemctl stop ejabberd
/var/log/ejabberd/crash.log:

Code: Alles auswählen

2017-11-02 15:46:04 =CRASH REPORT====
  crasher:
    initial call: application_master:init/4
    pid: <0.60.0>
    registered_name: []
    exception exit: {{bad_return,{{ejabberd_app,start,[normal,[]]},{'EXIT',{function_clause,[{lists,foreach,[#Fun<acl.3.131525146>,undefined],[{file,"lists.erl"},{line,1337}]},{acl,start,0,[{file,"src/acl.erl"},{line,94}]},{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,62}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}
    ancestors: [<0.59.0>]
    messages: [{'EXIT',<0.61.0>,normal}]
    links: [<0.59.0>,<0.31.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 27
    reductions: 139
  neighbours:
/var/log/ejabberd/ejabberd.log:

Code: Alles auswählen

2017-11-02 15:46:02.858 [info] <0.31.0> Application lager started on node ejabberd@hobble
2017-11-02 15:46:02.872 [info] <0.31.0> Application crypto started on node ejabberd@hobble
2017-11-02 15:46:02.879 [info] <0.31.0> Application sasl started on node ejabberd@hobble
2017-11-02 15:46:02.886 [info] <0.31.0> Application asn1 started on node ejabberd@hobble
2017-11-02 15:46:02.887 [info] <0.31.0> Application public_key started on node ejabberd@hobble
2017-11-02 15:46:02.896 [info] <0.31.0> Application ssl started on node ejabberd@hobble
2017-11-02 15:46:02.906 [info] <0.31.0> Application fast_yaml started on node ejabberd@hobble
2017-11-02 15:46:02.923 [info] <0.31.0> Application fast_tls started on node ejabberd@hobble
2017-11-02 15:46:02.935 [info] <0.31.0> Application fast_xml started on node ejabberd@hobble
2017-11-02 15:46:02.945 [info] <0.31.0> Application stringprep started on node ejabberd@hobble
2017-11-02 15:46:02.951 [info] <0.31.0> Application cache_tab started on node ejabberd@hobble
2017-11-02 15:46:03.076 [info] <0.31.0> Application mnesia started on node ejabberd@hobble
2017-11-02 15:46:03.995 [info] <0.31.0> Application inets started on node ejabberd@hobble
2017-11-02 15:46:04.500 [notice] <0.78.0>@lager_file_backend:131 Changed loglevel of /var/log/ejabberd/ejabberd.log to debug
2017-11-02 15:46:04.504 [error] <0.60.0> CRASH REPORT Process <0.60.0> with 0 neighbours exited with reason: no function clause matching lists:foreach(#Fun<acl.3.131525146>, undefined) line 1337 in application_master:init/4 line 134
2017-11-02 15:46:04.504 [info] <0.31.0> Application ejabberd exited with reason: no function clause matching lists:foreach(#Fun<acl.3.131525146>, undefined) line 1337
/var/log/ejabberd/error.log:

Code: Alles auswählen

2017-11-02 15:46:04.504 [error] <0.60.0> CRASH REPORT Process <0.60.0> with 0 neighbours exited with reason: no function clause matching lists:foreach(#Fun<acl.3.131525146>, undefined) line 1337 in application_master:init/4 line 134
So, wie gesagt, ich verstehe vor allem die Error-Meldung nicht. Wenn mir das jemand erklären könnte, wäre ich sehr dankbar.
thx, Kiigass

Antworten