zoukankan      html  css  js  c++  java
  • Linux上jmeter-server启动失败

    Jmeter-server启动失败:Cannot start. Unable to get local host IP address. is a loopback address

    在Windows下启动Jmeter非常顺利,转到Linux下居然启动失败。根据抛出的异常的信息来看,这个跟ip有关。
    不出意料,果然是这个问题。

    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    根据异常的大意可知,应该是hostname与localhost不一致导致的,所以,使用hostname命令查看用户名,果然是不一致的我linux机器的hostname为v3因此将上述改为下面的就可以了。


    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    10.2.250.203 v3.rdev.tal.net v3
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    由/etc/hosts文件导致启动失败的错误有:

    1,
    Created remote object: UnicastServerRef [liveRef: [endpoint:[10.20.10.31:38796](local),objID:[-b0d822e:12794fee8b1:-7fff, 8314597152635832475]]]
    Server failed to start: java.rmi.RemoteException: Cannot start. Unable to get local host IP address.
    2,
    Created remote object: UnicastServerRef [liveRef: [endpoint:[10.20.10.31:38796](local),objID:[-b0d822e:12794fee8b1:-7fff, 8314597152635832475]]]
    Server failed to start: java.rmi.RemoteException: Cannot start. Unable to get local host IP address.
  • 相关阅读:
    keypress事件
    input输入框(blur,change,focus)
    click点击以后添加新class,删除其余同名class
    强制数组并且匹配Array
    模拟鼠标事件
    简单的form操作
    鼠标滚轮事件(mousewheel、DOMMouseScroll)
    事件委托技术
    从程序员到项目经理:项目经理必须懂一点“章法”
    JavaScript项目优化总结
  • 原文地址:https://www.cnblogs.com/haifeiWu/p/9079592.html
Copyright © 2011-2022 走看看