入住 CI 中国社区 登录
CodeIgniter 中国开发者社区 返回首页

rosemarry的个人空间 https://codeigniter.org.cn/forums/?39678 [收藏] [复制] [分享] [RSS]

日志

LR监控linux系统应用

已有 839 次阅读2015-10-27 11:28 |个人分类:Loadrunner| linux, 监控

lr监控linux系统应用经常会出现"Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.168.52.189. Error while creating the RPC client. Ensure that the machine can be connected and that it runs the rstat daemon (use rpcinfo utility for this verification). Detailed error: RPC: Failed to create RPC client."

意思是没有安装或者没有启动rpc.start服务。

然后就区服务器上查看下有没有安装。没有安装的发就下载安装

安装rstatd
下载地址:http://sourceforge.net/projects/rstatd,上传至/usr/local
查看是否安装rstatd
[root@localhost /]# find / -name rpc.rstatd

安装rstatd
[root@localhost /]# tar -xzvf rpc.rstatd-4.0.1.tar.gz
[root@localhost /]# cd rpc.rstatd-4.0.1
[root@localhost /]# ./configure
[root@localhost /]# make
[root@localhost /]# make install

安装后启动

然后翻阅了很多资料

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

这个错误是因为服务器没有开启端口映射的功能,需要安装portmap。

解决办法:

[root@rhel64-a RedHat60AS_26x86_64]# yum install portmap

[root@rhel64-b ~]# /etc/init.d/cvfs fullstop
Unmounting SNFS filesystems [确定]

Stopping SNFS Daemons
Can't open control driver /dev/cvfsctl0, error No such file or directory (2)
Stopping SNFS PortMapper
Waiting for FSMs to finish

SNFS Stop [确定]
Unloading SNFS module 'cvfs'
SNFS Unload [确定]
[root@rhel64-b ~]# yum install portmap
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
base | 4.0 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rpcbind.x86_64 0:0.2.0-8.el6 will be installed
--> Processing Dependency: libtirpc.so.1()(64bit) for package: rpcbind-0.2.0-8.el6.x86_64
--> Running transaction check
---> Package libtirpc.x86_64 0:0.2.1-3.el6 will be installed
--> Processing Dependency: libgssglue.so.1(libgssapi_CITI_2)(64bit) for package: libtirpc-0.2.1-3.el6.x86_64
--> Processing Dependency: libgssglue.so.1()(64bit) for package: libtirpc-0.2.1-3.el6.x86_64
--> Running transaction check
---> Package libgssglue.x86_64 0:0.1-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
rpcbind x86_64 0.2.0-8.el6 base 51 k
Installing for dependencies:
libgssglue x86_64 0.1-11.el6 base 23 k
libtirpc x86_64 0.2.1-3.el6 base 78 k

Transaction Summary
====================================================================================================================================
Install 3 Package(s)

Total download size: 152 k
Installed size: 300 k
Is this ok [y/N]: y
Downloading Packages:
------------------------------------------------------------------------------------------------------------------------------------
Total 4.4 MB/s | 152 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : libgssglue-0.1-11.el6.x86_64 1/3
Installing : libtirpc-0.2.1-3.el6.x86_64 2/3
Installing : rpcbind-0.2.0-8.el6.x86_64 3/3
duration: 344(ms)
Installed products updated.

Installed:
rpcbind.x86_64 0:0.2.0-8.el6

Dependency Installed:
libgssglue.x86_64 0:0.1-11.el6 libtirpc.x86_64 0:0.2.1-3.el6

Complete!
[root@rhel64-b ~]#

启动portmap服务故障解决

[root@rhel64-b RedHat60AS_26x86_64]# /etc/init.d/rpcbind start

然后再启动:rpc.start服务就成


路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 入住 CI 中国社区