wangyueyong1 发表于 2014-5-7 18:25:05

linux 下loadrunner generator 启动失败

装了3台linux负载机,刚安装时都是好的,服务也能启动,也能用,现在2台出现同样的报错,一台出现另外的错误
系统是centos
# ./m_agent_daemon -install
./m_agent_daemon: error while loading shared libraries: libdriver.so: cannot open shared object file: No such file or directory

# ./m_agent_daemon -install
Error: Must have -usr option.       

wangyueyong1 发表于 2014-5-8 15:55:56

./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:34

之后出现了这个错误
# ./m_agent_daemon -install
Error: Must have -usr option.      

wangyueyong1 发表于 2014-5-8 15:59:14

以为是用户访问权限不够,进入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:03

有使用linux的load人runner generater的大神帮忙下

gaha 发表于 2014-5-8 16:20:31

export LD_LIRBRARY_PATH=你LR的BIN目录:你LR的LIB目录

wangyueyong1 发表于 2014-5-9 14:19:12

加过了,没有用啊

murphy_Ma 发表于 2014-5-9 15:05:31

有可能是c++库找不到了,建议再下载一个c++库

murphy_Ma 发表于 2014-5-9 15:08:20

前段时间刚安装了一下linux下的loadrunner genarater。
参考步骤如下:
http://blog.csdn.net/murphy_ma123456/article/details/25196559
包含了我自己遇到的一些常规问题解决。。看能不能帮上忙

wangyueyong1 发表于 2014-5-12 10:50:01

$ ./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
   
$ ./m_agent_daemon -install
Error: Must have -usr option.

wangyueyong1 发表于 2014-5-12 10:50:57

安装验证是通过的。。。就是不能运行

murphy_Ma 发表于 2014-5-13 09:17:34

./m_daemon_setup start 就好了,为什么还要install呢?
页: [1]
查看完整版本: linux 下loadrunner generator 启动失败