I am trying to solve a problem with locks in our productions environment and using db2pd utility.
export DB2NODE=0
db2pd -locks
Unable to attach to database manager on partition 0.
Please ensure the following are true:
- db2start has been run for the partition.
- db2pd is being run on the same physical machine as the partition.
- DB2NODE environment variable setting is correct for the partition
or db2pd -dbp setting is correct for the partition.
Our environment is not partitioned. Please advise