Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149393 - jabber-2.0.11 fail to start
Summary: jabber-2.0.11 fail to start
Status: RESOLVED DUPLICATE of bug 143955
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 02:27 UTC by Sergey
Modified: 2006-09-28 03:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2006-09-28 02:27:02 UTC
/etc/init.d/jabber start
fail
I fix script to:
start() {
        ebegin "Starting Jabber Server"
        start-stop-daemon --start -c jabber:jabber \
                -b --make-pidfile --pidfile /var/jabberd/pid/jabberd.pid \
                -q -x /usr/bin/jabberd
        ewarn "IT return $?"
        eend $?
}


and got:
mizar jabberd # /etc/init.d/jabber restart
 * Caching service dependencies ...                                                                               [ ok ]
 * Stopping Jabber Server ...                                                                                     [ ok ]
 * Starting Jabber Server ...
 * IT return 1                                                                                                    [ ok ]
mizar jabberd # 

no jabber process:
mizar jabberd # ps axu | grep jab
root     14551  0.0  0.3   1564   496 pts/4    R+   15:18   0:00 grep --colour=auto jab
mizar jabberd # 

but:
mizar ~ # sudo -u jabber /usr/bin/jabberd -b
mizar ~ # echo $?
0
mizar ~ # 
It starts and works
mizar jabberd # ps axu | grep jab
jabber   14586  1.0  1.3   5776  1696 pts/3    S    15:19   0:00 /usr/bin/router -c /etc/jabberd/router.xml
jabber   14587  0.6  1.1   5756  1488 pts/3    S    15:19   0:00 /usr/bin/resolver -c /etc/jabberd/resolver.xml
jabber   14588  2.0  1.7   6044  2148 pts/3    S    15:19   0:00 /usr/bin/sm -c /etc/jabberd/sm.xml
jabber   14589  0.6  1.2   5912  1588 pts/3    S    15:19   0:00 /usr/bin/s2s -c /etc/jabberd/s2s.xml
jabber   14591  2.0  1.6   5972  2076 pts/3    S    15:19   0:00 /usr/bin/c2s -c /etc/jabberd/c2s.xml
jabber   14593  0.0  1.7   5140  2180 ?        Ss   15:19   0:00 perl -w -x /usr/bin/jabberd -b
root     14595  0.0  0.3   1564   496 pts/4    R+   15:19   0:00 grep --colour=auto jab
mizar jabberd # 

mizar ~ # emerge --info
Portage 2.1.2_pre1-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-hardened-r1 i686)
=================================================================
System uname: 2.6.17-hardened-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Mon, 25 Sep 2006 23:00:06 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.6.3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -mtune=i686 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
MAKEOPTS="-j1 -s "
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=3 -v --exclude=/{x,k,sci,g}* --exclude=/metadata --delete-excluded"
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/"
SYNC="rsync://mows.srg.pp.ru/gentoo-portage"
USE="x86 bash-completion bzip2 cgi crypt ctype curl dlloader elibc_glibc fortran gcj gd gmp gnutls hardened iconv input_devices_keyboard input_devices_mouse kernel_linux mhash mpm-worker mysql mysqli nls objc pam pcre pic soap ssl tcpd userland_GNU userlocales xml xorg xsl xslt zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

mizar ~ #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-28 03:57:02 UTC

*** This bug has been marked as a duplicate of 143955 ***