AIX 5.3 中非root用户用bash报错问题及bash升级与老版本冲突问题处理方法
2016-03-17 08:47
726 查看
在AIX 5.3中切换到非root用户的时候,发生如下报错,处理方法如下,安装rpm包的时候,提示与老版冲突,rpm –help 了下,用-U升级模式就解决了
bash-3.00# su - oracle Could not load program bash: Could not load module /opt/freeware/lib/libintl.a(libintl.so.1). Dependent module /usr/lib/libiconv.a(shr4.o) could not be loaded. Could not load module /usr/lib/libiconv.a(shr4.o). System error: Permission denied Could not load module bash. Dependent module /opt/freeware/lib/libintl.a(libintl.so.1) could not be loaded. Could not load module . -bash-3.00# ls -l /usr/lib/libiconv.a lrwxrwxrwx 1 root system 25 Mar 10 09:20 /usr/lib/libiconv.a -> /usr/linux/lib/libiconv.a -bash-3.00# mv /usr/lib/libiconv.a /usr/lib/libiconv.a.bak -bash-3.00# cd /usr/lib/ -bash-3.00# ln -s /opt/freeware/lib/libiconv.a libiconv.a -bash-3.00# rpm -ivh bash-4.2-3.aix5.3.ppc.rpm file /opt/freeware/bin/bash from install of bash-4.2-3 conflicts with file from package bash-3.0-1 file /bin/bash from install of bash-4.2-3 conflicts with file from package bash-3.0-1 file /opt/freeware/bin/bashbug from install of bash-4.2-3 conflicts with file from package bash-3.0-1 #解决方法,升级老包 -bash-3.00# rpm -Uvh --oldpackage bash-4.2-3.aix5.3.ppc.rpm
相关文章推荐
- webshell下执行命令脚本汇集
- Shell - 5
- 最近用到的shell命令总结
- 用shell脚本创建用户
- 在Python中调用shell命令及 获取python命令中的参数
- 打印九九乘法表
- shell中记录运行时间的一种方法
- shell中等待其他程序执行完毕
- shell中的时间变量
- shell中调用sqlplus
- shell读取文件
- shell中字符串操作函数
- Linux shell 常用快捷键
- shell 命令
- bash shell 编程练习一
- shell脚本
- shell_wc(统计数目)、head(查看前几行)、tail(查看末尾几行)
- Three Steps to Migrate Group Policy Between Active Directory Domains or Forests Using PowerShell
- shell学习
- How to Set JAVA_HOME / PATH variables Under Linux Bash Profile