jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash" <a...@live.in>
Subject Re: Unable to start Jmeter-Server on linux
Date Fri, 05 Jun 2009 10:21:54 GMT
Hi Sebb,

Please see below the error logs:

[xxxxx@qa-rclient bin]$ ./jmeter-server
log_file=jmeter-server.log java.io.FileNotFoundException: jmeter-server.log 
(Permission denied)
[log_file-> System.out]
2009/06/05 03:13:25 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
2009/06/05 03:13:26 INFO  - jmeter.JMeter: Loading user properties from: 
/opt/jakarta-jmeter-2.3.2/bin/user.properties
2009/06/05 03:13:26 INFO  - jmeter.JMeter: Loading system properties from: 
/opt/jakarta-jmeter-2.3.2/bin/system.properties
2009/06/05 03:13:26 INFO  - jmeter.JMeter: Setting System property: 
server_port=1099
2009/06/05 03:13:26 INFO  - jmeter.JMeter: Copyright (c) 1998-2008 The 
Apache Software Foundation
2009/06/05 03:13:26 INFO  - jmeter.JMeter: Version 2.3.2 r665936
2009/06/05 03:13:26 INFO  - jmeter.JMeter: java.version=1.5.0_12
2009/06/05 03:13:26 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 
Server VM
2009/06/05 03:13:26 INFO  - jmeter.JMeter: os.name=Linux
2009/06/05 03:13:26 INFO  - jmeter.JMeter: os.arch=i386
2009/06/05 03:13:26 INFO  - jmeter.JMeter: os.version=2.4.21-27.0.2.ELsmp
2009/06/05 03:13:26 INFO  - jmeter.JMeter: file.encoding=UTF-8
2009/06/05 03:13:26 INFO  - jmeter.JMeter: Default Locale=English (United 
States)
2009/06/05 03:13:26 INFO  - jmeter.JMeter: JMeter  Locale=English (United 
States)
2009/06/05 03:13:26 INFO  - jmeter.JMeter: 
JMeterHome=/opt/jakarta-jmeter-2.3.2
2009/06/05 03:13:26 INFO  - jmeter.JMeter: user.dir 
=/opt/jakarta-jmeter-2.3.2/bin
2009/06/05 03:13:26 INFO  - jmeter.JMeter: PWD 
=/opt/jakarta-jmeter-2.3.2/bin
2009/06/05 03:13:26 INFO  - jmeter.JMeter: IP: 172.23.87.251 Name: 
qa-rclient FullName: qa-rclient
2009/06/05 03:13:31 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Starting 
backing engine on 1099
2009/06/05 03:13:31 INFO  - jmeter.engine.RemoteJMeterEngineImpl: IP 
address=172.23.87.251
2009/06/05 03:13:31 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
RMI registry (server.rmi.create=true)
2009/06/05 03:13:31 WARN  - jmeter.engine.RemoteJMeterEngineImpl: Problem 
creating registry: java.rmi.server.ExportException: Port already in use: 
1099; nested exception is:
        java.net.BindException: Address already in use
Problem creating registry: java.rmi.server.ExportException: Port already in 
use: 1099; nested exception is:
        java.net.BindException: Address already in use
Continuing...
2009/06/05 03:13:31 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Creating 
JMeter engine on host qa-rclient
2009/06/05 03:13:31 INFO  - jmeter.engine.StandardJMeterEngine: Listeners 
will be started after enabling running version
2009/06/05 03:13:31 INFO  - jmeter.engine.StandardJMeterEngine: To revert to 
the earlier behaviour, define jmeterengine.startlistenerslater=false
2009/06/05 03:13:31 ERROR - jmeter.engine.RemoteJMeterEngineImpl: 
rmiregistry needs to be running to start JMeter in server mode
        java.rmi.UnmarshalException: Error unmarshaling return header; 
nested exception is:
        java.net.SocketException: Connection reset
2009/06/05 03:13:31 ERROR - jmeter.JMeter: Giving up, as server failed with: 
java.rmi.RemoteException: Cannot start. See server log file.
        at 
org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:93)
        at 
org.apache.jmeter.engine.RemoteJMeterEngineImpl.<init>(RemoteJMeterEngineImpl.java:56)
        at org.apache.jmeter.JMeter.startServer(JMeter.java:672)
        at org.apache.jmeter.JMeter.start(JMeter.java:339)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.jmeter.NewDriver.main(NewDriver.java:210)

Server failed to start: java.rmi.RemoteException: Cannot start. See server 
log file.


In name of server log, I didn't find any other apart from attached file, 
hope you are looking for that.

I don't think Client Jmeter file required as Server is unable to start then 
obvious at client I will get error message.
However below is the error logs from client machine:


Regards,
Ashvini
--------------------------------------------------
From: "sebb" <sebbaz@gmail.com>
Sent: Friday, June 05, 2009 3:40 PM
To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
Subject: Re: Unable to start Jmeter-Server on linux

> On 05/06/2009, Ash <ashv@live.in> wrote:
>> Hi All,
>>
>>  Again back to same point, Jmeter updated to new version on linux server
>> 2.3.2 and have same version on my windows machine but still getting same
>> error.
>
> It's not possible to get the same error message, because the JMeter
> server behaves differently in 2.3.2.
>
>>  Can anyone help?
>
> Please post the client and server logs.
>
>>  is this bug in Jmeter? one point I like to mention linux server are 
>> VMWARE
>> machine.
>>
>>  --------------------------------------------------
>>  From: "sebb" <sebbaz@gmail.com>
>>  Sent: Thursday, June 04, 2009 3:36 PM
>>
>>  To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
>>  Subject: Re: Unable to start Jmeter-Server on linux
>>
>>
>> > On 04/06/2009, Ash <ashv@live.in> wrote:
>> >
>> > > Thank you for response, I don't have rights to change Linux server, 
>> > > is
>> there
>> > > any workaround or any bug reference so that I can make my point to
>> update
>> > > Jmeter to latest version.
>> > >
>> >
>> > Just tell the server admin that the version of JMeter that is
>> > installed is very old.
>> >
>> > Note that both the client and the server need to use exactly the same
>> > version of JMeter.
>> >
>> >
>> > >  Thanks,
>> > >  Ashvini
>> > >
>> > >  --------------------------------------------------
>> > >  From: "sebb" <sebbaz@gmail.com>
>> > >  Sent: Thursday, June 04, 2009 3:20 PM
>> > >  To: "JMeter Users List"
>> <jmeter-user@jakarta.apache.org>
>> > >  Subject: Re: Unable to start Jmeter-Server on linux
>> > >
>> > >
>> > >
>> > > > On 04/06/2009, Ash <ashv@live.in> wrote:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > >  I have Jmeter 2.2 installed on linux server.
>> > > > >
>> > > >
>> > > > That is a very old version of JMeter; the current version is 2.3.3,
>> > > > and is easier to use in client-server mode as it starts the 
>> > > > registry
>> > > > itslef.
>> > > >
>> > > >
>> > > > >  I am straing rmi resgistry using command
>> > > > >  - rmiregistry & (default port 1099, however tried rmiregistry

>> > > > > 1099
>> & > > as
>> > > > > well)
>> > > > >  - and then server using ./jmeter-server
>> > > > >
>> > > > >  I am getting the following Error::
>> > > > >  2009/06/03 23:58:33 ERROR -
>> > > > > jmeter.engine.RemoteJMeterEngineImpl: rmiregistry
>> needs
>> > > to
>> > > > > be running to start JMeter in server mode
>> > > > >       java.rmi.UnmarshalException: Error unmarshaling return

>> > > > > header;
>> > > nested
>> > > > > exception is:
>> > > > >       java.net.SocketException: Connection reset
>> > > > >  2009/06/03 23:58:33 ERROR - jmeter.JMeter: Giving up, as server

>> > > > >  > >
>> failed
>> > > > > with: java.rmi.RemoteException: Cannot start. See server log

>> > > > > file.
>> > > > >       at
>> > > > >
>> > >
>> org.apache.jmeter.engine.RemoteJMeterEngineImpl.init(RemoteJMeterEngineImpl.java:60)
>> > > > >       at
>> > > > >
>> > >
>> org.apache.jmeter.engine.RemoteJMeterEngineImpl.<init>(RemoteJMeterEngineImpl.java:46)
>> > > > >       at
>> > > > >
>> org.apache.jmeter.JMeter.startServer(JMeter.java:525)
>> > > > >       at
>> > > org.apache.jmeter.JMeter.start(JMeter.java:285)
>> > > > >       at
>> > > > >
>> > >
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> > > > > Method)
>> > > > >       at
>> > > > >
>> > >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> > > > >       at
>> > > > >
>> > >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> > > > >       at
>> > > java.lang.reflect.Method.invoke(Method.java:585)
>> > > > >       at
>> > > > >
>> org.apache.jmeter.NewDriver.main(NewDriver.java:175)
>> > > > >
>> > > > >
>> > > > >  Any help will be appreciated.
>> > > > >
>> > > > >  Regards,
>> > > > >  Ashvini
>> > > > >
>> > > > >
>> > >
>> ---------------------------------------------------------------------
>> > > > >  To unsubscribe, e-mail:
>> > > > > jmeter-user-unsubscribe@jakarta.apache.org
>> > > > >  For additional commands, e-mail:
>> > > > > jmeter-user-help@jakarta.apache.org
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > >
>> ---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail:
>> > > jmeter-user-unsubscribe@jakarta.apache.org
>> > > > For additional commands, e-mail:
>> > > jmeter-user-help@jakarta.apache.org
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> ---------------------------------------------------------------------
>> > >  To unsubscribe, e-mail:
>> > > jmeter-user-unsubscribe@jakarta.apache.org
>> > >  For additional commands, e-mail:
>> > > jmeter-user-help@jakarta.apache.org
>> > >
>> > >
>> > >
>> >
>> >
>> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
> 

Mime
View raw message