....Hi Ajith

that was the problem I had .. but using the "lsof -i -P | grep db2" command
did the trick ... 

Leslie


-----Original Message-----
From: Vilas, Ajith (SOM400A) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 3:39 PM
To: [EMAIL PROTECTED]
Subject: RE: DB2EUG: Port NUmber Assigned


Scott,
  Unix netstat command will give you that information.Try netstat -a. But
there is one catch though, if you have the service name (db2cinst for
instance) instead of port number as the svcename parameter value, netstat
will only show the name and not the port number. You might still need to
look at the /etc/service file to see that port was assigned to the service
name.
Regards,
Ajith

-----Original Message-----
From: McLeod, Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 8:29 AM
To: [EMAIL PROTECTED]
Subject: DB2EUG: Port NUmber Assigned


I can't find the /etc/services file on a server setup by someone else.  Can
someone tell me if you know of a way to identify the port number DB2 is
listining on.  The service name is identified in the DBM CFG.  But the port
number assigned to that service name is a required parameter when
configuring a client for remote access to the database.

> TTFN and Hold Fast!
> Scott McLeod of MacLeod
> Best Buy, Inc.
> Sr. Database Architect
> 7750 Flying Cloud Dr.
> Eden Prairie, MN 55344
> 
> (612) 324-0031 (voice)
> (612) 324-0828 (fax)
> 
> [EMAIL PROTECTED]
> 
> 

=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod



=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Sony cannot accept liability for statements made which are clearly
the sender's own and not made on behalf of Sony.
(03)
**********************************************************************

=====
To unsubscribe, send 'unsubscribe' to [EMAIL PROTECTED]
For other info (and scripts), see http://people.mn.mediaone.net/scottrmcleod

Reply via email to