473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

SQL1337N The service "db2inst1" was not found.

Hi:

I am trying to connect to DB with the following command
db2 connect to <dbnameuser <usernameusing <password>

It throws the following exception
SQL1337N The service "db2inst1" was not found.

I checked the /etc/services file also, it has entry in it. Any idea how
to resolve this?

Thanks in Advance
Ganesh

Aug 22 '06 #1
9 13232
In article <11**********************@74g2000cwt.googlegroups. com>,
ga********@gmail.com says...
Hi:

I am trying to connect to DB with the following command
db2 connect to <dbnameuser <usernameusing <password>

It throws the following exception
SQL1337N The service "db2inst1" was not found.

I checked the /etc/services file also, it has entry in it. Any idea how
to resolve this?

Thanks in Advance
Ganesh

Maybe the instance owner is not allowed to read the /etc/services file?
Aug 22 '06 #2
The user has read privilage to /etc/services. I am able to attach to
the instance, start and stop the db server. The problem is while
connecting to db. I also changed the port number and tried it out.
still the problem persists.

Thanks
Ganesh
Gert van der Kooij wrote:
In article <11**********************@74g2000cwt.googlegroups. com>,
ga********@gmail.com says...
Hi:

I am trying to connect to DB with the following command
db2 connect to <dbnameuser <usernameusing <password>

It throws the following exception
SQL1337N The service "db2inst1" was not found.

I checked the /etc/services file also, it has entry in it. Any idea how
to resolve this?

Thanks in Advance
Ganesh

Maybe the instance owner is not allowed to read the /etc/services file?
Aug 22 '06 #3
In article <11**********************@m73g2000cwd.googlegroups .com>,
ga********@gmail.com says...
The user has read privilage to /etc/services. I am able to attach to
the instance, start and stop the db server. The problem is while
connecting to db. I also changed the port number and tried it out.
still the problem persists.
Maybe the db2diag file gives you some more info?
Aug 22 '06 #4
Can i send the details your personal email -id?

-Ganesh

Gert van der Kooij wrote:
In article <11**********************@m73g2000cwd.googlegroups .com>,
ga********@gmail.com says...
The user has read privilage to /etc/services. I am able to attach to
the instance, start and stop the db server. The problem is while
connecting to db. I also changed the port number and tried it out.
still the problem persists.

Maybe the db2diag file gives you some more info?
Aug 22 '06 #5
In article <11**********************@h48g2000cwc.googlegroups .com>,
ga********@gmail.com says...
Can i send the details your personal email -id?

-Ganesh

Gert van der Kooij wrote:
In article <11**********************@m73g2000cwd.googlegroups .com>,
ga********@gmail.com says...
The user has read privilage to /etc/services. I am able to attach to
the instance, start and stop the db server. The problem is while
connecting to db. I also changed the port number and tried it out.
still the problem persists.
>
Maybe the db2diag file gives you some more info?
It shouldn't be that much info so it's better to post it to the group.
Others can jump into the problem also.
Aug 22 '06 #6
db2diag is follows:
2006-08-22-14.33.17.706017+300 I5916580C354 LEVEL: Severe
PID : 569366 TID : 1 PROC : db2hmon 0
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, routine_infrastructure, sqlerFmpOneTimeInit,
probe:100
MESSAGE : DiagData
DATA #1 : Hexdump, 4 bytes
0x2FF22650 : FFFF FBEE ....

2006-08-22-14.35.58.574759+300 I5916935C311 LEVEL: Event
PID : 569412 TID : 1 PROC : db2star2
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCfgParam, probe:30
CHANGE : CFG DBM: "Instance_Memory" <automaticFrom: "4724" To:
"4724"

2006-08-22-14.35.58.593624+300 E5917247C920 LEVEL: Warning
PID : 569412 TID : 1 PROC : db2star2
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, LicCheckProcessors, probe:20
MESSAGE : ADM12017E The number of processors on this machine exceeds
the
defined entitlement of "1" for the product "DB2 Enterprise
Server
Edition". The number of processors on this machine is "2".
You should
purchase additional processor based entitlements from your
IBM
representative or authorized dealer and update your license
using the
License Center or the db2licm command line utility. For more
information on updating processor based licenses, refer to
the Quick
Beginnings manual for your platform. For more information on
the
db2licm utility, refer to the DB2 Command Reference.

2006-08-22-14.35.59.815986+300 I5918168C357 LEVEL: Warning
PID : 548880 TID : 1 PROC : db2spmrsy 0
INSTANCE: db2inst1 NODE : 000
APPHDL : 0-6
FUNCTION: DB2 UDB, oper system services, sqloopenp, probe:80
MESSAGE : errno:
DATA #1 : Hexdump, 4 bytes
0x2FF19390 : 0000 0011 ....

2006-08-22-14.35.59.816564+300 I5918526C280 LEVEL: Warning
PID : 548880 TID : 1 PROC : db2spmrsy 0
INSTANCE: db2inst1 NODE : 000
APPHDL : 0-6
MESSAGE : Path/Filename
DATA #1 : String, 38 bytes
/u02/db2inst1/sqllib/spmlog/SPMLOG.LCF

2006-08-22-14.35.59.867674+300 E5918807C973 LEVEL: Event
PID : 569412 TID : 1 PROC : db2star2
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 UDB, base sys utilities, DB2StartMain, probe:911
MESSAGE : ADM7513W Database manager has started.
START : DB2 DBM
DATA #1 : Build Level, 124 bytes
Instance "db2inst1" uses "32" bits and DB2 code release "SQL08020"
with level identifier "03010106".
Informational tokens are "DB2 v8.1.1.64", "s040812", "U498350", FixPak
"7".
DATA #2 : System Info, 184 bytes
System: AIX arrow 3 5 0058241F4C00
CPU: total:2 online:2
Physical Memory: total:4096 free:2481
Virtual Memory: total:10624 free:8999
Swap Memory: total:6528 free:6518
Kernel Params: msgMaxMessageSize:4194304 msgMaxQueueSize:4194304
shmMax:2147483648 shmMin:1 shmIDs:131072
shmSegments:16
semIDs:131072 semNumPerID:65535 semOps:1024
semMaxVal:32767
semAdjustOnExit:16384

Any idea?
Gert van der Kooij wrote:
In article <11**********************@h48g2000cwc.googlegroups .com>,
ga********@gmail.com says...
Can i send the details your personal email -id?

-Ganesh

Gert van der Kooij wrote:
In article <11**********************@m73g2000cwd.googlegroups .com>,
ga********@gmail.com says...
The user has read privilage to /etc/services. I am able to attach to
the instance, start and stop the db server. The problem is while
connecting to db. I also changed the port number and tried it out.
still the problem persists.

>
Maybe the db2diag file gives you some more info?

It shouldn't be that much info so it's better to post it to the group.
Others can jump into the problem also.
Aug 22 '06 #7
In article <11**********************@h48g2000cwc.googlegroups .com>,
ga********@gmail.com says...
Any idea?
No. Maybe it helps when setting the diaglevel to 4, empty the db2diag
log and connect to the db to reproduce the error. Don't forget to set
diaglevel back to the original level.
Aug 22 '06 #8
Can u paste us these commands ?

1. Are u trying this connect statement from CLIENT ?

If yes

db2 list node directory
db2 list db directory

Looks like you have CATALOGED this node using the SVCENAME instead of
PORT number.

db2 "catalog tcpip node xxx remote <hostnameserver <portnumber"
db2 "catalog database at node xxx"

Then try again...

cheers...
Shashi Mannepalli

Gert van der Kooij wrote:
In article <11**********************@h48g2000cwc.googlegroups .com>,
ga********@gmail.com says...
Any idea?

No. Maybe it helps when setting the diaglevel to 4, empty the db2diag
log and connect to the db to reproduce the error. Don't forget to set
diaglevel back to the original level.
Aug 22 '06 #9
thank you. catalog done the trick.

- Ganesh

Shashi Mannepalli wrote:
Can u paste us these commands ?

1. Are u trying this connect statement from CLIENT ?

If yes

db2 list node directory
db2 list db directory

Looks like you have CATALOGED this node using the SVCENAME instead of
PORT number.

db2 "catalog tcpip node xxx remote <hostnameserver <portnumber"
db2 "catalog database at node xxx"

Then try again...

cheers...
Shashi Mannepalli

Gert van der Kooij wrote:
In article <11**********************@h48g2000cwc.googlegroups .com>,
ga********@gmail.com says...
Any idea?
No. Maybe it helps when setting the diaglevel to 4, empty the db2diag
log and connect to the db to reproduce the error. Don't forget to set
diaglevel back to the original level.
Aug 23 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lars Haugseth | last post by:
Setup: SuSE Linux 8.2 running IBM DB2 v8.1 with Net Search Extender. We had to hard reset our server, and did a successfull crash recovery. We now have a problem with operations involving text...
3
by: stash | last post by:
Help - Please! I am trying to run the V8 db2setup script *again* (maybe for the third or fourth time) and it will not re-create the sqllib directory. It always stops with this error: ERROR:Could...
6
by: Wito | last post by:
hi, I want to backup database (db2, aix 5.1) using script. When I exec script logging to user db2inst1 then is everything ok, but from cron, I get these error: SQL10007N Message "-1390" could...
2
by: Andy K | last post by:
Hi everyone , I'm getting a small error with db2 . I have been looking for it on internet and found almost nothing (some webpage without any answer) . Small recap : My db2 is a 7.x with a...
2
by: Madhu | last post by:
Hello All, I am getting the below error message when I am trying to connect from client to remote database server installed on Linux. DB2 UDB ESE database is running on a trail version on Linux...
1
by: Anurag | last post by:
Hello Folks, Here's wishing you MERRY CHRISTMAS and Festive seasons's greeting!! Now this has been bugging me for quite a while and I seek your help in setting my mind to peace. As part of DB2...
2
by: P. Adhia | last post by:
Hello All, I am trying to redirect-restore a backup of a DB2 V6.x system (AIX 4.x) on DB2 V8.2 system (AIX 5.2). I get the above error with no other details. db2diag.log has a series of error...
2
by: Serman D. | last post by:
Hi all, I'm trying to complete the samples from the excellent 2003 developerWorks article "Bringing the Power of Regular Expression Matching to SQL" by Knut Stolze: http://tinyurl.com/3bhrnn...
1
by: matias.cornejo | last post by:
I was looking de db2diag.log (DB2 V7, AIX) and I have this error and It's creating every 5 minutes the file .000 PID:312050(db2agent (idle)) Appid:none drda_as sqljp_ddm_dict_search Pdrobe:413...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.