Why can I not restart my RHEVM instance while DNS is down?
Issue
- When trying to start RHEVM without DNS available, I get the following error: (from
var/lib/jbossas/server/rhevm-slimmed/log/console.log
)
19:35:42,047 INFO [ServerInfo] VM arguments: -Dprogram.name=run.sh -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djboss.partition.udpGroup=228.1.2.3 -Djboss.webpartition.mcast_port=45577 -Djboss.hapartition.mcast_port=45566 -Djboss.ejb3entitypartition.mcast_port=43333 -Djboss.ejb3sfsbpartition.mcast_port=45551 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/var/lib/jbossas/lib/endorsed
19:35:42,075 INFO [JMXKernel] Legacy JMX core initialized
19:35:43,803 ERROR [ServerInfo] Error looking up local address
java.net.UnknownHostException: server1.example.com: server1.example.com
at java.net.InetAddress.getLocalHost(InetAddress.java:1360)
at org.jboss.system.server.ServerInfo.getHostAddress(ServerInfo.java:366)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
...
- The FQDN (fully qualified domain name) is "rhevm.example.com", and this exists in
/etc/hosts
:
192.168.122.30 rhevm.example.com
Environment
- Red Hat Enterprise Virtualization 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.