java.net.UnknownHostException: CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known

Jenkins JIRA | Luis Cardozo | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    When I try to execute a Composition inside a CentOS VM I get this error: [game-of-life-default] $ /var/lib/jenkins/tools/com.soasta.jenkins.FakeInstallation/cloudtest-scommand-6367.118/bin/scommand url=http://192.168.1.115/concerto/ "username=Cloudtest Lite" ******** cmd=play wait format=junitxml name=/Refundo/Composition/BankApps java.net.UnknownHostException: CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known at java.net.InetAddress.getLocalHost(Unknown Source) at org.codehaus.xfire.addressing.RandomGUID.<clinit>(RandomGUID.java:115) at org.codehaus.xfire.addressing.AddressingInHandler.<clinit>(AddressingInHandler.java:26) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.codehaus.xfire.client.CorrelatorHandler.class$(CorrelatorHandler.java:14) at org.codehaus.xfire.client.CorrelatorHandler.<init>(CorrelatorHandler.java:24) at org.codehaus.xfire.client.Client.<init>(Client.java:84) at org.codehaus.xfire.client.Client.<init>(Client.java:180) at org.codehaus.xfire.client.Client.<init>(Client.java:125) at org.codehaus.xfire.client.XFireProxyFactory.create(XFireProxyFactory.java:78) at com.soasta.common.xfire.ClientFactory.a(ClientFactory.java:139) at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:51) at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:41) at com.soasta.tools.scommand.commands.a.n(a.java:415) at com.soasta.tools.scommand.commands.c.c(c.java:119) at com.soasta.tools.scommand.a.a(a.java:124) at com.soasta.tools.scommand.Main.main(Main.java:25) Caused by: java.net.UnknownHostException: CentOSNode.localdomain: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(Unknown Source) ... 18 more Please your comments about this issue, thanks.

    Jenkins JIRA | 4 years ago | Luis Cardozo
    java.net.UnknownHostException: CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known
  2. 0

    When I try to execute a Composition inside a CentOS VM I get this error: [game-of-life-default] $ /var/lib/jenkins/tools/com.soasta.jenkins.FakeInstallation/cloudtest-scommand-6367.118/bin/scommand url=http://192.168.1.115/concerto/ "username=Cloudtest Lite" ******** cmd=play wait format=junitxml name=/Refundo/Composition/BankApps java.net.UnknownHostException: CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known at java.net.InetAddress.getLocalHost(Unknown Source) at org.codehaus.xfire.addressing.RandomGUID.<clinit>(RandomGUID.java:115) at org.codehaus.xfire.addressing.AddressingInHandler.<clinit>(AddressingInHandler.java:26) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.codehaus.xfire.client.CorrelatorHandler.class$(CorrelatorHandler.java:14) at org.codehaus.xfire.client.CorrelatorHandler.<init>(CorrelatorHandler.java:24) at org.codehaus.xfire.client.Client.<init>(Client.java:84) at org.codehaus.xfire.client.Client.<init>(Client.java:180) at org.codehaus.xfire.client.Client.<init>(Client.java:125) at org.codehaus.xfire.client.XFireProxyFactory.create(XFireProxyFactory.java:78) at com.soasta.common.xfire.ClientFactory.a(ClientFactory.java:139) at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:51) at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:41) at com.soasta.tools.scommand.commands.a.n(a.java:415) at com.soasta.tools.scommand.commands.c.c(c.java:119) at com.soasta.tools.scommand.a.a(a.java:124) at com.soasta.tools.scommand.Main.main(Main.java:25) Caused by: java.net.UnknownHostException: CentOSNode.localdomain: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressesFromNameService(Unknown Source) ... 18 more Please your comments about this issue, thanks.

    Jenkins JIRA | 4 years ago | Luis Cardozo
    java.net.UnknownHostException: CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known
  3. 0
    samebug tip
    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with parpool: unknown host name - MATLAB Answers - MATLAB Central

    mathworks.com | 1 year ago
    java.net.UnknownHostException: henrik: henrik: Name or service not known
  6. 0

    Error opening matlabpool - MATLAB Answers - MATLAB Central

    mathworks.com | 10 months ago
    java.net.UnknownHostException: EMS-GJDZW12: EMS-GJDZW12: Name or service not known

  1. nasimk 2 times, last 5 months ago
  2. mortalman7 1 times, last 9 months ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    CentOSNode.localdomain: Name or service not known

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
    3. java.net.InetAddress.getAddressesFromNameService(Unknown Source)
    4. java.net.InetAddress.getLocalHost(Unknown Source)
    4 frames
  3. XFire
    AddressingInHandler.<clinit>
    1. org.codehaus.xfire.addressing.RandomGUID.<clinit>(RandomGUID.java:115)
    2. org.codehaus.xfire.addressing.AddressingInHandler.<clinit>(AddressingInHandler.java:26)
    2 frames
  4. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Unknown Source)
    2 frames
  5. XFire
    XFireProxyFactory.create
    1. org.codehaus.xfire.client.CorrelatorHandler.class$(CorrelatorHandler.java:14)
    2. org.codehaus.xfire.client.CorrelatorHandler.<init>(CorrelatorHandler.java:24)
    3. org.codehaus.xfire.client.Client.<init>(Client.java:84)
    4. org.codehaus.xfire.client.Client.<init>(Client.java:180)
    5. org.codehaus.xfire.client.Client.<init>(Client.java:125)
    6. org.codehaus.xfire.client.XFireProxyFactory.create(XFireProxyFactory.java:78)
    6 frames
  6. com.soasta.common
    RepositoryServiceClientFactory.getRepositoryServiceClient
    1. com.soasta.common.xfire.ClientFactory.a(ClientFactory.java:139)
    2. com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:51)
    3. com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:41)
    3 frames
  7. com.soasta.tools
    Main.main
    1. com.soasta.tools.scommand.commands.a.n(a.java:415)
    2. com.soasta.tools.scommand.commands.c.c(c.java:119)
    3. com.soasta.tools.scommand.a.a(a.java:124)
    4. com.soasta.tools.scommand.Main.main(Main.java:25)
    4 frames