Troubleshooting
Problem
On a Windows OS based server running Db2 server, Db2 fails to start and gives the following error "SQL1042C An unexpected system error occurred. SQLSTATE=58004". Also the key service for Db2 (db2sysc.exe) is not started or running.
Symptom
On a Windows OS machine whenever you try to launch Db2 using the db2start command you see the error below:
C:\>db2start
DB2 : The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
SQL1042C An unexpected system error occurred. SQLSTATE=58004
Cause
The Windows Service responsible for the "db2sysc.exe" process is either disabled, or not able to run by some other cause.
Environment
Windows OS
Diagnosing The Problem
Check that the Db2 related service that runs the executable "db2sysc.exe" is running.
Resolving The Problem
Ensure that the service can start. If it's not running or able to start then check what "Log On" user ID and password credentials the service is using, and make fully sure that these credentials are correct, enabled and working. If the current credentials still cause the service to fail from starting then try a different set of credentials. If that fails then you may need to re-install or repair the Db2 installation and files or refer to your Windows Server administrator.
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22005599