参考原文地址
http://blog.csdn.net/demo_deng/article/details/9568927
loadrunner监控Linux服务步骤 (通用/centos6.5)
总结:打开rpc守护进程,开启映射端口服务
查询守护进行 rpcinfo -p (出现4个rstatd则已经开启)
1)如果发现没有四个
需要进行自己安装 (rpc.rstatd-4.0.1.tar.gz)
安装步骤(如果通过xftp进行传输文件传输不进去,使用root登录)
1.将该文件放到usr目录下
2.tar -xzvf rpc.rstatd-4.0.1.tar.gz //解压安装包
3.chmod 777 rpc.rstatd-4.0.1 //改变文件读写权限为所有权限
4. cd rpc.rstatd-4.0.1 //进入目录
5. chmod 777 configure //同3
6. ./configure //配置
7. make //编译
8. make install //安装
9. rpc.rstatd //启动rstatd进程、
到最后一步 可能提示说无法接受此服务 不要急,意思是你linux没有安装portmap
解决步骤:此方法记住需要联网,检查是否联网 使用Ping www.baidu.com有字节接受即可
yum install nfs-utils.x86_64(64位系统)
yum install nfs-utils(32位系统)
然后安装portmap服务,portmap在centos6中改名为rpcbind
yum install rpcbind(centos6)
yum install portmap(centos5)
返回安装守护进程最后一步,输入rpc.rstatd 即可、
重新检查rpcinfo -p
2)如果第一步没有发现问题 则说明你的Liunx系统安装好了portmap
则直接打开
cd /etc/rc.d/init.d/portmap star
最后 但你守护进程开了 端口映射开了 还是监控失败
提示消息:Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.168.190.128. 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
检查linux防火墙,直接关闭即可
http://blog.csdn.net/demo_deng/article/details/9568927
loadrunner监控Linux服务步骤 (通用/centos6.5)
总结:打开rpc守护进程,开启映射端口服务
查询守护进行 rpcinfo -p (出现4个rstatd则已经开启)
1)如果发现没有四个
需要进行自己安装 (rpc.rstatd-4.0.1.tar.gz)
安装步骤(如果通过xftp进行传输文件传输不进去,使用root登录)
1.将该文件放到usr目录下
2.tar -xzvf rpc.rstatd-4.0.1.tar.gz //解压安装包
3.chmod 777 rpc.rstatd-4.0.1 //改变文件读写权限为所有权限
4. cd rpc.rstatd-4.0.1 //进入目录
5. chmod 777 configure //同3
6. ./configure //配置
7. make //编译
8. make install //安装
9. rpc.rstatd //启动rstatd进程、
到最后一步 可能提示说无法接受此服务 不要急,意思是你linux没有安装portmap
解决步骤:此方法记住需要联网,检查是否联网 使用Ping www.baidu.com有字节接受即可
yum install nfs-utils.x86_64(64位系统)
yum install nfs-utils(32位系统)
然后安装portmap服务,portmap在centos6中改名为rpcbind
yum install rpcbind(centos6)
yum install portmap(centos5)
返回安装守护进程最后一步,输入rpc.rstatd 即可、
重新检查rpcinfo -p
2)如果第一步没有发现问题 则说明你的Liunx系统安装好了portmap
则直接打开
cd /etc/rc.d/init.d/portmap star
最后 但你守护进程开了 端口映射开了 还是监控失败
提示消息:Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.168.190.128. 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
检查linux防火墙,直接关闭即可
命令service iptables stop(status)
对了 忘了给rpc.rstatd-4.0.1.tar.gz包地址了 失效了就跟我说下
链接:https://pan.baidu.com/s/1bpaxFzh 密码:lw1o