Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Starting Agent Controller on Linux failing
Starting Agent Controller on Linux failing [message #86147] Wed, 01 November 2006 11:15 Go to next message
Eclipse UserFriend
Originally posted by: dineshjain22.yahoo.com

Hi all,

I am not able to start the Agent Controller on Linux machine.
I have installed "agntctrl.linux_ia32-TPTP-4.2.1" on Linux (SLES 10 and RHEL
7.3).
The SetConfig.sh got executed properly, but on running RAServer, following
error is thrown:

#./RAServer
../ACServer: error while loading shared libraries:
/dinesh/agntctrl.linux_ia32-TPTP-4.2.1/lib/libtptpUtils.so.4 : file too short

I have tried this with IBM JVM 1.5.1 as well 1.4.2. But I guess JVM seems to
be not the issue here.

I have also ensured the things mentioned in "Prerequisites" as well
"Configuring and Starting Agent Controller"
which is documented at the below link:
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_42/linux_ia32/getting_started.html

Please let me know. Any help will be greatly appreciated.

Thanks in advance,
Dinesh
Re: Starting Agent Controller on Linux failing [message #86179 is a reply to message #86147] Wed, 01 November 2006 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nmehrega.ca.ibm.com

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

Download the what's listed under the 'Agent Controller' section of this
site:
http://www.eclipse.org/tptp/home/downloads/drops/TPTP-4.3.0- 200610310100.html
Don't download the 'New technology Agnet Controller'

Navid Mehregani
--=_alternative 0060F25A85257219_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Download the what's listed under the
'Agent Controller' section of this site: http://www.eclipse.org/tptp/home/downloads/drops/TPTP-4.3.0- 200610310100.html</font>
<br><font size=2 face="sans-serif">Don't download the 'New technology Agnet
Controller'</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 0060F25A85257219_=--
Re: Starting Agent Controller on Linux failing [message #87824 is a reply to message #86147] Fri, 17 November 2006 18:45 Go to previous messageGo to next message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi,

What were you using to unpack the zip file? The Agent Controller will
only work if unpacked by the "unzip" utility on Linux since symbolic
links will be created.

Regards,

Samson


Dinesh Jain wrote:
> Hi all,
>
> I am not able to start the Agent Controller on Linux machine.
> I have installed "agntctrl.linux_ia32-TPTP-4.2.1" on Linux (SLES 10 and RHEL
> 7.3).
> The SetConfig.sh got executed properly, but on running RAServer, following
> error is thrown:
>
> #./RAServer
> ./ACServer: error while loading shared libraries:
> /dinesh/agntctrl.linux_ia32-TPTP-4.2.1/lib/libtptpUtils.so.4 : file too short
>
> I have tried this with IBM JVM 1.5.1 as well 1.4.2. But I guess JVM seems to
> be not the issue here.
>
> I have also ensured the things mentioned in "Prerequisites" as well
> "Configuring and Starting Agent Controller"
> which is documented at the below link:
> http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_42/linux_ia32/getting_started.html
>
> Please let me know. Any help will be greatly appreciated.
>
> Thanks in advance,
> Dinesh
>
>
Re: Starting Agent Controller on Linux failing [message #87980 is a reply to message #87824] Mon, 20 November 2006 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dineshjain22.yahoo.com

Hi Samson,

Thanks a lot for the help you provided. I used unzip utility and ran the
SetConfig utility.
I am running this on SLES 10 and using "New Tchnology Agent Controller"
downloaded from -
http://www.eclipse.org/tptp/home/downloads/drops/TPTP-4.3.0- 200610310100.html

On starting the Agent Controller daemon (./ACStart.sh), it says:

Error starting transport layers, Agent controller exiting.
See servicelog.log for error report.
ACServer failed to start.

I couldn't figure out the problem with it. Any help with this will be
greatly appreciated.

The log file <install-dir>/config/servicelog.log contains following
information logged with it:

<CommonBaseEvent creationTime="2006-11-20T18:29:39.979035Z"
globalInstanceId="A561F413000EF04C52EF84336FA1F7C8" msg="Unable to create
shared memory: acbuffer." severity="50" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="SharedMemListener.c,
line 222" instanceId="1003" location="myhost.com" locationType="IPV4"
processId="2807" subComponent="Shared Memory TL" threadId="2807"
componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>
<CommonBaseEvent creationTime="2006-11-20T18:29:39.979722Z"
globalInstanceId="A561F413000EF3052E4A5FDC4EE45AA9" msg="An error was
returned from TransportLayer(1003)::startTransportLayer errNum = -3"
severity="50" version="1.0.1">
<sourceComponentId component="AgentController"
componentIdType="TPTPComponent" executionEnvironment="ConnectionManager.c,
line 263" instanceId="2" location="myhost.com" locationType="IPV4"
processId="2807" subComponent="Connection Manager" threadId="2807"
componentType="Eclipse_TPTP"/>
<situation categoryName="ReportSituation">
<situationType
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportSituation" reasoningScope="INTERNAL" reportCategory="LOG"/>
</situation>
</CommonBaseEvent>

Please let me know,
Thanks,

-Regards,
Dinesh


"Samson Wai" <samwai@ca.ibm.com> wrote in message
news:ejl000$l51$1@utils.eclipse.org...
> Hi,
>
> What were you using to unpack the zip file? The Agent Controller will
> only work if unpacked by the "unzip" utility on Linux since symbolic
> links will be created.
>
> Regards,
>
> Samson
>
>
> Dinesh Jain wrote:
> > Hi all,
> >
> > I am not able to start the Agent Controller on Linux machine.
> > I have installed "agntctrl.linux_ia32-TPTP-4.2.1" on Linux (SLES 10 and
RHEL
> > 7.3).
> > The SetConfig.sh got executed properly, but on running RAServer,
following
> > error is thrown:
> >
> > #./RAServer
> > ./ACServer: error while loading shared libraries:
> > /dinesh/agntctrl.linux_ia32-TPTP-4.2.1/lib/libtptpUtils.so.4 : file too
short
> >
> > I have tried this with IBM JVM 1.5.1 as well 1.4.2. But I guess JVM
seems to
> > be not the issue here.
> >
> > I have also ensured the things mentioned in "Prerequisites" as well
> > "Configuring and Starting Agent Controller"
> > which is documented at the below link:
> >
http://www.eclipse.org/tptp/home/downloads/installguide/agen tcontroller_42/linux_ia32/getting_started.html
> >
> > Please let me know. Any help will be greatly appreciated.
> >
> > Thanks in advance,
> > Dinesh
> >
> >
Re: Starting Agent Controller on Linux failing [message #88082 is a reply to message #87980] Mon, 20 November 2006 17:16 Go to previous messageGo to next message
Thayaparan Shanmugaratnam is currently offline Thayaparan ShanmugaratnamFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

Are you sure you would like to use the "New Technology Agent Controller".
It is not as stable as the Original "Agent Controller". I would try
downloading the original Agent controller. You could tell the difference
between the two by their file names once you have downloaded them. The
original Agent Controller zip file name starts with tptpdc.* while the
"New Technology Agent Controller" starts with agntctrl.*

To fix the problem you are having:
Check whether you accidently started the Agent Controller perviously, but
running:
ps -e |grep AC
or
ps -e |grep RA

if any processes show up as either ACServer, or RAServer, then kill that
process. Then make sure port 10002 is free by executing:
netstat -a |grep 1000

Also make sure you do not have any lingering java processes:
ps -e |grep java
if any java process exist, terminate them.

Finally check the folder: /tmp/IBMRAC
if there are any files in that folder, please remove them all, and
re-start the Agent Controller.

Good Luck.
Re: Starting Agent Controller on Linux failing [message #88111 is a reply to message #88082] Mon, 20 November 2006 17:51 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Thay Shanmugaratnam wrote:
> Hi,
> Are you sure you would like to use the "New Technology Agent
> Controller". It is not as stable as the Original "Agent Controller". I
> would try downloading the original Agent controller. You could tell the
> difference between the two by their file names once you have downloaded
> them. The original Agent Controller zip file name starts with tptpdc.*
> while the "New Technology Agent Controller" starts with agntctrl.*
>
> To fix the problem you are having: Check whether you accidently started
> the Agent Controller perviously, but running:
> ps -e |grep AC
> or ps -e |grep RA
>
> if any processes show up as either ACServer, or RAServer, then kill that
> process. Then make sure port 10002 is free by executing:
> netstat -a |grep 1000
>
> Also make sure you do not have any lingering java processes:
> ps -e |grep java
> if any java process exist, terminate them.
>
> Finally check the folder: /tmp/IBMRAC
> if there are any files in that folder, please remove them all, and
> re-start the Agent Controller.
> Good Luck.
>

Given that the original logfile that Dinesh gave us indicated that there
was a problem initializing the SharedMemTL, I think we need to add the
following to the list of things to try:
ipcs

Then ipcrm the shared memory fragments lingering.
--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Starting Agent Controller on Linux failing [message #88384 is a reply to message #88111] Wed, 22 November 2006 04:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dineshjain22.yahoo.com

Hi Randy,

Thanks for having a deep look into it. Unfortunately, I couldn't figure out
what exactly you mean by following:

"I think we need to add the following to the list of things to try:
ipcs
Then ipcrm the shared memory fragments lingering."

By this, do you mean its a bug with the New Technology Agent Controller 4.3
on SLES 10?
or do you mean to say modifying something with the serviceconfig.xml file,
which will make it work?

Please let me know,
Thanks,

-Dinesh Jain.


"Randy D. Smith" <randy.d.smith@intel.com> wrote in message
news:ejspvv$vhh$1@utils.eclipse.org...
> Thay Shanmugaratnam wrote:
> > Hi,
> > Are you sure you would like to use the "New Technology Agent
> > Controller". It is not as stable as the Original "Agent Controller". I
> > would try downloading the original Agent controller. You could tell the
> > difference between the two by their file names once you have downloaded
> > them. The original Agent Controller zip file name starts with tptpdc.*
> > while the "New Technology Agent Controller" starts with agntctrl.*
> >
> > To fix the problem you are having: Check whether you accidently started
> > the Agent Controller perviously, but running:
> > ps -e |grep AC
> > or ps -e |grep RA
> >
> > if any processes show up as either ACServer, or RAServer, then kill that
> > process. Then make sure port 10002 is free by executing:
> > netstat -a |grep 1000
> >
> > Also make sure you do not have any lingering java processes:
> > ps -e |grep java
> > if any java process exist, terminate them.
> >
> > Finally check the folder: /tmp/IBMRAC
> > if there are any files in that folder, please remove them all, and
> > re-start the Agent Controller.
> > Good Luck.
> >
>
> Given that the original logfile that Dinesh gave us indicated that there
> was a problem initializing the SharedMemTL, I think we need to add the
> following to the list of things to try:
> ipcs
>
> Then ipcrm the shared memory fragments lingering.
> --
> RDS
>
> Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
> Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Starting Agent Controller on Linux failing [message #88458 is a reply to message #88384] Wed, 22 November 2006 15:42 Go to previous message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Dinesh Jain wrote:
> Hi Randy,
>
> Thanks for having a deep look into it. Unfortunately, I couldn't figure out
> what exactly you mean by following:
>
> "I think we need to add the following to the list of things to try:
> ipcs
> Then ipcrm the shared memory fragments lingering."
>
> By this, do you mean its a bug with the New Technology Agent Controller 4.3
> on SLES 10?
> or do you mean to say modifying something with the serviceconfig.xml file,
> which will make it work?
>
> Please let me know,
> Thanks,
>
> -Dinesh Jain.


I mean that unsuccessful runs of the agent controller (I think both old
and new) can leave shared memory segments tied up. ipcs will show you
those shared memory segments... they usually come in threes as I recall.
Then "ipcrm shm <#>" will remove the ones you own.

I've seen this on various Linux systems... not just SLES. I seem to
recall it is more likely with the new tech AC because (at least at one
time) we were allocating shared memory in bigger chunks.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Previous Topic:TPTP Code Coverage
Next Topic:Problems getting AGR to work wth RCP
Goto Forum:
  


Current Time: Thu Nov 27 06:02:57 GMT 2014

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

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