rpc服務啟動是灰的,linux停止rpc服務,Linux系統安裝啟動rpc服務,解決Loadrunner監控不到資源問題

 2023-10-15 阅读 25 评论 0

摘要:前言:在LoadRunner Controller下添加Unix Resource Graphs時,報錯如下:Monitor name :UNIX Resources. Cannot initialize the monitoringon 10.1.156.46. Error while creating the RPC client. Ensure thatthe machine can be connected and that it r

前言:在LoadRunner Controller下添加Unix Resource Graphs時,報錯如下:

Monitor name :UNIX Resources. Cannot initialize the monitoring

on 10.1.156.46. Error while creating the RPC client. Ensure that

the machine can be connected and that it runs the rstat daemon (use

rpc服務啟動是灰的?rpcinfo utility for this verification). Detailed error: RPC: Failed

to create RPC client.

RPC-TCP: Failed to establish RPC server address.

原因是因為要監控的目標機器的rpc服務未開啟或者未安裝rpc服務。

1.通過如下命令查找rpc

php rpc框架?whereis rpc?//查找是否有rpc服務,如果沒有需要重新下載安裝,進行步驟2;如果安裝過直接執行步驟4;

2.下載rpc,右鍵另存為http://heanet.dl.sourceforge.net/sourceforge/rstatd/rpc.rstatd-4.0.1.tar.gz下載rpc.rstatd-4.0.1.tar.gz。

3.執行以下命令解壓和安裝

tar zxvf rpc.rstatd-4.0.1.tar.gz

cd rpc.rstatd-4.0.1

python rpc?./configure?//配置

make?//編譯

make install?//安裝

4.啟動?rpc.rstatd

如果第一次執行rpc.rstatd報錯,按以下步驟可解決報錯

rpc開源框架?cd /etc/init.d

ls -l|grep

port?//檢查該路徑下是否含有port的文件 。結果顯示含有portmap或者portreserve

./portmap start?//有的系統是./portreserve start進行啟動

./nfs start

停止docker?rpc.rstatd

5.檢驗,執行rpcinfo -p,看到以下信息表示安裝成功:

100001?5?udp?800?rstatd

100001?3?udp?800?rstatd

100001?2?udp?800?rstatd

rpc出錯?100001?1?udp?800?rstatd

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/136785.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息