【有用】ITM : cinfo 显示进程报错 1355 :lie node not unexpected

本文详细介绍了如何解决ITM agent启动后执行cinfo-r命令时出现的报错问题,包括诊断步骤和解决方案。通过检查并修正RunInfo文件中的错误空白行,可以有效解决此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天把 itm 的agent 的进程起了一下:

cd /opt/IBM/ITM/bin

./itmcmd agent start all

通过 ps -ef | grep itm 发现: ux ,ul,um 都是起来的,可是./cinfo -r 就是报错:

【1355】line node_name unexpected

后来看了 iBm 内网的 对这个case 的解释和解决方法:发现问题解决:

Diagnosing the problem

When running cinfo -r, the following is returned:

{1355} Syntax error Line 1: <LPAR name> and <WPAR name> @ <LPAR name> | <WPAR name> unexpected

The following was noted in the log file:
(4C7E48D7.0069-D:disk_space.cpp,688,"getHostStat") [1] Cannot statfs '/wpars/infaprtu001', errno = 13 (Permission denied)
(4C7E48D7.006A-D:disk_space.cpp,688,"getHostStat") [2] Cannot statfs '/wpars/infaprtu001/', errno = 13 (Permission denied)
(4C7E48D7.006B-D:disk_space.cpp,688,"getHostStat") [3] Cannot statfs '/wpars/infaprtu001/usr', errno = 13 (Permission denied) 

Resolving the problem

The RunInfo file (one of the files that cinfo reads to find out about running processes) has a blank line in it.


example from RunInfo file:

FIELDSEP=|

infaprpu001|px|999678|None|aix523|
infaprpu001|ul|356480|None|aix526|

The code reads and parses the empty line just like the rest. In other words, it derives a null value for the host name, product code, pid, etc. When it tries to compare this null value with the list of available host names, the syntax error results. We are unsure how the RunInfo file got this way. ITM updates it whenever an agent starts or stops, adding or remove lines as needed. A new blank line should never be the result.

The solution is to edit CANDLEHOME/config/.ConfigData/RunInfo and remove the blank line after "FIELDSEP=|".

 

注明: 上面这个文件中

999678 是px 进程的进程号,

还有: FIELDSEP=| 后面有 其他 杂乱的东西,统统删除。只留下:
 
infaprpu001|px|999678|None|aix523|

就可以了。

注意: 上面的px 要根据实际情况,替换成:ux 等。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值