由于p3006854_9204_linux.zip在Linux 5.5安装导致的错误解决办法
我登录该系统的时候发生如下错误,,包扩执行任何命令都会报错:
Last login: Thu Nov 10 08:32:12 2011 from 134.224.55.126
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
[root@oss-ora ~]# ls
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
anaconda-ks.cfg Desktop install.log install.log.syslog
[root@oss-ora /]# ls -rtl
ERROR: ld.so: object '/etc/libcwait.so' from /etc/ld.so.preload cannot be preloaded: ignored.
total 178
drwxr-xr-x 2 root root 4096 Oct 1 2009 srv
drwxr-xr-x 2 root root 4096 Oct 1 2009 mnt
drwxr-xr-x 2 root root 4096 Oct 1 2009 media
drwxrwx--- 2 500 501 4096 Oct 1 2009 home
drwxr-xr-x 11 root root 4096 Nov 8 18:09 lib
drwxr-xr-x 2 root root 12288 Nov 8 18:10 sbin
drwxr-xr-x 2 root root 4096 Nov 8 18:10 bin
drwx------ 2 root root 16384 Nov 9 00:36 lost+found
drwxr-xr-x 2 root root 4096 Nov 9 00:40 selinux
drwxr-xr-x 4 root root 1024 Nov 9 00:44 boot
drwxr-xr-x 3 root root 4096 Nov 9 00:49 tftpboot
drwxr-xr-x 25 root root 4096 Nov 9 00:53 var
drwxr-xr-x 16 root root 4096 Nov 9 14:10 usr
drwxr-xr-x 2 root root 4096 Nov 9 14:31 Oracle
drwxr-xr-x 4 root root 4096 Nov 9 17:14 opt
drwxr-xr-x 7 root root 12288 Nov 10 04:02 lib64
dr-xr-xr-x 444 root root 0 Nov 10 08:16 proc
drwxr-xr-x 11 root root 0 Nov 10 08:16 sys
drwxr-xr-x 2 root root 0 Nov 10 08:17 misc
drwxr-xr-x 2 root root 0 Nov 10 08:17 net
drwxr-xr-x 12 root root 3800 Nov 10 08:18 dev
drwxr-xr-x 106 root root 12288 Nov 10 08:51 etc
drwxr-x--- 18 root root 4096 Nov 10 08:54 root
drwxr-xr-x 11 root root 4096 Nov 10 10:13 tmp
经回忆是由于昨天打了p3006854_9204_linux.zip这个补丁后出现的问题,后经查阅文档p3006854_9204_linux.zip补丁并不支持RedHat 5 所以就取消了在redhat 5上安装9i的计划。
但如上的错误信息是由于预加载库文件的时候出错.可能跟你的某些OBJECTS过高有关,另外,操作系统的内核过高也可能有问题.
所以我通过如下步骤来进行解决。
[root@oss-ora /]# echo "" > /etc/ld.so.preload
[root@oss-ora /]# rm /etc/ld.so.preload
rm: remove regular file `/etc/ld.so.preload'? y
如下再执行ls命令,没有问题。
[root@oss-ora /]# ls
bin dev home lib64 media mnt opt proc sbin srv tftpboot usr
boot etc lib lost+found misc net oracle root selinux sys tmp var
[root@oss-ora /]#
重新登录后再次执行ls等命令,没有问题,故障解决
Last login: Thu Nov 10 14:51:25 2011 from 134.224.55.126
[root@oss-ora ~]# pwd
/root
[root@oss-ora ~]# ls -rtl
total 96
drwxr-xr-x 2 root root 4096 Nov 8 17:05 Desktop
-rw-r--r-- 1 root root 5152 Nov 9 00:55 install.log.syslog
-rw-r--r-- 1 root root 58431 Nov 9 00:55 install.log
-rw------- 1 root root 1947 Nov 9 00:56 anaconda-ks.cfg
[root@oss-ora ~]#