Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » RAServer error ..
RAServer error .. [message #36676] Fri, 21 October 2005 22:07 Go to next message
Eclipse UserFriend
Originally posted by: vivash.gmail.com

Hi,

Not sure whether this question belongs to this newsgroup. I am trying to
use the TPTP Profiler on our linux server. When I run "./RAStart.sh" it
always tells me that "RAServer is already running". When I try
"./RAServer.sh -v" it gives me error msg, "./RAServer: error while loading
shared libraries: libxerces-c.so.24: cannot open shared object file: No
such file or directory".

Not sure what's going on, if someone could guide me here it would be of
great help.

This is for TPTP 4.01 version.

Thanks,
-vivek
Re: RAServer error .. [message #36746 is a reply to message #36676] Sat, 22 October 2005 00:48 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
You sure you followed the "Getting started with Agent Controller - Linux
on ..." carefully? That second message looks like what happens when you
don't set your LD_LIBRARY_PATH so that it can find the libxerces-c.so file.
--
RDS


vivek wrote:
> Hi,
>
> Not sure whether this question belongs to this newsgroup. I am trying to
> use the TPTP Profiler on our linux server. When I run "./RAStart.sh" it
> always tells me that "RAServer is already running". When I try
> "./RAServer.sh -v" it gives me error msg, "./RAServer: error while
> loading shared libraries: libxerces-c.so.24: cannot open shared object
> file: No such file or directory".
>
> Not sure what's going on, if someone could guide me here it would be of
> great help.
>
> This is for TPTP 4.01 version.
>
> Thanks,
> -vivek
>
Re: RAServer error .. [message #36780 is a reply to message #36676] Sat, 22 October 2005 00:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Hi,
you can stop the agent controller if it is running by terminating the
RAServer.
You'll see the process pid with: ps -ef | grep RAServer
And then you'll kill the process with: kill RAServer_PID

About the libraries you can see:
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_33/linux_ia32/getting_started.html
Re: RAServer error .. [message #36814 is a reply to message #36780] Sat, 22 October 2005 01:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vivash.gmail.com

Yes, I did following the "Getting started with Agent Controller ..."
My LD_LIBRARY_PATH is :

LD_LIBRARY_PATH=/opt/ps_manager/tools-java/jre/lib/i386/serv er:/var/tptp/Linux_AgentController/lib


I don't see the RAServer process running (ps -eaf|grep RAServer). There is
no log also in the servicelog.log, it's empty.

any more ideas ?
thanks.
Re: RAServer error .. [message #36848 is a reply to message #36814] Sat, 22 October 2005 02:58 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Look in your <unzip directory>/lib (presumably
/var/tptp/Linux_AgentController/lib mentioned below) and see if there is
any libxerces-c.so there... and if not, check over in <unzip
directory>/bin ... if it is there, that needs to be on the
LD_LIBRARY_PATH also.

The reason I sound so uncertain is (1) I work with the AC ("technology
preview" for 4.0), not so much with the RAC, and (2) when I do use the
RAC, it's usually on Windows. For the AC, we put the dll/lib.so in /bin,
not /lib.

I'm not responding to the "already running" part because (1) I don't
have a clue (see last paragraph), and (2) I half expect fixing this will
fix that.

Hmmm, I seem to always (1) number things, and (2) ... uh... I guess
there is no (2)! :-)

Let me know if that helps. I'm doing some stress testing this weekend,
and strangely enough I'll probably be hitting the RAC stuff as a
baseline, so if that doesn't do it, I'll look further into it for you.
--
RDS


vivek wrote:
> Yes, I did following the "Getting started with Agent Controller ..."
> My LD_LIBRARY_PATH is :
>
> LD_LIBRARY_PATH=/opt/ps_manager/tools-java/jre/lib/i386/serv er:/var/tptp/Linux_AgentController/lib
>
>
>
> I don't see the RAServer process running (ps -eaf|grep RAServer). There
> is no log also in the servicelog.log, it's empty.
>
> any more ideas ?
> thanks.
>
Re: RAServer error .. [message #36950 is a reply to message #36814] Sat, 22 October 2005 17:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cleliacangiano.hotmail.com

Have you done: ps -eaf | grep RAServer?
The right command is: ps -ef | grep RAServer.
Re: RAServer error .. [message #37322 is a reply to message #36950] Mon, 24 October 2005 18:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vivash.gmail.com

actually now I am able to run "RAServer -v", it shows me "4.0.0.0".
Earlier I didn't have the LD_LIBRARY_PATH set propertly. But when I run
"./RAStart.sh" it still gives me the following:

"Starting Agent Controller
RAServer is already running"

when I do "ps -ef|grep RAServer" I don't get anything. I tried
"./RAStop.sh", but that doesn't helps. I rebooted the box and still the
same.

When I try to attach to the application remotely (using Eclipse 3.1), I
get

"Connection failed on host xxxx
Reason:
IWAT0284E The agent controller is not available on host xxx
"

Not sure what can I do about this.
Re: RAServer error .. [message #37458 is a reply to message #37322] Tue, 25 October 2005 17:11 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Okay, again I feel a little like I'm describing how to do things in one
universe to someone living in another universe...but I guess that's just
how it is until 4.2 when the new (technology preview now) AC replaces
the RAC.

When I have this problem on the AC, it is due to problems with my
serviceconfig.xml file in the config directory. Now the RAC's version is
built for you with the setConfig.bat program (I think it is) that I
thought I recalled you stating you'd run... but now I don't see any
indication of that in your prior messages.

You did do the setConfig.bat, right?

Oh, one other problem I've occasionally run into (and this time I think
it *was* on the RAC version) was that I was expected to run these
startup things *in* the bin directory. It's not enough to just have bin
on your path.

I hope this helps, and I hope I'm not leading you too far afield... I
just know that feeling when you're so close, but just can't quite get
there...
--
RDS

vivek wrote:
> actually now I am able to run "RAServer -v", it shows me "4.0.0.0".
> Earlier I didn't have the LD_LIBRARY_PATH set propertly. But when I run
> "./RAStart.sh" it still gives me the following:
>
> "Starting Agent Controller
> RAServer is already running"
>
> when I do "ps -ef|grep RAServer" I don't get anything. I tried
> "./RAStop.sh", but that doesn't helps. I rebooted the box and still the
> same.
>
> When I try to attach to the application remotely (using Eclipse 3.1), I get
> "Connection failed on host xxxx
> Reason:
> IWAT0284E The agent controller is not available on host xxx
> "
>
> Not sure what can I do about this.
>
Re: RAServer error .. [message #37492 is a reply to message #37458] Tue, 25 October 2005 17:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vivash.gmail.com

Yes, I did run the "SetConfig.sh" and the "serviceconfig.xml" looks ok.
Here what I've in this file:

<?xml version="1.0" encoding="UTF-8"?>
<AgentControllerConfiguration activeConfiguration="default"
filePort="10005" isDataMultiplexed="false"
jvm="/opt/ps_manager/tools-java/jre/lib/i386/server/libjvm.so "
loggingDetail="LOW" loggingLevel="DEBUG" port="10002"
processPolling="true" securedPort="10003" version="4.0.0">
<AgentControllerEnvironment configuration="default">
<Variable name="JAVA_PATH" position="replace"
value="/opt/ps_manager/tools-java/jre/bin/java"/>
<Variable name="RASERVER_HOME" position="replace"
value="/var/tptp/Linux_AgentController"/>
<Variable name="PLUGINS_HOME" position="replace"
value="%RASERVER_HOME%/plugins"/>
<Variable name="LD_LIBRARY_PATH" position="prepend"
value="%RASERVER_HOME%/lib"/>
<Variable name="SYS_TEMP_DIR" position="replace" value="/tmp"/>
<Variable name="LOCAL_AGENT_TEMP_DIR" position="replace"
value="%SYS_TEMP_DIR%"/>
<Variable name="CLASSPATH_ORG_APACHE_JAKARTA_COMMONS_LOGGING"
position="append"
value=" %PLUGINS_HOME%/org.apache.jakarta_commons_logging_1.0.3/comm ons-logging.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_CORE_RUNTIME" position="append"
value="%PLUGINS_HOME%/org.eclipse.core.runtime_3.1.1.jar"/ >
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_COMMON" position="append"
value="%PLUGINS_HOME%/org.eclipse.emf.common_2.1.0.jar"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE" position="append"
value="%PLUGINS_HOME%/org.eclipse.emf.ecore_2.1.0.jar"/>
<Variable name="CLASSPATH_ORG_ECLIPSE_EMF_ECORE_XMI" position="append"
value="%PLUGINS_HOME%/org.eclipse.emf.ecore.xmi_2.1.0.jar"/ >
<Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS"
position="append"
value=" %PLUGINS_HOME%/org.eclipse.tptp.platform.models_4.0.0/tptp-m odels.jar "/>
<Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_MODELS"
position="append"
value=" %PLUGINS_HOME%/org.eclipse.tptp.platform.models.nl1_4.0.0/or g.eclipse.tptp.platform.models.nl1.jar "/>
<Variable name="CLASSPATH_ORG_JUNIT" position="append"
value="%PLUGINS_HOME%/org.junit_3.8.1/junit.jar"/>
<Variable name="CLASSPATH" position="append"
value="%CLASSPATH_ORG_ECLIPSE_CORE_RUNTIME%"/>
</AgentControllerEnvironment>
<Application configuration="default" executable="java.exe"
location="%SYS_TEMP_DIR%" path="%JAVA_PATH%"/>
<Hosts configuration="default">
<Allow host="ALL"/>
</Hosts>
<Plugin path="%PLUGINS_HOME%"/>
</AgentControllerConfiguration>

I am also running all commands from inside the bin directory.
yeah, it is frustrating getting so close and still not able to make it
work.
Re: RAServer error .. [message #37526 is a reply to message #37492] Tue, 25 October 2005 19:24 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
The only thing I see different between yours and mine (excluding the
fact that you're on Linux and I'm on Windows) is that you all all hosts,
while I have LOCAL.

I don't see anything wrong with this... Hmmm, uhh,... RAC guys...? If
any of you want to chime in at any time, feel free!
--
RDS

vivek wrote:
> Yes, I did run the "SetConfig.sh" and the "serviceconfig.xml" looks ok.
> Here what I've in this file:
>... <Hosts configuration="default">
> <Allow host="ALL"/>
> </Hosts>
> <Plugin path="%PLUGINS_HOME%"/>
> </AgentControllerConfiguration>
Re: RAServer error .. [message #38058 is a reply to message #37526] Fri, 28 October 2005 13:59 Go to previous message
Eclipse UserFriend
Originally posted by: Navid_Mehregani_-_nmehrega.ca.ibm.com

This is a multipart message in MIME format.
--=_alternative 004CE013852570A8_=
Content-Type: text/plain; charset="US-ASCII"

Type in the following to make sure that the RAC port is free: 'netstat -a
| grep 10002', this shouldn't display anything. The following message:
"./RAServer: error while loading
shared libraries: libxerces-c.so.24: cannot open shared object file: No
such file or directory" is usually caused by not having the lib directory
of RAC in LD_LIBRARY_PATH. You indicated in an earlier message that you
did have the lib directory in that environment variable, but just before
starting the RAC do: echo $LD_LIBRARY_PATH to make sure it's there. Also
do a 'ls -l' in RAC's lib directory and make sure both of these files are
executable: libxerces-c.so, libxerces-c.so.24.

What happens when you run RAStop.sh? do you get any output? Note that
RAStop.sh won't kill the RAC if there are any monitoring agents registered
with it, you have to do a kill -9 on the PID of RAServer.
--=_alternative 004CE013852570A8_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Type in the following to make sure that
the RAC port is free: 'netstat -a | grep 10002', this shouldn't display
anything. &nbsp; The following message: </font><font size=2><tt>&quot;./RAServer:
error while loading <br>
shared libraries: libxerces-c.so.24: cannot open shared object file: No
such file or directory&quot;</tt></font><font size=2 face="sans-serif">
is usually caused by not having the lib directory of RAC in </font><font size=2><tt>&nbsp;LD_LIBRARY_PATH</tt></font><font size=2 face="sans-serif">.
&nbsp;You indicated in an earlier message that you did have the lib directory
in that environment variable, but just before starting the RAC do: echo
$</font><font size=2><tt>LD_LIBRARY_PATH</tt></font><font size=2 face="sans-serif">
to make sure it's there. &nbsp;Also do a 'ls -l' in RAC's lib directory
and make sure both of these files are executable: libxerces-c.so, libxerces-c.so.24.</font>
<br>
<br><font size=2 face="sans-serif">What happens when you run RAStop.sh?
&nbsp;do you get any output? &nbsp;Note that RAStop.sh won't kill the RAC
if there are any monitoring agents registered with it, you have to do a
kill -9 on the PID of RAServer.</font>
--=_alternative 004CE013852570A8_=--
Previous Topic:TRCAXMI FILE
Next Topic:Getting started with demo agent
Goto Forum:
  


Current Time: Thu Mar 28 16:38:45 GMT 2024

Powered by FUDForum. Page generated in 0.03293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top