The firewall is disabled and "java -jar /opt/SPECpoll/pollme.jar -n \`hostname\`-int -p 8001 > /tmp/pollme.out 2>&1&" >> /etc/rc.d/rc.local" is wrote to rc.local.
After reboot, the java command doesn't work well and there is error message in pollme.out.
And the similar error is in my werbserver.
pollme.out
Creating RMI listener using RMI Registry port 8001
[ERROR] RMI server bind fails: java.rmi.UnknownHostException: Unknown host: Infraserver-int; nested exception is:
java.net.UnknownHostException: Infraserver-int
java.rmi.UnknownHostException: Unknown host: Infraserver-int; nested exception is:
java.net.UnknownHostException: Infraserver-int
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:616)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Naming.java:177)
at org.spec.specpoll.pollme.main(pollme.java:195)
Caused by: java.net.UnknownHostException: Infraserver-int
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 6 more