java.net.ConnectException: Connection refused
Another one of these connection errors but I have no log file to look at.
I was doing well too, managing to go thru the admin setup steps including DCenter creation on the CENTOSBOX node, until I got a connection error trying to get a SNA node going on another connected box when I ran into an issue about localhost admin server vs fully qualified domain name, so I started from scratch and now can't get anything to work, including on CENTOSBOX where it worked before.
I am running ntp on all nodes and I started rmiregistry to no avail
There is a paucity of info to look at here but if anyone has any suggestios I'd appreciate it.
I have firewall disabled
Thanks
CENTOSBOX:/home/oracle/nosql/kv-1.2.123>java -jar lib/kvstore-1.2.123.jar runadmin -port 5000 -host centosbox.mydomain.local
Exception in thread "main" java.rmi.ConnectException: Connection refused to host: centosbox.mydomain.local; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at oracle.kv.impl.util.registry.RegistryUtils.getAdmin(RegistryUtils.java:197)
at oracle.kv.impl.admin.client.KVAdmin.connect(KVAdmin.java:883)
at oracle.kv.impl.admin.client.KVAdmin.main(KVAdmin.java:2131)
at oracle.kv.impl.util.KVStoreMain$6.run(KVStoreMain.java:188)
at oracle.kv.impl.util.KVStoreMain.main(KVStoreMain.java:319)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 9 more
CENTOSBOX:/home/oracle/nosql/kv-1.2.123>cat /etc/hosts
127.0.0.1 localhost localhost.localdomain
#127.0.0.1 centosbox.mydomain.local centosbox
::1 localhost6.localdomain6 localhost6
192.168.2.188 centosbox.mydomain.local centosbox
192.168.2.144 zareason.mydomain.local zareason
192.168.2.119 compaq.mydomain.local compaq
CENTOSBOX:/home/oracle/nosql/kv-1.2.123>