Hi All,

Finally I found the problem.

I simply turn off iptables on Linux box (Jmeter-Server-slave) and all work.

Here I'm trying to explain - what I found:

I used "iptables" on my Linux box (Server-slave) with the line:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp -s <my-IP> --dport
1099 -j ACCEPT

According to Jmeter documentation - "1099" is a port that Jmeter-server
listening.
But with this line - it does not not work.

When I traced incoming traffic on the Jmeter-server box I fount that my
WinXP (master-jmeter) sends something to ports: 46568 and 47300 as well.

So, now I/m using generic rule to allow all traffic from WinXP
(Jmeter-master) box to server-slave boxes with this line in "iptables":
-A RH-Firewall-1-INPUT -s <my-WinXP-IP> -j ACCEPT

Good luck Everyone and Thank You for help to find the problem.



Yaroslav wrote:
> 
> If this is just "Linux configuration problem" - where I can read about it?
> 
> Thx
> 
> 
> 
> sebb-2-2 wrote:
>> 
>> On 10/07/2008, Yaroslav <[EMAIL PROTECTED]> wrote:
>>>
>>>  Hi All,
>>>
>>>  Does somebody "fix" the problem with this remote configuration:
>>>
>>>  master-client - WinXp  <-> server-slave - Linux FC6.
>>>
>> 
>> This is not a JMeter problem - this works fine if the Linux box is set
>> up correctly.
>> 
>>>
>>>
>>>  Joe Smithian wrote:
>>>  >
>>>  > Hi All
>>>  >
>>>  > I've installed Jmeter 2.3 in a Windows and a Linux machine. I use the
>>>  > Windows machine as the Master (client)) and the Linux one as a slave
>>>  > (server)) to run remote tests.
>>>  > Local tests on the Windows machine is ok but remote test on the
>>> Linux(FC6)
>>>  > doesn't work.
>>>  >
>>>  > I've spent so much time reading the documents and trying different
>>> things
>>>  > without luck.  I'd appreciate your help to fix this problem.
>>>  >
>>>  > Notes:
>>>  > -I set the CLASSPATH on the server to include /ApacheJMeter.jar.
>>>  > -JAVA_HOME has been set in both machines
>>>  > -There is no space in any directory in client or server
>>>  > -Windows machine runs McAfee antivirus, I tried to stop the service
>>>  > manualy
>>>  > but It didn't stop.
>>>  >
>>>  >
>>>  > Here is the exception in the Windows (client) log:
>>>  >
>>>  >
>>>  > 2007/12/10 11:27:14 ERROR - jmeter.engine.ClientJMeterEngine:
>>>  > java.rmi.MarshalException: error marshalling arguments; nested
>>> exception
>>>  > is:
>>>  >
>>>  >     java.net.SocketException: Connection reset by peer: socket write
>>> error
>>>  >     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:138)
>>>  >     at
>>>  >
>>> org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.configure(Unknown
>>>  > Source)
>>>  >     at org.apache.jmeter.engine.ClientJMeterEngine.run(
>>>  > ClientJMeterEngine.java:121)
>>>  >     at java.lang.Thread.run(Thread.java:619)
>>>  > Caused by: java.net.SocketException: Connection reset by peer: socket
>>>  > write
>>>  > error
>>>  >     at java.net.SocketOutputStream.socketWrite0(Native Method)
>>>  > ----------------------------------------------------------
>>>  > Here is parts of the Linux Jmeter-Server log:
>>>  >
>>>  >     2007/12/11 01:43:22 INFO  - jmeter.JMeter: Version 2.3.1
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: java.version=1.6.0_01
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.name=Linux
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: os.arch=i386
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter:
>>> os.version=2.6.20-1.2925.fc6
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: file.encoding=UTF-8
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: Default Locale=English
>>> (United
>>>  > States)
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: JMeter  Locale=English
>>> (United
>>>  > States)
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter:
>>> JMeterHome=/usr/jmeter/jakarta-
>>>  > jmeter-2.3.1
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: user.dir 
>>> =/usr/jmeter/jakarta-
>>>  > jmeter-2.3.1/bin
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.JMeter: PWD      
>>> =/usr/jmeter/jakarta-
>>>  > jmeter-2.3.1/bin
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>>> Starting
>>>  > backing engine on 1099
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>>> Creating
>>>  > RMI registry (server.rmi.create=true)
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>>> Creating
>>>  > JMeter engine on host utspdev1
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.engine.StandardJMeterEngine:
>>> Listeners
>>>  > will be started after enabling running version
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.engine.StandardJMeterEngine: To
>>> revert
>>>  > to
>>>  > the earlier behaviour, define jmeterengine.startlistenerslater=false
>>>  > 2007/12/11 01:43:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>>> Bound to
>>>  > registry on port 1099
>>>  > 2007/12/11 01:45:22 INFO  - jmeter.engine.RemoteJMeterEngineImpl:
>>> received
>>>  > host: utspdev1
>>>  >
>>>  >
>>>
>>>
>>>  --
>>>  View this message in context:
>>> http://www.nabble.com/JMeter-remote-test-doesn%27t-work-tp14256492p18390100.html
>>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>>  ---------------------------------------------------------------------
>>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JMeter-remote-test-doesn%27t-work-tp14256492p18450236.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to