Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134264 - /etc/init.d/Jetty loses status sometimes
Summary: /etc/init.d/Jetty loses status sometimes
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-24 14:32 UTC by Andrew Sterling Hanenkamp
Modified: 2008-01-26 18:43 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 Andrew Sterling Hanenkamp 2006-05-24 14:32:00 UTC
I've had some problems with starting and stopping Jetty. It looks like the issue is related to the fact that bin/jetty.sh and /etc/init.d/jetty don't cooperate very well. The jetty.sh script keeps a PID file in /opt/jetty/tmp/jetty.pid, which it uses to determine whether or not jetty is currently running.

The init script ought to check for this file as well. It also ought to provide a zap, which deletes this file to reset the system to a stopped state in case the PID file exists even though the process does not.
Comment 1 Andrew Sterling Hanenkamp 2006-05-24 14:32:43 UTC
[16:24] root@snape jetty# emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apache2 apm arts audiofile automount avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups curl dba dri dv dvd dvdread eds effects emboss encode enscript esd ethereal exif expat fam fastcgi foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imap imlib inkjar ipv6 isdnlog java jpeg junit kde kerberos lcms ldap libg++ libwww mad mbox mikmod mmx mng mono motif mozilla mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php plugin png pop postfix postgres pppd python qt quicktime readline real reflection samba sdl session silvercity spell spl sqlite ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev usb vhost vorbis win32codecs winbind wmf xine xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 2 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-01-26 18:43:37 UTC
Closing bug. Removed from tree, till we get a maintainer and current version from source.