I saw this error: -
and: -
Attempting to connect to database: jdbc:db2://db2.uk.ibm.com:60000/release:returnAlias=0; using com.ibm.db2.jcc.DB2Driver, db2inst1, PASSWORD_REMOVED
Level.SEVERE, Error Connecting db
com.ibm.db2.jcc.am.ro: [jcc][t4][2043][11550][4.8.87] Exception java.net.NoRouteToHostException: Error opening socket to server db2.uk.ibm.com/192.168.1.73 on port 60,000 with message: No route to host. ERRORCODE=-4499, SQLSTATE=08001
99
RETURN_CODE_FOR_THIS_TASK: 99
in: -
/opt/IBM/WebSphere/wp_profile/ConfigEngine/log/configwizard.log
whilst trying to hook my newly minted WebSphere Portal 7 instance up to another VM ( VirtualBox on CentOS ) running DB2 UDB.
Having already checked that DB2 was listening on port 60,000: -
$ tail /etc/services
blp5 48129/udp # Bloomberg locator
com-bardac-dw 48556/tcp # com-bardac-dw
com-bardac-dw 48556/udp # com-bardac-dw
iqobject 48619/tcp # iqobject
iqobject 48619/udp # iqobject
DB2_db2inst1 60000/tcp
DB2_db2inst1_1 60001/tcp
DB2_db2inst1_2 60002/tcp
DB2_db2inst1_END 60003/tcp
db2c_db2inst1 50001/tcp
$ netstat -aon | grep LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:48248 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 0.0.0.0:60000 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 :::111 :::* LISTEN off (0.00/0/0)
tcp 0 0 :::6000 :::* LISTEN off (0.00/0/0)
I knew that DB2 was up and running and listening.
I conducted another basic test with Telnet: -
$ telnet db2.uk.ibm.com 60000
Trying 192.168.1.73...
telnet: connect to address 192.168.1.73: No route to host
At this point, I thought ..... "Ah ha, what about the firewall?"
I went to the DB2 box, and ran the firewall configuration programme: -
$ /usr/bin/python /usr/bin/system-config-firewall
and, lo and behold, we have: -
Now this is a demo environment, so the firewall is superfluous to my requirements.
I disabled it ... and now my TELNET test works: -
$ telnet db2.uk.ibm.com 60000
Trying 192.168.1.73...
Connected to db2.uk.ibm.com.
Escape character is '^]'.
^]quit
telnet> quit
Connection closed.
Job done, case closed, back to work :-)
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Reminder - installing podman and skopeo on Ubuntu 22.04
This follows on from: - Lest I forget - how to install pip on Ubuntu I had reason to install podman and skopeo on an Ubuntu box: - lsb_rel...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
No comments:
Post a Comment