Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » RAServer failed to start
RAServer failed to start [message #54965] Sun, 26 February 2006 12:44 Go to next message
Andreas Heinecke is currently offline Andreas HeineckeFriend
Messages: 21
Registered: July 2009
Junior Member
Hi Group,

I've problems to get the Agent Controller to start. I'm using linux and
followed the instructions. I set the LD_LIBRARY_PATH variable and set the
bin folder to PATH. Then I run the configuration.
The next would be to start the controller with RAStart.sh but it always
tells me: "RAServer failed to start".
Without any other information.

As I looked into the servicelog I found the following error log:
"Cannot create master named pipe: ramaster. Make sure the named pipe is free
and no other Agent Controller is using the same named pipe."

So I tried to delete the /tmp/IBMRAC/ramaster and start the RAStart.sh
again, but with the same result.

Whats going wrong?
Please help me, I ran out of ideas.

Andreas
Re: RAServer failed to start [message #55019 is a reply to message #54965] Mon, 27 February 2006 12:25 Go to previous messageGo to next message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi,

Can you check the following?
1. If "/tmp/IBMRAC" writable by all user (mode 777)
2. If "/tmp/IBMRAC/ramaster" is recreated after you run "RAStart.sh" the
second time
3. You Linux distribution and kernel version

You can generate a detailed log by editing the Agent Controller's
"config/serviceconfig.xml" file and change the "loggingLevel" attribute
to "DEBUG". Rerun "RAStart.sh" and you can check the log for more
detailed information.

Regards,

Samson


Andreas Heinecke wrote:
> Hi Group,
>
> I've problems to get the Agent Controller to start. I'm using linux and
> followed the instructions. I set the LD_LIBRARY_PATH variable and set the
> bin folder to PATH. Then I run the configuration.
> The next would be to start the controller with RAStart.sh but it always
> tells me: "RAServer failed to start".
> Without any other information.
>
> As I looked into the servicelog I found the following error log:
> "Cannot create master named pipe: ramaster. Make sure the named pipe is free
> and no other Agent Controller is using the same named pipe."
>
> So I tried to delete the /tmp/IBMRAC/ramaster and start the RAStart.sh
> again, but with the same result.
>
> Whats going wrong?
> Please help me, I ran out of ideas.
>
> Andreas
Re: RAServer failed to start [message #55349 is a reply to message #55019] Tue, 28 February 2006 08:47 Go to previous messageGo to next message
Andreas Heinecke is currently offline Andreas HeineckeFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,

thanks for your answer.
You asked for the following:
> 1. If "/tmp/IBMRAC" writable by all user (mode 777)
Yes, it is.

> 2. If "/tmp/IBMRAC/ramaster" is recreated after you run "RAStart.sh" the
> second time
Yes, ramaster is recreated after I run RAStart.sh the second time.

> 3. You Linux distribution and kernel version
I use an Fedora Core 4 with a self compiled kernel 2.6.12.1.

The log tells:
"Cannot resolve the host name of the local machine. Ensure the fully
qualified host name of the local machine is registered with the Domain Name
Server (DNS)."

and

"Cannot create master named pipe: ramaster. Make sure the named pipe is free
and no other Agent Controller is using the same named pipe."

The other log entries are no error messages, as far as I can see.

Andreas

Samson Wai wrote:

> Hi,
>
> Can you check the following?
> 1. If "/tmp/IBMRAC" writable by all user (mode 777)
> 2. If "/tmp/IBMRAC/ramaster" is recreated after you run "RAStart.sh" the
> second time
> 3. You Linux distribution and kernel version
>
> You can generate a detailed log by editing the Agent Controller's
> "config/serviceconfig.xml" file and change the "loggingLevel" attribute
> to "DEBUG". Rerun "RAStart.sh" and you can check the log for more
> detailed information.
>
> Regards,
>
> Samson
>
>
> Andreas Heinecke wrote:
>> Hi Group,
>>
>> I've problems to get the Agent Controller to start. I'm using linux and
>> followed the instructions. I set the LD_LIBRARY_PATH variable and set the
>> bin folder to PATH. Then I run the configuration.
>> The next would be to start the controller with RAStart.sh but it always
>> tells me: "RAServer failed to start".
>> Without any other information.
>>
>> As I looked into the servicelog I found the following error log:
>> "Cannot create master named pipe: ramaster. Make sure the named pipe is
>> free and no other Agent Controller is using the same named pipe."
>>
>> So I tried to delete the /tmp/IBMRAC/ramaster and start the RAStart.sh
>> again, but with the same result.
>>
>> Whats going wrong?
>> Please help me, I ran out of ideas.
>>
>> Andreas
Re: RAServer failed to start [message #55454 is a reply to message #55349] Tue, 28 February 2006 12:47 Go to previous messageGo to next message
Andreas Heinecke is currently offline Andreas HeineckeFriend
Messages: 21
Registered: July 2009
Junior Member
This still doesn't work. Why is it so complicated to get this thing running?
I recently read about IAC. How can I use this? Am I right, that using IAC
will keep me from using RAC, if profiling on the same machine?
The problem is now that I dont know how to configure TPTP to use the IAC
instead of the RAC.

Andreas

Andreas Heinecke wrote:

> Hi,
>
> thanks for your answer.
> You asked for the following:
>> 1. If "/tmp/IBMRAC" writable by all user (mode 777)
> Yes, it is.
>
>> 2. If "/tmp/IBMRAC/ramaster" is recreated after you run "RAStart.sh" the
>> second time
> Yes, ramaster is recreated after I run RAStart.sh the second time.
>
>> 3. You Linux distribution and kernel version
> I use an Fedora Core 4 with a self compiled kernel 2.6.12.1.
>
> The log tells:
> "Cannot resolve the host name of the local machine. Ensure the fully
> qualified host name of the local machine is registered with the Domain
> Name Server (DNS)."
>
> and
>
> "Cannot create master named pipe: ramaster. Make sure the named pipe is
> free and no other Agent Controller is using the same named pipe."
>
> The other log entries are no error messages, as far as I can see.
>
> Andreas
>
> Samson Wai wrote:
>
>> Hi,
>>
>> Can you check the following?
>> 1. If "/tmp/IBMRAC" writable by all user (mode 777)
>> 2. If "/tmp/IBMRAC/ramaster" is recreated after you run "RAStart.sh" the
>> second time
>> 3. You Linux distribution and kernel version
>>
>> You can generate a detailed log by editing the Agent Controller's
>> "config/serviceconfig.xml" file and change the "loggingLevel" attribute
>> to "DEBUG". Rerun "RAStart.sh" and you can check the log for more
>> detailed information.
>>
>> Regards,
>>
>> Samson
>>
>>
>> Andreas Heinecke wrote:
>>> Hi Group,
>>>
>>> I've problems to get the Agent Controller to start. I'm using linux and
>>> followed the instructions. I set the LD_LIBRARY_PATH variable and set
>>> the bin folder to PATH. Then I run the configuration.
>>> The next would be to start the controller with RAStart.sh but it always
>>> tells me: "RAServer failed to start".
>>> Without any other information.
>>>
>>> As I looked into the servicelog I found the following error log:
>>> "Cannot create master named pipe: ramaster. Make sure the named pipe is
>>> free and no other Agent Controller is using the same named pipe."
>>>
>>> So I tried to delete the /tmp/IBMRAC/ramaster and start the RAStart.sh
>>> again, but with the same result.
>>>
>>> Whats going wrong?
>>> Please help me, I ran out of ideas.
>>>
>>> Andreas
Re: RAServer failed to start [message #55537 is a reply to message #55454] Tue, 28 February 2006 17:52 Go to previous messageGo to next message
Thayaparan Shanmugaratnam is currently offline Thayaparan ShanmugaratnamFriend
Messages: 12
Registered: July 2009
Junior Member
The IAC itself does not require any configuration at all. Unlike the Agent
Controller, which requires the user to enter information such as the path
for the Java executable, the IAC will determine the required information
from Eclipse workbench during startup.

To use the IAC:
1) Run --> Profile --> External Java Application
2) In the host tab select: Local Direct Connection rather than localhost
3) Specify the Class name, Class path under the Main tab
4) Profile

Regards

Thay
Re: RAServer failed to start [message #55780 is a reply to message #55537] Wed, 01 March 2006 07:55 Go to previous message
Andreas Heinecke is currently offline Andreas HeineckeFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,

thank you very much for your help. Finally I solved the problem.
@Samson: The problem was a misconfiguration of my hostname. My hostname
couldn't be resolved by /etc/hosts, because it wasn't listed there. After
fixing this the Agent started.

@Thay: Thank you for your help in getting the IAC to run. This works, too.

Best regards,

Andreas

Thay Shanmugaratnam wrote:

> The IAC itself does not require any configuration at all. Unlike the Agent
> Controller, which requires the user to enter information such as the path
> for the Java executable, the IAC will determine the required information
> from Eclipse workbench during startup.
>
> To use the IAC:
> 1) Run --> Profile --> External Java Application
> 2) In the host tab select: Local Direct Connection rather than localhost
> 3) Specify the Class name, Class path under the Main tab
> 4) Profile
>
> Regards
>
> Thay
Previous Topic:NullPointerException when trying to view Coverage Statistics
Next Topic:AGR Test Case playback problem with dialog box
Goto Forum:
  


Current Time: Thu Dec 26 23:06:36 GMT 2024

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

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

Back to the top