Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23755

Summary: '/etc/init.d/tomcat start' gives errors
Product: Gentoo Linux Reporter: Narada Sage <narada.sage>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Narada Sage 2003-06-30 07:05:13 UTC
$ emerge -s tomcat

*  net-www/tomcat
      Latest version available: 4.1.24-r1
      Latest version installed: 4.1.24-r1
      Size of downloaded files: 7,063 kB
      Homepage:    http://jakarta.apache.org/tomcat
      Description: Apache Servlet Engine

$ /etc/init.d/tomcat start
 * Could not get dependency info for "tomcat"!
 * Could not get dependency info for "tomcat"!
 * Starting Tomcat...
/opt/tomcat/bin/catalina.sh: line 63: /etc/conf.d/tomcat: Permission denied  [ !! ]

$ emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://212.219.56.131/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow crypt cups gif jpeg mmx ncurses oggvorbis pdflib png spell
truetype xml2 zlib berkdb slang readline java tcpd pam libwww ssl perl python
ldap acpi apache2 curl gd gd-external imap junit kerberos krb4 maildir md5sum
mysql nas nptl samba tetex tiff xml -oss -apm -arts -avi -encode -gdbm -gpm -gtk
-imlib -kde -gnome -libg++ -mikmod -motif -mpeg -nls -opengl -qt -quicktime -sdl
-svga -X -xmms -xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j8"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"
Comment 1 Narada Sage 2003-06-30 07:20:44 UTC
I fixed the catalina error by doing 'chmod a+r /etc/conf.d/tomcat'.  As for the errors about dependency info these still need a great deal of attention.  I have seen these errors with other packages too like when doing /etc/init.d/distcc start.  It may be a problem with baselayout-1.8.6.8-r1 since it has happened with more than one package but I may be wrong.  Looking forward to receiving feedback on these problems.  Many thanks.
Comment 2 SpanKY gentoo-dev 2003-06-30 14:56:16 UTC

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