1834449 Members
2441 Online
110067 Solutions
New Discussion

Re: STM error

 
sparky_2
Frequent Advisor

STM error

I am receiving the following error message when trying to view the System Activity log (using GUI - its a data file that needs to be converted to text):
Failed to complete the formatting of the raw log file.
Entry (1) of the System Activity log had an unknown tag
Does anyone know any possible causes of this error / corrective actions to take? I have already stopped and restarted diagnostics, also restarting with a 'fresh' log file, but to no avail.
My knowledge of the tool is slim, so I would appreciate any expert assistance! Thanks.
3 REPLIES 3
Andrew Merritt_2
Honored Contributor

Re: STM error

Hi,
I would guess you have a very old version of OnlineDiags, as this problem used to be seen when the /var/stm/logs/sys/activity_log file got very large. That problem was fixed in A.30.00, the March 2002 release.

Removing or renaming the /var/stm/logs/sys/activity_log should fix the
immediate problem. Then upgrade to a recent version of OnlineDiags to prevent it recurring.

If you're on 10.20, make sure you have A.29.00 of OnlineDiags (the latest revision for that version of HP-UX) and install patch PHSS_29444.

To work around without upgrading: Run some version of the user interface and exit. This will generate the in memory copy of uut_status.

You can semi-automate this process by:

Create a command_file that contains

exit
OK

Run mstm/xstm/cstm with -f command_file. Schedule this from cron to
run after reboot or every hour. You may also
edit /sbin/init.d/S742diagnostic file which will run the script
every time you start diagnostics.
Steven E. Protter
Exalted Contributor

Re: STM error

A good first stop is to get the latest versions of mstm from http://software.hp.com

After diagnosing the problem I'd bring your system up to date with current quarterly patch releases.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sparky_2
Frequent Advisor

Re: STM error

Thanks for your help. All of our 11.00 machines have the same OnlineDiag bundle from Dec 2001 - our 11i servers have the Mar 2002 one. I'll have to check that out...
The server also has version A29.00 of STM running - so I guess an upgrade is in order. Cheers!