安装RPM包时,出现 error: Failed dependencies
提示
[nb@localhost tmp]$ rpm -Uvh tingyun-agent-php-1.0.3.x86_64.rpm
error: Failed dependencies:
ld-linux-x86-64.so.2()(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libc.so.6()(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libc.so.6(GLIBC_2.3.2)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libdl.so.2()(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libgcc_s.so.1()(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libgcc_s.so.1(GCC_3.0)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libgcc_s.so.1(GCC_3.3)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libgcc_s.so.1(GCC_4.2.0)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libm.so.6()(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libpthread.so.0()(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by tingyun-agent-php-1.0.3-1.x86_64
出现此提示的原因是您的操作系统为32位,但您尝试安装64位的RPM包,请更换为32位的RPM包。
安装安装BIN包时,提示 permission denied
error:unpacking of archive failed on file /usr/bin/networkbench: cpio:rename failed - permission denied
一般这种报错跟权限有关,大多是因为防火墙或一些安全类的软件,可以把相关安全软件关闭,再进行安装。
运行networkbench-install.sh时,出现 PHP install path not found, please enter the path.
提示
PHP install path not found, please enter the path.
出现此提示的原因是在系统环境变量里面找不到php的安装路径,需要手工指定PHP的安装路径。
录入PHP所在的文件夹路径,例如: php的位置是/opt/php5/bin/php,就录入/opt/php5/bin。
运行networkbench-install.sh时,出现“The Networkbench agent is not installed.”提示
The Networkbench agent is not installed
PHP环境中缺少探针安装相关的必要信息,导致无法自动安装PHP扩展。
解决方法请参见:手动安装PHP扩展
运行networkbench-install.sh时,PHP版本选择步骤中,没有用户期望的PHP路径。
Below is a list of the directories in which we found a copy of PHP
在系统环境变量里面找不到用户期望的PHP安装路径。 解决方法:将此PHP的安装路径加入到PATH环境变量中,然后重新运行安装脚本。