If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 SQL error: SQLCODE: -1041, SQLSTATE: 57032, SQLERRMC: null

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-19-09, 11:43
jithudb2 jithudb2 is offline
Registered User
 
Join Date: Jul 2009
Posts: 6
DB2 SQL error: SQLCODE: -1041, SQLSTATE: 57032, SQLERRMC: null

Hi,

I am trying to connect to a DB2 database version 8.1 on a different machine from the one where application (JBoss) is running.

I am getting the following error while opening a connection.

DB2 SQL error: SQLCODE: -1041, SQLSTATE: 57032, SQLERRMC: null

I couldnt find any information about this error.

Can anyone please tell me what does this error mean?

Thanks

Jithu
Reply With Quote
  #2 (permalink)  
Old 08-19-09, 13:00
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Code:
SQL1041N  The maximum number of concurrent databases have already been
      started.

Explanation:

The application attempted to start an inactive database but the number
of active databases already equals the maximum value defined in the
system configuration file.

The command cannot be processed.

User response:

Wait for one of the databases to become inactive. If more databases are
required to be active at the same time, increase the value for numdb.
The new value takes effect after the next successful database manager
start.

 sqlcode: -1041

 sqlstate: 57032
You have too many databases open.

Andy
Reply With Quote
  #3 (permalink)  
Old 08-19-09, 13:54
jithudb2 jithudb2 is offline
Registered User
 
Join Date: Jul 2009
Posts: 6
Thank you

Thank you for the prompt reply.

But we have only one database running?
Reply With Quote
  #4 (permalink)  
Old 08-19-09, 13:58
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What OS is DB2?

What is output of db2level?

What is output of "db2 list db directory" on the DB2 server?

What is the dbm config?

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On