I installed prosody on my server (which is stable gentoo), and it fails to start when using the init script. If I manually start the server by prosodyctl start, all is fine. Besides, I tried installing prosody on my laptop (gentoo testing) and the init script has no problems starting prosody. Here is the emerge --info of both systems: ============== Stable ========================= # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32.12-linode25 i686) ================================================================= System uname: Linux-2.6.32.12-linode25-i686-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-1.12.13 Timestamp of tree: Sat, 05 Jun 2010 09:00:21 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1, 3.1.2-r3 dev-python/pycrypto: 2.1.0_beta1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/python-web /var/lib/layman/turbogears2" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri erlang fortran gdbm git iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sqlite sse sse2 ssl sysfs tcpd unicode x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NGINX_MODULES_HTTP="autoindex gzip gzip_static proxy rewrite uwsgi" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS =========== Testing ================ # emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-gentoo x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_M_540_@_2.53GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 04 Jun 2010 16:00:23 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.7b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.bg/ " LDFLAGS="-Wl,-O1" LINGUAS="en bg" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/python-web /var/lib/layman/roslin /var/lib/layman/nodejs /local-ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cddb cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dirac djvu dri dts dv dvb dvd dvdnav dvdr eds emacs emboss enca encode evo exif faac faad fam ffmpeg firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 jpeg jpeg2k kde laptop lcms ldap libnotify lzma lzo mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 rar readline reflection schroedinger sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tga theora threads tiff tremor truetype udev unicode usb vorbis x264 xcb xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en bg" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I don't know what other information to include, but I would gladly do so if I'm told what to. Reproducible: Always Steps to Reproduce:
could be http://bugs.gentoo.org/show_bug.cgi?id=286191
Hello Metin, can you please comment the versions of net-im/prosody you use? And the output of the `/etc/init.d/.. start` command if any? Do you see any relation to bug 286191? Thanks, Michael
Hi Michael, I'm using prosody 0.6.2 When I start the init script, it outputs the normal "starting service" message, but instead [OK] in the right, it displays [!!]. Nothing else is written on the screen.
(In reply to comment #2) > Do you see any relation to bug 286191? I think yes.
Huh, what has that bug got to do with anything? prosody nor prosodyctl are written in Python, so I don't see how that could affect this issue.
Also, can you paste the output of emerge -pv lua luasocket luasec luaexpat luafilesystem libidn openssl on both boxes?
I'm sorry, I upgraded the stable box to testing, so it won't be possible. But here is what it outputs on testing: $ emerge -pv emerge -pv lua luasocket luasec luaexpat luafilesystem libidn openssl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/lua-5.1.4-r5 USE="deprecated readline -emacs -static" 0 kB [ebuild R ] dev-libs/openssl-0.9.8o USE="sse2 zlib -bindist -gmp -kerberos -test" 3,685 kB [ebuild N ] media-libs/audiofile-0.2.7 491 kB [ebuild R ] net-dns/libidn-1.19 USE="nls -doc -emacs -java -mono" 0 kB [ebuild R ] dev-libs/luasocket-2.0.2 USE="-debug" 113 kB [ebuild R ] dev-libs/luaexpat-1.1 28 kB [ebuild R ] dev-libs/luafilesystem-1.4.2 0 kB [ebuild R ] dev-libs/luasec-0.4 28 kB [ebuild N ] app-editors/xemacs-21.5.29-r2 USE="berkdb gdbm -X -Xaw3d -alsa -athena -canna -debug -dnd -eolconv -esd -freewnn -gif -gpm -jpeg -ldap -motif -mule -nas -neXt -png -pop -postgres -tiff -xface -xft -xim" 15,131 kB [ebuild N ] app-xemacs/xemacs-base-2.19 513 kB [ebuild N ] app-xemacs/emerge-1.11 60 kB Total: 11 packages (4 new, 7 reinstalls), Size of downloads: 20,045 kB
Sorry, I issued the wrong command. Here is the real one: $ emerge -pv lua luasocket luasec luaexpat luafilesystem libidn openssl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/lua-5.1.4-r5 USE="deprecated readline -emacs -static" 0 kB [ebuild R ] dev-libs/openssl-0.9.8o USE="sse2 zlib -bindist -gmp -kerberos -test" 3,685 kB [ebuild R ] net-dns/libidn-1.19 USE="nls -doc -emacs -java -mono" 0 kB [ebuild R ] dev-libs/luasocket-2.0.2 USE="-debug" 113 kB [ebuild R ] dev-libs/luaexpat-1.1 28 kB [ebuild R ] dev-libs/luafilesystem-1.4.2 0 kB [ebuild R ] dev-libs/luasec-0.4 28 kB Total: 7 packages (7 reinstalls), Size of downloads: 3,852 kB
So basically you can't reproduce it, right?
Yeah, because I no more have the failing machine.
Okay, closing this for now.