51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

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

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

[复制链接]
  • TA的每日心情
    奋斗
    2020-8-2 21:08
  • 签到天数: 817 天

    连续签到: 1 天

    [LV.10]测试总司令

    1#
    发表于 2015-3-15 20:29:32 | 显示全部楼层
    rpcinfo -p localhost 试试
    回复 支持 反对

    使用道具 举报

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

    连续签到: 1 天

    [LV.10]测试总司令

    2#
    发表于 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-5-21 15:10 , Processed in 0.070414 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

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