If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to test the listener

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-05, 18:30
mohd mohd is offline
Registered User
 
Join Date: Jul 2003
Posts: 63
How to test the listener

Hi ,

I am using DB2 V8.1 on solaris OS
how and where to check whether listner is running on the server and ready to accept client connections.

appreciate quick help
__________________
Mohd
Reply With Quote
  #2 (permalink)  
Old 01-04-05, 21:45
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
A tool called PCT (protocol communication tester) is supplied with DB2. Here's a tutorial (you need the Connectivity part:

http://www-306.ibm.com/software/data...tutorials.html
Reply With Quote
  #3 (permalink)  
Old 01-05-05, 11:40
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
The command at this tutorial is very good.
But people find it difficult to use.

Most of the time, this will get you up and running very soon.

1. Set your db2comm registry variable.

2. Set your SVCNAME same at the value in /etc/services file.

3 Check the listener of the protocol is running using db2ptree command
db2tcpcm process.

4. At the client use telnet <ip_address of the host> <port> to check the
underlying protocol


5. Catalog node/database with proper authentication.

6. The netstats command at the client/server will help you if the connection is comming but not accepted by the db2

regards

mujeeb
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On