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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| "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 |
| |||
| 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 |
| |||
| 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 > |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|