IBM i Events cannot be displayed, or new Events are not being generated

Follow

Issue

There may be no new Events displayed in the Zend Server User Interface.  Or, it may not be possible to view Events in the Zend Server User Interface.  Instead, an error similar to this might be seen:

Zend Monitor can not access the issues database

Environment

Any version of Zend Server for IBM i running on any version of IBM i.

Resolution

The Monitor data is kept in a SQLite data base file.  This file may become corrupt. It can be regenerated by removing or renaming the file, cycling the Monitor daemon, and then restarting PHP. Note that all old events will be lost. This procedure will make your web site unavailable for a few minutes, so please schedule for a suitable time when maintenance can be done.

Step 1: Delete or rename this file:

/usr/local/zendsvr6/var/db/monitor.db 

For Zend Server version 5, this is the file:

/usr/local/zendsvr/var/db/monitor 

This is easiest to do using iSeries Navigator or the Zend Studio Remote Systems perspective.

Step 2: Stop and start the Monitor daemon. From a 5250 command line:

GO ZENDSVR6/ZSVMENU 

For Zend Server 5:

GO ZENDSVR6/ZSVMENU 

Use option '11. Monitor Management Menu', and then on this menu, option '2. Stop Monitor' Then, on the command line:

WRKACTJOB SBS(ZENDSVR6) 

For Zend Server 5:

WRKACTJOB SBS(ZENDSVR) 

Make sure there are no jobs named 'ZSMONMNG'. Use F5 to redisplay until the jobs are gone. Then use F12 to return to the menu. Use option '1. Start Monitor' Then, again from the command line:

WRKACTJOB SBS(ZENDSVR6) 

For Zend Server 5:

WRKACTJOB SBS(ZENDSVR) 

Verify these two jobs appear (use F5 to redisplay until they do):

ZSMONMNG     QTMHHTTP    BCI      .0  PGM-watchdog   
ZSMONMNG QTMHHTTP BCI .0 PGM-MonitorNod

Step 3: Verify the file /usr/local/zendsvr6/var/db/monitor.db now exists.  (For Zend Server 5, verify the file /usr/local/zendsvr/var/db/monitor now exists.)

Step 4: Restart PHP. In the Zend Server User Interface in your browser, use the 'Restart' button that appears in the upper right corner of most displays (bottom right for Zend Server 5). After PHP restarts, there may not be any events to display. New events will begin to accumulate as they occur.

Have more questions? Submit a request

Comments

Powered by Zendesk