Unix Technical Forum

SQL30081N after RESET DATABASE CONFIGURATION

This is a discussion on SQL30081N after RESET DATABASE CONFIGURATION within the DB2 forums, part of the Database Server Software category; --> Hi NG, I wanted to reset the database (manager) configuration with RESET DATABASE CONFIGURATION and RESET DATABASE MANAGER CONFIGURATION ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 06:07 AM
Ina Schmitz
 
Posts: n/a
Default SQL30081N after RESET DATABASE CONFIGURATION

Hi NG,

I wanted to reset the database (manager) configuration with
RESET DATABASE CONFIGURATION
and
RESET DATABASE MANAGER CONFIGURATION

After doing this, I rebooted server and client and restarted IBM Universal
Database 8.2.
But now, I couldn't connect to my database anymore :-( getting the following
message:
SQL30081N Kommunikationsfehler. Verwendetes Kommunikationsprotokoll:
"TCP/IP". Verwendete Kommunikations-API: "SOCKETS". Position, an der der
Fehler festgestellt wurde: "[*there_was_the_ip*]". Kommunikationsfunktion,
die den
Fehler feststellte: "connect". Protokollspezifische(r) Fehlercode(s):
"10060",
"*", "*". SQLSTATE=08001

How could I fix the problem?

I would be glad for any help!
Cheers,
Ina


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 06:07 AM
Michel Esber
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

I´ve seen this problem before. Check whether you lost the following
registry value:

db2set DB2COMM=tcpip

-Michel

Ina Schmitz escreveu:

> Hi NG,
>
> I wanted to reset the database (manager) configuration with
> RESET DATABASE CONFIGURATION
> and
> RESET DATABASE MANAGER CONFIGURATION
>
> After doing this, I rebooted server and client and restarted IBM Universal
> Database 8.2.
> But now, I couldn't connect to my database anymore :-( getting the following
> message:
> SQL30081N Kommunikationsfehler. Verwendetes Kommunikationsprotokoll:
> "TCP/IP". Verwendete Kommunikations-API: "SOCKETS". Position, an der der
> Fehler festgestellt wurde: "[*there_was_the_ip*]". Kommunikationsfunktion,
> die den
> Fehler feststellte: "connect". Protokollspezifische(r) Fehlercode(s):
> "10060",
> "*", "*". SQLSTATE=08001
>
> How could I fix the problem?
>
> I would be glad for any help!
> Cheers,
> Ina


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 06:07 AM
Ian
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

Ina Schmitz wrote:
> Hi NG,
>
> I wanted to reset the database (manager) configuration with
> RESET DATABASE CONFIGURATION
> and
> RESET DATABASE MANAGER CONFIGURATION
>
> After doing this, I rebooted server and client and restarted IBM Universal
> Database 8.2.
> But now, I couldn't connect to my database anymore :-( getting the following
> message:
> SQL30081N Kommunikationsfehler. Verwendetes Kommunikationsprotokoll:
> "TCP/IP". Verwendete Kommunikations-API: "SOCKETS". Position, an der der
> Fehler festgestellt wurde: "[*there_was_the_ip*]". Kommunikationsfunktion,
> die den
> Fehler feststellte: "connect". Protokollspezifische(r) Fehlercode(s):
> "10060",
> "*", "*". SQLSTATE=08001
>
> How could I fix the problem?


RESET DATABASE MANAGER CONFIGURATION wiped out the setting for SVCENAME
(i.e. which tells DB2 which TCP port to listen to for connections!)

You need to set it back to what it was and then restart your instance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 06:07 AM
Knut Stolze
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

Michel Esber wrote:

> I´ve seen this problem before. Check whether you lost the following
> registry value:
>
> db2set DB2COMM=tcpip


The db2set will not be affected by the RESET, but the port on which your
instance listens is set to nothing. So the TCP/IP protocol can effectively
not be used and you have to set the port (SVCENAME) again.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 06:07 AM
cheng.j3@gmail.com
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

"svcename" in dbm cfg may be got reset to null , which is need by
remote client . Try "db2 -v update dbm cfg using svcename 50000" .
50000 is the default tcp port for DB2 UDB on windows. This may be
various and changable .

Cheng

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-27-2008, 06:14 AM
Ina Schmitz
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

Hello again,

thanks for your answers!
The "svcename" set to null really was the problem.
I would like to reset my dbm cfg again not sitting at the server, but at a
remote client. Is there any possibility to specify the svcename already
during my reset?

Otherwise, I can't update the svcename on my own, because after resetting my
dbm cfg I can't connect to the database, of course ;-) Then I would have to
ask anyone sitting at the server to update it.

Would be great if you also know a solution to this problem.
Cheers,
Ina


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-27-2008, 06:15 AM
Pierre Saint-Jacques
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

If you are at a remote client and want to change parms. of the remote dbm
then you need to use:
1) The Admin. Tools, ie Control Center, access the instance and change its
communications parms. Ypu'll need the SYSADMIN id for that instance.
Stop/Start the instance.
2) Use TelNet or whatever to start a local session on the remote server at
your wkstn. Isuue the db2 update dbm cfg using svcename command.
Stop/start the instance.

Shut the TelNet session or the Control Center.and go from there to update
your local client files.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Ina Schmitz" <web@inalein.net> a écrit dans le message de news:
du3rtc$djt$01$1@news.t-online.com...
> Hello again,
>
> thanks for your answers!
> The "svcename" set to null really was the problem.
> I would like to reset my dbm cfg again not sitting at the server, but at a
> remote client. Is there any possibility to specify the svcename already
> during my reset?
>
> Otherwise, I can't update the svcename on my own, because after resetting
> my dbm cfg I can't connect to the database, of course ;-) Then I would
> have to ask anyone sitting at the server to update it.
>
> Would be great if you also know a solution to this problem.
> Cheers,
> Ina
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-27-2008, 06:16 AM
Knut Stolze
 
Posts: n/a
Default Re: SQL30081N after RESET DATABASE CONFIGURATION

Ina Schmitz wrote:

> Hello again,
>
> thanks for your answers!
> The "svcename" set to null really was the problem.
> I would like to reset my dbm cfg again not sitting at the server, but at a
> remote client. Is there any possibility to specify the svcename already
> during my reset?


You have to have an attachment to the server instance (see the ATTACH
command). The DB2 control center does the attach under the covers for you
in case you are a "Mausschubser". ;-)

> Otherwise, I can't update the svcename on my own, because after resetting
> my dbm cfg I can't connect to the database, of course ;-) Then I would
> have to ask anyone sitting at the server to update it.


Well, you can run the update from the client. You just have to make sure
that you set the SVCENAME _before_ DB2 is restarted. The thing is that the
reset becomes effective after the restart of the engine. Thus, you should
still be able to connect to the server (from the client) until that restart
took place.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com