dbTalk Databases Forums  

SQL5043N

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss SQL5043N in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lennart Jonsson
 
Posts: n/a

Default SQL5043N - 11-29-2010 , 07:28 AM






We have setup a new physical server, with a number of virtual servers on
top of it. When we run db2start on any of the virtual servers we get:

~]$ db2start
SQL5043N Support for one or more communications protocols failed to
start successfully. However, core database manager functionality started
successfully.

]$ echo $?
6

Everything seems to be working fine, and it is possible to do both local
and remote connections to databases. Both db2tcpcm and db2ipccm appears
to be running:

~]$ db2pd -edus | grep cm
15 47018219137344 16577 db2tcpcm
0.000000 0.000000
14 47018223331648 16576 db2ipccm
0.000000 0.000000

The only protocol specified is tcpip:

# db2set | grep DB2COMM
DB2COMM=tcpip

and /etc/services seems ok:

~]$ grep db2 /etc/services
db2c_db2inst1 50000/tcp # DB2 related


Any ideas what might cause the error message?

/Lennart

Reply With Quote
  #2  
Old   
Ian
 
Posts: n/a

Default Re: SQL5043N - 11-29-2010 , 11:20 AM






On Nov 29, 6:28*am, Lennart Jonsson <erik.lennart.jons... (AT) gmail (DOT) com>
wrote:
Quote:
We have setup a new physical server, with a number of virtual servers on
top of it. When we run db2start on any of the virtual servers we get:

~]$ db2start
SQL5043N *Support for one or more communications protocols failed to
start successfully. However, core database manager functionality started
successfully.

]$ echo $?
6

Everything seems to be working fine, and it is possible to do both local
and remote connections to databases. Both db2tcpcm and db2ipccm appears
to be running:

~]$ db2pd -edus | grep cm
15 * * * *47018219137344 16577 * * * * *db2tcpcm
* * * *0.000000 * * 0.000000
14 * * * *47018223331648 16576 * * * * *db2ipccm
* * * *0.000000 * * 0.000000

The only protocol specified is tcpip:

# db2set | grep DB2COMM
DB2COMM=tcpip

and /etc/services seems ok:

~]$ grep db2 /etc/services
db2c_db2inst1 * 50000/tcp * * * * * * * * * * * #DB2 related

Any ideas what might cause the error message?

/Lennart
What messages do you get in db2diag.log ?

Reply With Quote
  #3  
Old   
Lennart Jonsson
 
Posts: n/a

Default Re: SQL5043N - 11-29-2010 , 12:57 PM



On 2010-11-29 18:20, Ian wrote:
[...]
Quote:
What messages do you get in db2diag.log ?

Hi Ian, see my response to globomike in this thread


/Lennart

Reply With Quote
  #4  
Old   
Ian
 
Posts: n/a

Default Re: SQL5043N - 11-29-2010 , 05:10 PM



On Nov 29, 11:57*am, Lennart Jonsson <erik.lennart.jons... (AT) gmail (DOT) com>
wrote:
Quote:
On 2010-11-29 18:20, Ian wrote:
[...]

What messages do you get in db2diag.log ?

Hi Ian, see my response to globomike in this thread

OK. I have seen an error in the past where there's SPM log
corruption, but I don't remember what the db2diag.log entries look
like. Is the SPM_NAME dbm cfg parameter set for your instance? This
enables the SPM protocol.

IFF this is the case, then the solution is basically to ensure that
there aren't any indoubt transactions (using LIST DRDA INDOUBT
TRANSACTIONS), and if there aren't, then shut down the instance,
remove the SPM log files (see SPM_LOG_PATH dbm cfg for location) and
restart the instance. DB2 will automatically generate new SPM log
files. This procedure is described (kind of) for the error SPM0439N
in the documentation.


Ian

Reply With Quote
  #5  
Old   
Lennart Jonsson
 
Posts: n/a

Default Re: SQL5043N - 11-29-2010 , 11:58 PM



On 2010-11-30 00:10, Ian wrote:
Quote:
On Nov 29, 11:57 am, Lennart Jonsson <erik.lennart.jons... (AT) gmail (DOT) com
wrote:
On 2010-11-29 18:20, Ian wrote:
[...]

What messages do you get in db2diag.log ?

Hi Ian, see my response to globomike in this thread


OK. I have seen an error in the past where there's SPM log
corruption, but I don't remember what the db2diag.log entries look
like.
Found one:

2010-11-30-05.40.35.168591+060 I14212428E364 LEVEL: Severe
PID : 3058 TID : 47146329958720PROC : db2sysc
INSTANCE: db2inst1 NODE : 000
APPHDL : 0-6
EDUID : 17 EDUNAME: db2spmrsy
FUNCTION: DB2 UDB, syncpoint manager, sqlcspm_readlog, probe:10
MESSAGE : SPM0438 The Sync point manager recovery log is bad.

Quote:
Is the SPM_NAME dbm cfg parameter set for your instance? This
enables the SPM protocol.
It is indeed set (but as far as I can tell to a dummy value). It is set
on all instances in this environment that I have looked at. I tried to
read up om SPM but I couldn't find much ( I haven't heard of it before :-).

I'm pretty sure we can remove the setting ( guess someone used it to
something at some point in history ), since we don't use any
functionality provided by it.

Quote:
IFF this is the case, then the solution is basically to ensure that
there aren't any indoubt transactions (using LIST DRDA INDOUBT
TRANSACTIONS), and if there aren't, then shut down the instance,
remove the SPM log files (see SPM_LOG_PATH dbm cfg for location) and
restart the instance. DB2 will automatically generate new SPM log
files. This procedure is described (kind of) for the error SPM0439N
in the documentation.

I guess the files won't have to deleted if the cfg is changed, but it's
probably a good idea anyhow.

Thanks for your suggestions, much appreciated


/Lennart

Reply With Quote
  #6  
Old   
Lennart Jonsson
 
Posts: n/a

Default Re: SQL5043N - 11-30-2010 , 01:52 AM



On 2010-11-30 06:58, Lennart Jonsson wrote:
[...]
Quote:
I guess the files won't have to deleted if the cfg is changed, but it's
probably a good idea anyhow.

Hmm, not sure how to turn off SPM. Any idea? I checked another instance
and there it is empty:

SPM name (SPM_NAME) =

according to the docs it is defaulted to the hostname.


Anyhow, stopping the instance and removing SPMLOG.LCF and the files in
SPMLOGSD solved the problem.

/Lennart

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.