-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External eimp process has terminated unexpectedly #3150
Comments
Does it work if you build ejabberd (not just eimp) separately (from git)? |
Thanks @licaon-kter. I build the last stable version from source (but installed it using the package manager). i.e. I basically followed the commands here. Ejabberd still fails for me as above with eimp. |
Hello, You could try removing mod_avatar: {} from modules section. This will disable most of usages of eimp. You could also try building "dummy" eimp binary if you replace vars.config file inisde eimp deps with this one:
This should build an eimp binary which will pretty much reject all image to convert, and i think this will make that binary workin in all situations |
Thank you @prefiks . I tried commenting out For the second suggestion, I presumed you were talking about
N.B. there is a long pause between the first two lines. I'm not entirely sure what memsup means, but I have plenty of free RAM (2.7 G). |
Hello, Ok, so it looks like some issue with your system, looks like drivers aren't working in your erlang, processes that are spawned that way do die or aren't able to communicate with parent processs. I really don't know what can cause this, possibly rule in selinux or apparmor or something similar? |
Thanks again @prefiks. Unfortunately I don't have either selinux nor apparmor installed. I'm running Arch ARM, and neither is enabled by default. Just to confirm, I tried running |
I thought I might do what limited troubleshooting I was capable of, although I'm on the edge of my understanding. I tried downgrading to ejabberd 19.02, 18.12.1, 18.01, and 17.12. The first two failed with the same eimp issue. (In all cases I had commented out With 18.01 and 17.12 however, I see no errors in I also independently tried downgrading erlang-nox and erlang-unixodbc from 22.2.7 to 22.0, which resulted in the same eimp errors (and perhaps more). 21.3.2 resulted in some kind of crash dump. EDIT: I've tried the new (current) erlang-nox and erlang-unixodbc 22.3.4, but it's still failing. The errors look slightly different again, but
|
I'm going to close this issue. I appreciate the help, but I've been stuck for four months now, with no obvious fix. I've installed prosody instead (which works perfectly and was super-easy to setup, especially the certbot and Let's Encrypt integration). Unfortunately I'm not in a position to troubleshoot ejabberd any more. Thank you for the help rendered and I'm sorry we couldn't work this out. |
Environment
erl +V
->Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 10.6
Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
Errors from
/var/log/ejabberd/error.log
Bug description
I can't get ejabberd to start. I previously had it working on my server, but after moving from Debian to Arch, it no longer starts. This also involved upgrading versions, and moving from a self-signed certificate to Let's Encrypt.
Troubleshooting
I found several other issues here mentioning the eimp errors.
I checked for missing libraries, but all appeared to be present.
I can confirm that the file is executable.
I tried running eimp directly from the binary, but this just stalled for several minutes until I hit ctrl+c.
I tried replacing the eimp binary with one I manually built, but this didn't allow ejabberd to start, nor work when launched manually.
The text was updated successfully, but these errors were encountered: