In rare circumstances, a VIOS ITM agent can stop reporting to the ITM server, and a restart of the agent does not work. In this case, it is sometimes because of a shared memory segment problem. To fix this..

Stop all the agents:

/opt/IBM/ITM/bin/itmcmd agent stop all

Use ipcs -mp | grep 0x78 to identify any memory segments starting 0x78. Example output would be…

m   1048576 0x78000076 --rw-rw-rw-     root   system 282860 892930
m   1048577 0x78000074 --rw-rw-rw-     root   system 282860 892930
m   1048578 0x780103d7 --rw-rw-rw-     root   system 282860 311470
m         3 0x78001455 --rw-rw-rw-     root   system 282860 422110

The 7th value, in this case 282860 is the process number.

Find this process in the process table, ensure you know how to restart it if necessary, and kill it.

Re-run ipcs -mp | grep 0x78 to see if anything remains. If there is anything left kill with…

ipcrm -m <id>

id is the 2nd value in the output, for example 1048578.

Now run slibclean to clean up.

Restart the agents with:

/opt/IBM/ITM/bin/itmcmd agent start all

This may of course be valid for other AIX servers too.

About troyski

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation