Errors when running the db2start command

Errors can occur if you run the db2start command after successful installation of the Db2® database products on Windows systems. To avoid these problems, download and install the recent VC++ redistributable packages.

Symptoms

On Windows systems, if you run the db2start command after installing the Db2 database product, you might encounter the error message Db2: The service has returned a service specific error code. SQL1042C An unexpected system error occurred. SQLSTATE=580004.

Causes

A possible root cause of this error message is that the system has an incompatible VC++ 2008 redistributable package already installed, prior to installation of the Db2 database product.

Resolving the problem

Download and install the Microsoft VC++ 2008 redistributable packages which is available for download from http://www.microsoft.com.

Full information about the package, including download instructions is available on the Microsoft Visual C++ 2008 Redistributable Package (x86) and Microsoft Visual C++ 2008 Redistributable Package (x64) web pages.