Linux environment for distributed pressure measurement stepped pit Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks

Background: In order to meet the case of large concurrent need to test with the group, you need distributed pressure test, where I stepped on my pit are recorded;

Environment: Linux + jmeter-v.5.1.1; 3 press using 2 sets of core 4G;

Q1: Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks

  

 

 A1: Solutions, to see if the port number is occupied, jmeter default port number is 1099; use netstat -lntp | grep 1099 to see if 1099 is occupied, are generally not used; the most important is the investigation of jmeter rmi Configuration , SLL default comments, we generally pressure measurements are carried out in the local area, so no need to check; need to open, vim to open the configuration file (jmeter.properties) under jmeter / bin amended as follows

 

Then restart jmeter-server, you can;

Q2: Distributed pressure measured in the company, can proceed smoothly, home wanted to debug, we have reported the following error:

 

 Server name and the server name is displayed when an error is inconsistent (refuse to host: 172.18.11.232, and my server Mingming Ming is 192.168.0.103)

A2: This is a problem caused by the dual-NIC server, amended as follows:

Modify jmeter-server file on linux

RMI_HOST_DEF = -Djava.rmi.server.hostname = slave machine name

 

 Modify the host name their own configuration, and then restart jmeter-server on it

Q3: Start direct jmeter-server error, and said unknown services

A3: This problem solved, no system hosts file; only need to add configure IP host name of the machine; vim / etc / hosts

 

 Q4: If you have back problems, continue to update

 

 

 

 

 

 

 

 

 

 

       

 

Guess you like

Origin www.cnblogs.com/Slowfish/p/11525128.html