回复 haoqingyun 我全局搜索也没搜到 db2diag.log 这个日志文件啊,我们公司的 DB2装在WINDOWS SERVER下 ...aslijiasheng 发表于 2014-5-19 15:36
哦,windows上db2diag.log默认藏在C盘document and setting某个地方了。。可以用db2 get ...
显示全部回复 haoqingyun 我全局搜索也没搜到 db2diag.log 这个日志文件啊,我们公司的 DB2装在WINDOWS SERVER下 ...
aslijiasheng 发表于 2014-5-19 15:36
哦,windows上db2diag.log默认藏在C盘document and setting某个地方了。。
可以用db2 get dbm cfg 然后找 DIAGPATH,就能找到了。
对于SQL1042C, 还是要根据情况来看。
->db2 "? SQL1042C"
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
.
* 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 these 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. If the problem is with a data source
follow the problem determination procedures for that data source.
sqlcode: -1042
sqlstate: 58004
Related information:
Troubleshooting data source connection errors收起