首页 > 代码库 > centos7下安装nmon后,无法运行,提示 cannot execute binary file或/lib64/ld64.so.1不存在
centos7下安装nmon后,无法运行,提示 cannot execute binary file或/lib64/ld64.so.1不存在
在centos 7.1上安装nmon后,从管网(http://nmon.sourceforge.net/pmwiki.php?n=Site.Download)下载tar包解压后,两台机器一台提示 cannot execute binary file,另一台提示/lib64/ld64.so.1不存在
找了好久都没找到解决方法,换rpm安装方式解决
rpm 下载地址
http://rpm.pbone.net/index.php3/stat/4/idpl/29435642/dir/redhat_el_7/com/nmon-14g-1.el7.rf.x86_64.rpm.html
下载完成后,直接rpm -ivh 安装
再次运行nmon,可能会提示-bash: /usr/local/bin/nmon: No such file or directory
那是因为nmon默认安装在/usr/bin中,将目录加入环境变量
vi /etc/profileexport PATH=$PATH:$M2_HOME/bin:/usr/bin
source /etc/profile
再次运行nmon,成功。。
centos7下安装nmon后,无法运行,提示 cannot execute binary file或/lib64/ld64.so.1不存在
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。