Results 1 to 9 of 9

Thread: ejabberd 18.04 will not start properly

  1. #1

    Default ejabberd 18.04 will not start properly

    Code:
    2018-06-27 15:34:18 =ERROR REPORT====Unable to load crypto library. Failed with error:
    "load_failed, Failed to load NIF library: '/usr/lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.1' not found (required by /opt/ejabberd-18.04/lib/crypto-4.2/priv/lib/crypto.so)'"
    OpenSSL might not be installed on this system.
    LEAP 15 has openssl 1.1.
    /usr/lib64/libcrypto.so.1.0.0 is there
    I probably do not want to downgrade my openssl for security reasons

  2. #2

    Default Re: ejabberd 18.04 will not start properly

    I reinstalled ejabberd from the build service, and it appears to start. But there is no place (I can find) to configure it in the way that the downloaded installer did.
    systemctl status ejabberd claims it is running.
    Code:
     systemctl status ejabberd● ejabberd.service - A distributed, fault-tolerant Jabber/XMPP server
       Loaded: loaded (/usr/lib/systemd/system/ejabberd.service; disabled; vendor preset: disabled)
       Active: active (exited) since Wed 2018-06-27 15:50:33 EDT; 30s ago
      Process: 31876 ExecStart=/usr/sbin/ejabberdctl start (code=exited, status=0/SUCCESS)
    
    
    Jun 27 15:50:33 jardell systemd[1]: Starting A distributed, fault-tolerant Jabber/XMPP server...
    Jun 27 15:50:33 jardell systemd[1]: Started A distributed, fault-tolerant Jabber/XMPP server.
    but nothing is listening on the ejabberd ports 5022, 5280, 7777, etc. if I believe netstat:
    Code:
    netstat -ntlp | grep LISTENtcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2308/sshd
    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      1496/cupsd
    tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      3063/master
    tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      8045/sshd: jar@pts/
    tcp        0      0 0.0.0.0:53563           0.0.0.0:*               LISTEN      4666/ickHttpWrapper
    tcp        0      0 0.0.0.0:3483            0.0.0.0:*               LISTEN      2916/perl
    tcp        0      0 0.0.0.0:17500           0.0.0.0:*               LISTEN      7830/dropbox
    tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      22652/smbd
    tcp        0      0 127.0.0.1:17600         0.0.0.0:*               LISTEN      7830/dropbox
    tcp        0      0 0.0.0.0:9090            0.0.0.0:*               LISTEN      2916/perl
    tcp        0      0 127.0.0.1:17603         0.0.0.0:*               LISTEN      7830/dropbox
    tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      2916/perl
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      2271/mysqld
    tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      22652/smbd
    tcp        0      0 0.0.0.0:9006            0.0.0.0:*               LISTEN      4667/ickHttpSqueeze
    tcp        0      0 127.0.0.1:3310          0.0.0.0:*               LISTEN      3732/clamd
    tcp        0      0 0.0.0.0:46543           0.0.0.0:*               LISTEN      4667/ickHttpSqueeze
    tcp        0      0 192.168.1.5:8080        0.0.0.0:*               LISTEN      2937/python
    tcp        0      0 127.0.0.1:4369          0.0.0.0:*               LISTEN      1/systemd
    tcp6       0      0 :::22                   :::*                    LISTEN      2308/sshd
    tcp6       0      0 ::1:631                 :::*                    LISTEN      1496/cupsd
    tcp6       0      0 ::1:25                  :::*                    LISTEN      3063/master
    tcp6       0      0 ::1:6010                :::*                    LISTEN      8045/sshd: jar@pts/
    tcp6       0      0 :::17500                :::*                    LISTEN      7830/dropbox
    tcp6       0      0 :::445                  :::*                    LISTEN      22652/smbd
    tcp6       0      0 :::9412                 :::*                    LISTEN      2967/java
    tcp6       0      0 :::37573                :::*                    LISTEN      2967/java
    tcp6       0      0 :::4040                 :::*                    LISTEN      2967/java
    tcp6       0      0 :::8043                 :::*                    LISTEN      2967/java
    tcp6       0      0 :::139                  :::*                    LISTEN      22652/smbd
    tcp6       0      0 :::80                   :::*                    LISTEN      2307/httpd-prefork
    tcp6       0      0 :::7090                 :::*                    LISTEN      17216/java
    tcp6       0      0 :::1716                 :::*                    LISTEN      7256/kdeconnectd
    In addition, services manager claims it cannot write to the configuration file (see https://www.dropbox.com/s/a31mwjbq7r...bberd.png?dl=0)

    What am I doing wrong?

  3. #3
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: ejabberd 18.04 will not start properly

    I really have no idea what ejabberd is but from your post I'm assuming it uses internet protocol so I'm guessing it's being blocked by firewalld
    have you opened ports 5022, 5280, 7777 in firewalld?
    Code:
    sudo firewall-cmd --zone=public --permanent --add-port=5022/tcp
    sudo firewall-cmd --zone=public --permanent --add-port=5022/udp
    sudo firewall-cmd --zone=public --permanent --add-port=5280/tcp
    sudo firewall-cmd --zone=public --permanent --add-port=5280/udp
    sudo firewall-cmd --zone=public --permanent --add-port=7777/tcp
    sudo firewall-cmd --zone=public --permanent --add-port=7777/udp
    sudo systemctl restart firewalld.service

  4. #4

    Default Re: ejabberd 18.04 will not start properly

    I did of course open the ports.
    ejabberd is a chat server.

  5. #5
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: ejabberd 18.04 will not start properly

    if this is a dependency issue the question arises where did you get the package from and did you ignore the any dependency errors during install?
    did you try the package from the Erlang repo
    http://download.opensuse.org/reposit...USE_Leap_15.0/
    or did you get it from one of the user repo's
    what's your repo list?
    Code:
    zypper lr -d

  6. #6

    Default Re: ejabberd 18.04 will not start properly

    Quote Originally Posted by I_A View Post
    if this is a dependency issue the question arises where did you get the package from and did you ignore the any dependency errors during install?
    did you try the package from the Erlang repo
    http://download.opensuse.org/reposit...USE_Leap_15.0/
    or did you get it from one of the user repo's
    what's your repo list?
    Code:
    zypper lr -d
    Yes, that is the build I got from software.opensuse.org
    But there needs to be a way of configuring it, a la the ejabberd install script you get from the ejabberd site.
    I looked at the files in /etc/ejabberd, and I see no place to enter the site details or the admin password. Maybe the web interface allows this, but it does not work.
    Code:
      | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                    | Service---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
     1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                      |
     2 | download.opensuse.org-non-oss_1     | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/                                 |
     3 | download.opensuse.org-oss           | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                          |
     4 | download.opensuse.org-oss_1         | Main Repository (Sources)               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/                   |
     5 | download.opensuse.org-oss_2         | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss                                      |
     6 | google-chrome                       | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                    |
     7 | http-download.opensuse.org-384dd837 | KDE:Qt5                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_15.0/                 |
     8 | http-download.opensuse.org-73906267 | home:lemmy04                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/lemmy04/openSUSE_Leap_15.0/            |
     9 | http-download.opensuse.org-ad7d6ea5 | server:messaging                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/messaging/openSUSE_Leap_15.0/        |
    10 | http-download.opensuse.org-e3816267 | devel:languages:erlang                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/erlang/openSUSE_Leap_15.0/ |
    11 | http-download.opensuse.org-fbd8582e | openSUSE:Leap:15.0:Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Leap:/15.0:/Update/standard/       |
    12 | nvidia                              | nvidia                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://http.download.nvidia.com/opensuse/leap/15.0/                                    |
    13 | openSUSE-Leap-15.0-1                | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | cd:///?devices=/dev/disk/by-id/ata-PLDS_DVD+_-RW_DU-8A5LH_YYCRW73639653694VA03         |
    14 | repo-debug                          | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                    |
    15 | repo-debug-non-oss                  | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/                |
    16 | repo-debug-update                   | openSUSE-Leap-15.0-Update-Debug         | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.0/oss/                               |
    17 | repo-debug-update-non-oss           | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                           |
    18 | repo-source-non-oss                 | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | rpm-md | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/

  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: ejabberd 18.04 will not start properly

    I'd say try reading this site it's about ubuntu but that doesn't matter the only real difference is in step 1
    step 2 describes adding an admin user and password (you probobly need to run step 2 as root but I'm not sure)
    https://www.digitalocean.com/communi...rver-on-ubuntu

  8. #8

    Default Re: ejabberd 18.04 will not start properly

    Quote Originally Posted by I_A View Post
    I'd say try reading this site it's about ubuntu but that doesn't matter the only real difference is in step 1
    step 2 describes adding an admin user and password (you probobly need to run step 2 as root but I'm not sure)
    https://www.digitalocean.com/communi...rver-on-ubuntu
    Thanks. That managed to get admin registered. But the install is mucked up, since the register admin script needed to make a file in /opt/ejabberd (which is not there since it is installed in /etc/ejabberd I think). I made the directory and that worked.
    But the rest of that post is no good because the new ejabberd distros no longer have an ejabberd.cfg file.
    It emits an error message:
    Code:
    2018-06-28 13:58:39.584 [info] <0.66.0>@ejabberd_config:start:73 Loading configuration from /etc/ejabberd/ejabberd.yml
    2018-06-28 13:58:39.584 [error] <0.66.0>@ejabberd_config:get_plain_terms_file:300 Cannot load /etc/ejabberd/ejabberd.yml: Syntax error on line 487 at position 1: did not find expected key
    but line 457-457 are:
    Code:
    admin: user:
    - "admin@localhost"

  9. #9

    Default Re: ejabberd 18.04 will not start properly

    I solved this. The indentation on ejabberd.yml was screwed up. And also, I had to put proper certificates into the certificate directory.

Posting Permissions

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