Problem:
Error: DB2 SQL Error: SQLCODE=-1092 shown in the 'Monitor Information' section in the 'Overview' tab of the DB2 monitor page.
Why do you see this error?
You require a DB2 user with
System monitor authority (SYSMON) to monitor the tablespace details in IBM DB2 from Applications Manager. If this privilege is not available, then you will see the error given above.
Solution:
To fix the error, you will have to create an OS group and provide SYSMON authority to the Application Manager's DB2 user by following the steps mentioned below.
In Operating System
- Create a OS group in the operating system (ex: apmgrp) and assign Applications Manager DB2 OS user to that group.
In DB2 database
- Configure the OS group that was created earlier (apmgrp) to obtain SYSMON permission in the database and then restart the DB2. Subsequently, you will have to provide DATAACCESS privilege or access to the SYSIBMADM functions and SYSPROC procedures and restart the DB2 again. You can do the same using the following commands: