Websphere 9.0.0 无法从 Linux 中的 WAS 管理员连接 Db2 数据库

Websphere 9.0.0 not able to connect Db2 database from WAS admin in Linux

它从过去 3 个月开始工作,但从过去 3 天开始我遇到了这个问题 即使在我尝试连接测试连接时在 Websphere 中创建 JNDI 之后,它也会给我以下错误。

 java.sql.SQLNonTransientException: java.sql.SQLNonTransientException: null DSRA0010E: SQL State = 08001, Error Code = -1,639

我无法重新启动节点代理,它给了我以下错误 ./startNode.sh 和 ./stopNode.sh

serverNode01/servers/nodeagent/server.xml 文件丢失

请提供重新启动节点代理的想法。

谢谢

SQL1639N的描述:

SQL1639N The database server was unable to perform authentication because security-related database manager files on the server do not have the required operating system permissions.

Explanation

The DB2 database system requires that your instance and database directories, and the files in those directories, have a minimum level of operating system permissions. When the instance and database directories are created by the database manager the permissions are accurate, and changing those permissions could cause database manager functions to fail. The complexity of DB2 file permissions is increased in the case of non-root installed instances and operating system-based authentication.

This message is returned when security-related database manager executable files do not have necessary permissions for the database manager to perform remote connection authentication-related tasks.

There are several reasons why these security-related files might not have the necessary permissions, including the following reasons:

The database manager instance is a non-root installed instance and operating system-based authentication has not been enabled using the db2rfe command Operating system permissions of database manager files were accidentally changed

User response

Respond to this message in one of the following ways:

If the instance is a non-root installed instance, enable operating system-based authentication using the db2rfe command. Reset all of the operating system permissions for the database manager binary files for this instance by running the following command as a superuser:

db2iupdt -k <instance-name>

where is the name of the affected instance.

Note that both the db2rfe command and the db2iupdt command require that the database manager instance be stopped and restarted.

您能否从某些远程客户端手动连接到数据库(使用 JDBC/ODBC/CLI/DB2 CLP)?