51Testing软件测试论坛

标题: linux 下loadrunner generator 启动失败 [打印本页]

作者: wangyueyong1    时间: 2014-5-7 18:25
标题: linux 下loadrunner generator 启动失败
装了3台linux负载机,刚安装时都是好的,服务也能启动,也能用,现在2台出现同样的报错,一台出现另外的错误
系统是centos
[root@haproxy1 bin]# ./m_agent_daemon -install
./m_agent_daemon: error while loading shared libraries: libdriver.so: cannot open shared object file: No such file or directory

[root@localhost bin]# ./m_agent_daemon -install
Error: Must have -usr option.        [MsgId: MERR-10794]
作者: wangyueyong1    时间: 2014-5-8 15:55
./m_agent_daemon: error while loading shared libraries: libdriver.so: cannot open shared object file: No such file or directory这个错误按照提示,把 bin 目录下的libdriver.so 放到lib目录下
作者: wangyueyong1    时间: 2014-5-8 15:56
之后出现了这个错误
[root@localhost bin]# ./m_agent_daemon -install
Error: Must have -usr option.        [MsgId: MERR-10794]
作者: wangyueyong1    时间: 2014-5-8 15:59
以为是用户访问权限不够,进入root 用户,修改lib内的权限,之后出现
Warning : MDRV: cannot find lrun root directory . Please check your M_LROOT
Unable to format message id [-10791]
作者: wangyueyong1    时间: 2014-5-8 16:00
有使用linux的load人runner generater的大神帮忙下
作者: gaha    时间: 2014-5-8 16:20
export LD_LIRBRARY_PATH=你LR的BIN目录:你LR的LIB目录
作者: wangyueyong1    时间: 2014-5-9 14:19
加过了,没有用啊
作者: murphy_Ma    时间: 2014-5-9 15:05
有可能是c++库找不到了,建议再下载一个c++库
作者: murphy_Ma    时间: 2014-5-9 15:08
前段时间刚安装了一下linux下的loadrunner genarater。
参考步骤如下:
http://blog.csdn.net/murphy_ma123456/article/details/25196559
包含了我自己遇到的一些常规问题解决。。看能不能帮上忙
作者: wangyueyong1    时间: 2014-5-12 10:50
[wang@localhost bin]$ ./verify_generator
===================================================
              HP
     Vuser Environment Verification Utility
===================================================

Product: LoadRunner 11.0
Version: 11.0.0.8866
Build: 8866  


localhost.localdomain:

verify_generator...OK
verify_generator...OK
verify_generator...OK
Warning: The file .rhosts does not exist in the home directory of the user.
Verify $M_LROOT ...Failed
_____It was not possible to set the $M_LROOT from
_____the shell dot files. One of several things might be happening:
_____1) $M_LROOT is not set at all in the shell dot files.
_____2) There is some error in the shell dot files which stops their execution
_____   before it sets $M_LROOT.
_____3) There is conditional code in the shell dot files (most likely related to
_____   interactive and non interactive shells) and $M_LROOT is set
_____   only in one of the sections.
_____Aborting virtual user tests on host localhost.localdomain
verify_generator...OK
_______________________________________________

Summary:
________
Vuser Host localhost.localdomain: Failed

You have new mail in /var/spool/mail/root
   
[wang@localhost bin]$ ./m_agent_daemon -install
Error: Must have -usr option.
作者: wangyueyong1    时间: 2014-5-12 10:50
安装验证是通过的。。。就是不能运行
作者: murphy_Ma    时间: 2014-5-13 09:17
./m_daemon_setup start 就好了,为什么还要install呢?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2