Skip to content

Java error on first IP  #6

@calibrae

Description

@calibrae

Hi,

Getting a Java error

java.net.UnknownHostException:
10.10.0.2
: nodename nor servname provided, or not known
	at [email protected]/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
	at [email protected]/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52)
	at [email protected]/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1221)
	at [email protected]/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1816)
	at [email protected]/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1149)
	at [email protected]/java.net.InetAddress.getAllByName0(InetAddress.java:1806)
	at [email protected]/java.net.InetAddress.getAllByName(InetAddress.java:1676)
	at [email protected]/java.net.InetAddress.getByName(InetAddress.java:1578)
	at com.simtechdata.migrate.Migrate.ipInSubnet(Migrate.java:541)
	at com.simtechdata.migrate.Migrate.getSubnet(Migrate.java:507)
	at com.simtechdata.migrate.Migrate.createKeaReservations(Migrate.java:354)
	at com.simtechdata.migrate.Migrate.start(Migrate.java:69)
	at com.simtechdata.App.main(App.java:17)
	at [email protected]/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)

Here is the relevant xml part

<staticmap>
<mac>
[[CENSORED]]
</mac>
<cid>
rockyipa
</cid>
<ipaddr>
10.10.0.2
</ipaddr>
<hostname>
rockyipa
</hostname>
<descr>
Rocky Linux Free IPA server
</descr>
<filename/>
<rootpath/>
<defaultleasetime/>
<maxleasetime/>
<gateway/>
<domain>
[[CENSORED]]
</domain>
<domainsearchlist/>
<ddnsdomain/>
<ddnsdomainprimary/>
<ddnsdomainsecondary/>
<ddnsdomainkeyname/>
<ddnsdomainkeyalgorithm>
hmac-md5
</ddnsdomainkeyalgorithm>
<ddnsdomainkey/>
<tftp/>
<ldap/>
<nextserver/>
<filename32/>
<filename64/>
<filename32arm/>
<filename64arm/>
<uefihttpboot/>
<numberoptions/>
</staticmap>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions