From owner-freebsd-questions@FreeBSD.ORG Sat Jun 29 15:58:33 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4BD00953 for ; Sat, 29 Jun 2013 15:58:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A14A41B38 for ; Sat, 29 Jun 2013 15:58:32 +0000 (UTC) Received: from r56.edvax.de (port-92-195-113-139.dynamic.qsc.de [92.195.113.139]) by mx01.qsc.de (Postfix) with ESMTP id 68FC83C208; Sat, 29 Jun 2013 17:58:24 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r5TFwVFB002333; Sat, 29 Jun 2013 17:58:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 29 Jun 2013 17:58:31 +0200 From: Polytropon To: Rev Herbert Miller Subject: Re: question, following error Shared object "libc.so.6" not found, required by "fortune" Message-Id: <20130629175831.b2bf7fcb.freebsd@edvax.de> In-Reply-To: <650F01CA-F62F-49E7-957F-9BFDC06D6E72@me.com> References: <650F01CA-F62F-49E7-957F-9BFDC06D6E72@me.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 15:58:33 -0000 On Sat, 29 Jun 2013 10:48:38 -0400, Rev Herbert Miller wrote: > I was trying to use the content management system for our website. > I needed to restart on terminal but I keep coming up with the > following error: I don't know programing at all, so don't know > if this is something I can fix. In worst case, notify your system administrator. > Shared object "libc.so.6" not found, required by "fortune" This kind of error often indicates an incomplete system update were libraries are "out of date" or missing. What way of system update has been performed? > root@psumc:/usr/local/tomcat5.5 # bin/startup.sh > Neither the JAVA_HOME nor the JRE_HOME environment variable is defined > At least one of these environment variable is needed to run this program That can be a side effect, maybe some accidentally overwritten configuration file or a program that's unable to run due to a missing dependency? What happens if you manually define those variables to the proper valies and try again, e. g. # setenv JAVA_HOME=/usr/local/ # setenv JRE_HOME=/usr/local/ # bin/startup,sh Does this produce a different result? > root@psumc:/usr/local/tomcat5.5 # su -c 'killall -9 java' That command doesn't make sense. The prompt indicates that you are already root. The -c parameter for the su command is missing an argument, the class". See "man su" for details, no programming knowledge required. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...