Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 17:58:31 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Rev Herbert Miller <herbertmiller@me.com>
Cc:        questions@freebsd.org
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>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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/<where your JAVA stuff is>
	# setenv JRE_HOME=/usr/local/<where your runtime lives>
	# 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, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20130629175831.b2bf7fcb.freebsd>