The ejabberd init.d script executes a path that includes the hardcoded version erts-5.5: /usr/lib/erlang/erts-5.5/bin/beam. This worked with erlang 11.2.0. The recent update to erlang-11.2.1 changed the installed path to /usr/lib/erlang/erts-5.5.1/bin/beam, so the initscript no longer works out of the box. I updated the path in the initscript and ejabberd works fine. danarmak@claw ~ $ emerge --info Portage 2.1.2_rc1-r5 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64) ================================================================= System uname: 2.6.18-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.6 Last Sync: Thu, 09 Nov 2006 16:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en en_GB he" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.il.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa apache2 audiofile bash-completion berkdb bidi bitmap-fonts bzip2 cairo cdda cddb cdparanoia cdr cjk cli cracklib crypt css curl dbus dga dlloader doc dri dts dv dvd dvdr dvdread elibc_glibc emboss encode enscript examples exif fam ffmpeg flac flash foomaticdb fortran gif gphoto2 gpm graphviz gs gstreamer gtk gtk2 hal iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg jpeg2k kde kdeenablefinal kerberos kernel_linux lcms ldap linguas_en linguas_en_GB linguas_he lm_sensors lzw lzw-tiff mad matroska mng mozsvg mp3 mpeg musepack musicbrainz ncurses nptl nsplugin offensive ogg openexr opengl pam pcre pdf perl png postgres pppd python qt3 qt4 quicktime radius readline reflection rtc samba sasl sdl seamonkey session silvercity sndfile socks5 speex spell spl sqlite ssl subversion svg tcltk tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU vcd video_cards_ati video_cards_nv video_cards_r128 video_cards_radeon video_cards_vesa video_cards_vga vorbis wmf xine xml xml2 xorg xosd xpm xv xvid xvmc yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
erlang is such a weird thing... ping
This got fixed quite a while ago. If the bug was assigned to me earlier, I would have told you that earlier, sorry. Btw, all credit for that fix to Opfer, the erlang maintainer.