51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 4513|回复: 4
打印 上一主题 下一主题

[求助] loadrunner 监控centos 7 问题:rpc服务启了,无防火墙,还是不能监控

[复制链接]
  • TA的每日心情
    奋斗
    2016-12-14 13:59
  • 签到天数: 113 天

    连续签到: 1 天

    [LV.6]测试旅长

    跳转到指定楼层
    1#
    发表于 2015-3-15 14:17:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    本帖最后由 smh_dss 于 2015-3-15 14:19 编辑

    centos rpc服务已经启了,如图,

    没有防火墙,还是出现以下错误,

    Cannot initialize the monitoring on 192.168.0.143. 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.

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    2020-8-2 21:08
  • 签到天数: 817 天

    连续签到: 1 天

    [LV.10]测试总司令

    2#
    发表于 2015-3-15 20:29:32 | 只看该作者
    rpcinfo -p localhost 试试
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2016-12-14 13:59
  • 签到天数: 113 天

    连续签到: 1 天

    [LV.6]测试旅长

    3#
     楼主| 发表于 2015-3-16 13:35:48 | 只看该作者
    授客 发表于 2015-3-15 20:29
    rpcinfo -p localhost 试试

    E:\smh\a.png结果如下图

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2016-12-14 13:59
  • 签到天数: 113 天

    连续签到: 1 天

    [LV.6]测试旅长

    4#
     楼主| 发表于 2015-3-17 15:52:53 | 只看该作者
    请高手们帮忙
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    奋斗
    2020-8-2 21:08
  • 签到天数: 817 天

    连续签到: 1 天

    [LV.10]测试总司令

    5#
    发表于 2015-5-3 23:08:42 | 只看该作者
    1)安装xinetd服务
    [root@localhost ~]# yum list | grep xinetd
    xinetd.x86_64                           2:2.3.14-29.el6                  centos
    [root@localhost ~]# yum install inetd
    ……
    [root@localhost ~]# service xinetd status
    xinetd is stopped
    [root@localhost ~]# service xinetd start
    Starting xinetd:                                           [  OK  ]

    2)关闭防火墙
    [root@localhost ~]# service iptables stop

    3)重启服务
    [root@localhost ~]# /etc/init.d/xinetd restart #service xinetd restart应该也可以
    Stopping xinetd:                                           [  OK  ]
    Starting xinetd:                                           [  OK  ]
    [root@localhost ~]# service rstatd restart
    Stopping rstat services:                                   [FAILED]
    Starting rstat services:                                   [  OK  ]
    [root@localhost ~]# service rstatd restart
    Stopping rstat services:                                   [  OK  ]
    Starting rstat services:                                   [  OK  ]
    [root@localhost ~]# service rstatd restart

    说明:具体是否一定要按这个顺序重启服务就不清楚了,测试中,开放防火墙tcp\udp 111端口,重启过xinetd服务后添加再重新Unix rescource发现还是不行,接着,关闭防火墙->重启xinetd->重启rstatd服务,再次添加就可以了,
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-4-30 23:01 , Processed in 0.068285 second(s), 23 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表