Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 17:58:31 +0200
From:      Polytropon <>
To:        Rev Herbert Miller <>
Subject:   Re: question, following error Shared object "" not found, required by "fortune"
Message-ID:  <>
In-Reply-To: <>
References:  <>

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 "" 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/
> 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. ;-)

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>