Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

deriveContext error appears when CSPM EventViewer is launched

When the EventViewer of CSPM is launched two dialog boxes are showed in the screen:

Message #1

Event Viewer Error

nrEventBrowser>processContext, deriveContext failed

Message #2

deriveContext, non-hex-ascii found in outguing context

What does it mean?

Thanks.

1 REPLY
Silver

Re: deriveContext error appears when CSPM EventViewer is launche

Some time ago we were getting the same messages on launch. It turned out that our database had become corrupt and that was due to the database being full. We were advised to clear the database every now and then and restrict the entries to below 60000. The procedure that we were advised is as below.

I have put it here for your reference only and would strongly advise that you make sure of the implications of this procedure on your network before trying any of it.

-----------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------

TO ARCHIVE AND DELETE DB:

============================

**NOTE: You might not be able to accomplish this, try to archive it, if it does not work, go down

to restore db.

1. In the CSPM box, go to a command prompt and move to the :

PROGRAM FILES/CISCO SYSTEMS/CISCO SECURE POLICY MANAGER/BIN directory

2. Enter the command 'cvtnrlog -a>filename.log'

(the filename here is the name you would like to give the converted file)

3. Enter the command 'cvtnrlog -d>null:'

All of your alarms will now be archived in the file you created.

RESTORE DB:

--------------------------------

You will probably still need to restore your database, and here is the steps for that procedure:

1. Make sure you have a backup >cpm file to load your topology back into CSPM once you have restored

the database. This file must NOT be within the database as it would be deleted during the

restoration process.

To create one, you will open CSPM, go to FILE/EXPORT TO FILE/EXPORT and save it to your desktop. If

you can not get into CSPM at all, you can get a backup by browsing to the PROGRAM FILES/CISCO

SYSTEMS/CSPM/BACKUP directory and choosing the Pu#####.cpm file with the highest number. These are

backup copies created each time you do a policy update. Again, it will be important that you save

this .cpm file away from the database files.

2. Close CSPM

3. Go to START/PROGRAMS/CISCO SYSTEMS/CSPM/TROUBLESHOOTING TOOLKIT

4. Choose the "Restore Policy Database" tab

5. The default selection should be "Restore Original Database.

WARNING...", this is the correct selection.

6. Click on "Restore" and wait for the bottom four boxes to get checked off, this restores your

database to the original install, click ok.

7. Open CSPM

8. Choose FILE/IMPORT FROM FILE/IMPORT then browse to your backed up .cpm file.

9. You will probably get an error saying there is a duplicate administrator username, just click ok,

go in the CSPM box down to ADMINISTRATIVE ACCOUNTS and delete one of the administative accounts,

usually the one that says "(imported).

At this point your database should be restored and you should be able to go into event viewer to

view the new alarms as they come in.

-------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------

83
Views
0
Helpful
1
Replies