472,984 Members | 2,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,984 software developers and data experts.

DB2 error SQL30081N on AIX version 5.2 / 5.3

Hi All,

I am working for the first time on DB2.

I have installed ver 7.2, and am using AIX version 5.2, and 5.3 for some DBs. I am getting this error "SQL30081N" for some of the databases. I have added the Databases as per the info I have got. Please guide me as to when this kind of an error may occur, and how I can resolve this? This issue has been haunting me for long. Hope someone can help me out of this.

Any kind of help will be appreciated.

I am new to IT and so pls explain like you would to a beginner. :) I will try to pick up as much as possible.

Thanks.
Aug 29 '07 #1
5 3882
docdiesel
297 Expert 100+
Hi,

SQL30081N means "A communication error has been detected...", that is the client cannot connect to your (remote) database(s).

How did you catalog the databases?

Regards, Bernd
Aug 29 '07 #2
Hi,

SQL30081N means "A communication error has been detected...", that is the client cannot connect to your (remote) database(s).

How did you catalog the databases?

Regards, Bernd

Hi Bernd,

Adding a profile didn't work. So I had to get the databases added manually. I tried to connect to 5 databases, but 3 of them are having the SAME problem. 2 are ok. Thats why I wonder why the client is not able to detect the other REMOTE DBs.

Hope this is what you's asked for.

Regards,
BM
Aug 30 '07 #3
docdiesel
297 Expert 100+
Hi bonymuscle,

I guess the groups of 2 / 3 databases are cataloged to different nodes? Perhaps you could post the db and node directory:
  • Open a db2 command line windows, e.g. by "Start"/"Run command", then start db2cmd
  • execute db2 list node directory
  • execute db2 list database directory
  • post the output, and lets have a look.

Regards, Bernd
Aug 30 '07 #4
Hi bonymuscle,

I guess the groups of 2 / 3 databases are cataloged to different nodes? Perhaps you could post the db and node directory:
  • Open a db2 command line windows, e.g. by "Start"/"Run command", then start db2cmd
  • execute db2 list node directory
  • execute db2 list database directory
  • post the output, and lets have a look.

Regards, Bernd
Hi Bernd,

I am sorry cos I think I can't provide you with those details. I have run your commands and found that

> The Port numbers are the same.
> The Node names vary, though I don't know what it is related to.
> The IP addresses correspond to the server names, of the databases.

I will give you a sample though :

Node 1 entry:

Node name = < ABC12345 (Some Alphanumeric name) >
Comment = <blank>
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = < Server's IP >
Service name = < the same IP for all DBs >

Database 3 entry:

Database alias = < the alias name I'd used when I added the DB >
Database name = < Self Detected I presume, I didn't add this alphanumeric String it displayed>
Node name = < The NODE NAME that I'd entered above > Database release level = a.00
Comment =
Directory entry type = Remote
Authentication = SERVER
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =


I hope this information must help you in some way or the other. I appreciate your taking time to help me out with this. I am grateful. :)

I had to add some more DBs today, and now its like 3 out of 8 is positive!!! :( which is less than 50%. Having a great time!!! ;)

Have a great weekend.

Regards,
BM.
Aug 31 '07 #5
docdiesel
297 Expert 100+
Hi bonymuscle,

Expand|Select|Wrap|Line Numbers
  1. Service name = < the same IP for all DBs >
  2.  
just to talk about the same, this entry should be the tcp/ip port number you're server is listening on.

Which brings me to the next point. If port numbers and ip addresses are ok, then the question is: Are you sure you're db2 instance is listening on that port? On Unix'es, you'll sometimes have to tell db2:

Expand|Select|Wrap|Line Numbers
  1. db2set DB2COMM=tcpip
  2. db2stop
  3. db2start
  4.  
Maybe a "netstat -lntp" won't show that port before but afterwards. You may check if that db2 variable is set before executing the above commands.

Some other questions - could there be some firewall between your client and your server(s)? On how many servers are databases connectable, on how many the aren't?

Regards, Bernd
Aug 31 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: alederer | last post by:
Hallo! I have the following situation: A db2 v6.1 client on AIX 4.3 (db2level reports U469703) and a OS/390 database version 6.1 . In some situations, I get the following error in my db2...
3
by: Tim Reynolds | last post by:
I support a .Net application running on a SERVER accessing MF Db2 data. Occasionally, we have some type of connection problem that we have been unable to debug up to this point. We typically...
3
by: Laura | last post by:
I've just installed the DB2 Run-time client in a Solaris machine. Then I finnish the installation configuring the connection: 1. machine catalog was OK: ========================== $ db2 catalog...
1
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on...
4
by: Ralf Gross | last post by:
Hi, I installed DB2 V8.1 with fixpak 10, created a new database and can connect to the database. $ db2 connect to mkstest Database Connection Information Database server =...
4
by: Pool | last post by:
I tried to connect DB2 (Sitting in Unix server at my client location) using Db2 connect V8. I am getting the following error message. I tried all the possible options BUt the error is same.. See each...
2
by: globomike | last post by:
Hi, can anybody tell me what the reason code 18 means in combination with a SQL0902 error? It would be helpful to know details about the reason code but I could not find any details about that...
1
by: toffees | last post by:
Hi, I am having some problems getting an application server to connect to the database server. Both servers run on Windows 2000 Server. DB2 version 7.2 is running on the database server. I am able...
2
by: dimeuleh | last post by:
I am new to DB2 but I am currently doing a small project which involves two normal windows xp workstations both using DB2 Express C. I keep getting the SQL30081N error. I have researched why...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.