Ejabberd: External eimp process (pid=12345) has terminated unexpectedly, restarting in a few seconds

Created on 4 Apr 2018  路  5Comments  路  Source: processone/ejabberd

What version of ejabberd are you using?

18.03

What operating system (version) are you using?

CentOS 18.03

How did you install ejabberd (source, package, distribution)?

RPM package from your website.

What did not work as expected? Are there error messages in the log? What
was the unexpected behavior? What was the expected result?

Log is full of such messages:

2018-04-04 16:33:31.932 [error] <0.176.0> External eimp process (pid=26945) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:32.144 [error] <0.178.0> External eimp process (pid=26946) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:32.541 [error] <0.176.0> External eimp process (pid=26947) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:32.655 [error] <0.178.0> External eimp process (pid=26949) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:32.969 [error] <0.172.0> External eimp process (pid=26950) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:33.276 [error] <0.174.0> External eimp process (pid=26951) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:33.298 [error] <0.174.0> External eimp process (pid=26952) has terminated unexpectedly, restarting in a few seconds
2018-04-04 16:33:34.665 [error] <0.176.0> External eimp process (pid=26953) has terminated unexpectedly, restarting in a few seconds

Problem probably lies in this:

# ldd /opt/ejabberd-18.03/lib/eimp-1.0.3/priv/bin/eimp
        linux-vdso.so.1 =>  (0x00007fffe75d8000)
        libgd.so.3 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3009f03000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f3009b40000)
        /lib64/ld-linux-x86-64.so.2 (0x00005599395ec000)
        libpng12.so.0 => not found
        libjpeg.so.8 => not found
        libwebp.so.2 => not found

CentOS 7 doesn't have such lib versions in the repos.

Most helpful comment

Same issue on Ubuntu 16.04.4, however the missing library in my case was only libwebp.so.2

Installed via .deb package. The libwebp version available with Ubuntu is libwebp.so.5

I was able to resolve this by downloading the deb package for libwebp2 from http://ftp.debian.org/debian/pool/main/libw/libwebp/libwebp2_0.1.3-3+nmu1_i386.deb and installing manually.

All 5 comments

Same issue on Ubuntu 16.04.4, however the missing library in my case was only libwebp.so.2

Installed via .deb package. The libwebp version available with Ubuntu is libwebp.so.5

I was able to resolve this by downloading the deb package for libwebp2 from http://ftp.debian.org/debian/pool/main/libw/libwebp/libwebp2_0.1.3-3+nmu1_i386.deb and installing manually.

The build system is modified to build eimp without image conversion support. This will remove these extra dependencies.

Hi,
I get the same problem on RHEL 7 with 18.03

    linux-vdso.so.1 =>  (0x00007ffec9bc0000)
    libgd.so.3 => not found
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7acf4e0000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f7acf11d000)
    libpng12.so.0 => /lib64/libpng12.so.0 (0x00007f7aceef6000)
    /lib64/ld-linux-x86-64.so.2 (0x00005621d5095000)
    libjpeg.so.8 => not found
    libwebp.so.2 => not found
    libz.so.1 => /lib64/libz.so.1 (0x00007f7acecdf000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f7ace9dc000)

Any help would be appreciated.

Just for headsup until this is fixed: I had to manually install this on my Ubuntu16.04 server (the i386 package linked above didn't work):
http://ftp.debian.org/debian/pool/main/libw/libwebp/libwebp2_0.1.3-3+nmu1_amd64.deb

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

irvingwa picture irvingwa  路  3Comments

andrew-vant picture andrew-vant  路  4Comments

Vshnv picture Vshnv  路  4Comments

ibrahimkoujar picture ibrahimkoujar  路  3Comments

lucastimotiofirmino picture lucastimotiofirmino  路  3Comments