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 > SQL1042C An unexpected system error occurred.SQLSTATE=58004

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-24-11, 13:49
rameshaa rameshaa is offline
Registered User
 
Join Date: Jun 2011
Posts: 1
SQL1042C An unexpected system error occurred.SQLSTATE=58004

I have installed db2 9.7 Express Edition.

When i tried to connect to the database from the command line in the server instance, i am getting the error "SQL1042C An unexpected system error occurred.SQLSTATE=58004".

What are the possible causes for this issues?
Reply With Quote
  #2 (permalink)  
Old 06-24-11, 14:07
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Code:
SQL1042C  An unexpected system error occurred.

Explanation:

A system error occurred. Some possible reasons for this error are:

*  The database manager is not installed correctly or the environment is
   not set up correctly.
*  On UNIX-based systems, db2iupdt may need to be run in order to update
   the DB2 instance to enable acquisition of a new system configuration
   or access to function associated with the installation or removal of
   certain product options, FixPaks, or modification levels.
*  You might get this message if you are not using the correct DB2
   Administration Server password

The command cannot be processed.

User response:

*  To update the instance to acquire a configuration or access to
   function run DB2IUPDT <InstName>.
*  If the error occurred while trying to connect to a database, get a
   trace (instructions below) and call IBM support.

If the problem falls outside of the above suggestions, ensure that the
system time and date is correctly set, and make sure your system has
enough memory and swapping/paging space available.

Resubmit the current command.

If the error continues, stop the database manager and restart it.

If the error still continues, reinstall the database manager.

If trace was active, invoke the Independent Trace Facility at the
operating system command prompt. Contact your technical service
representative with the following information:

Required information:

*  Problem description
*  SQLCODE or message number
*  SQLCA contents if possible
*  Trace file if possible.

Federated system users: if necessary isolate the problem to the data
source rejecting the request (see the Troubleshooting Guide for
procedures to follow to identify the failing data source). If the
problem is with a data source follow the problem determination
procedures for that data source.

sqlcode: -1042

sqlstate: 58004

Also look in the db2diag.log file for any errors.

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