Results 1 to 2 of 2

Thread: Erlang updates killed my ejabberd

  1. #1

    Default Erlang updates killed my ejabberd

    Code:
    jardell:~ # systemctl status ejabberd
    ● ejabberd.service - A distributed, fault-tolerant Jabber/XMPP server
       Loaded: loaded (/usr/lib/systemd/system/ejabberd.service; enabled; vendor preset: disabled)
       Active: active (exited) since Sun 2018-11-11 08:32:48 EST; 1h 47min ago
      Process: 4799 ExecStart=/usr/sbin/ejabberdctl start (code=exited, status=0/SUCCESS)
     Main PID: 2464 (code=exited, status=1/FAILURE)
        Tasks: 0 (limit: 4915)
       CGroup: /system.slice/ejabberd.service
    
    
    Nov 11 08:32:48 jardell systemd[1]: Starting A distributed, fault-tolerant Jabber/XMPP server...
    Nov 11 08:32:48 jardell systemd[1]: Started A distributed, fault-tolerant Jabber/XMPP server.
    In the error log, I get
    Code:
      port: 5222
      module: ejabberd_c2s
      certfile: "/etc/ejabberd/certs/jarfx.dyndns.org.pem"
      starttls: true
      max_stanza_size: 65536
      shaper: c2s_shaper
      access: c2s
    - 
      port: 5269
      module: ejabberd_s2s_in
    - 
      port: 5280
      module: ejabberd_http
      request_handlers: 
        "/websocket": ejabberd_http_ws
        "/web": mod_http_fileserver
      http_poll: true
      web_admin: true
      http_bind: true
      tls: true
      certfile: "/etc/ejabberd/certs/jarfx.dyndns.org.pem"
      captcha: true
    2018-11-11 10:33:26.093 [error] <0.66.0>@ejabberd_config:start:88 Failed to load configuration file /etc/ejabberd/ejabberd.yml
    2018-11-11 10:33:26.093 [critical] <0.66.0>@ejabberd_app:start:69 Failed to start ejabberd application: invalid_option
    But the file ejabberd.yml is there:
    Code:
    /etc/ejabberd # ls -l
    total 120
    drwxr-xr-x 1 root     root       190 Jun 28 14:58 certs
    -rw-r----- 1 ejabberd ejabberd 17337 Jul 19 14:49 ejabberd.yml
    -rw-r----- 1 ejabberd ejabberd  5218 Nov 10 19:47 ejabberd.yml.rpmnew
    -rw-r----- 1 ejabberd ejabberd 17050 Jun 16  2017 ejabberd.yml.rpmsave
    -rw-r----- 1 ejabberd ejabberd 22655 Jun 28 14:40 ejabberd.yml.sav
    -rw-r----- 1 ejabberd ejabberd 17290 Jul 19 13:48 ejabberd.yml~
    -rw-r----- 1 ejabberd ejabberd  5731 Jun 27 15:54 ejabberdctl.cfg
    -rw-r----- 1 ejabberd ejabberd  5753 Jun 30 18:35 ejabberdctl.cfg.rpmnew
    -rw-r----- 1 ejabberd ejabberd  5732 Apr 18  2018 ejabberdctl.cfg~
    -rw-r----- 1 root     ejabberd   111 Nov 10 19:47 inetrc
    the etc/ejabberd permissions are:
    drwxr-x--- 1 root ejabberd 288 Nov 11 08:18 ejabberd
    What has gone wrong?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,037
    Blog Entries
    14

    Default Re: Erlang updates killed my ejabberd

    Just a guess: Could it be your user needs to be a member of the ejabberd group ?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •