由於p3006854_9204_linux.zip在Linux 5.5安裝導致的錯誤解決辦法

wuweilong發表於2011-11-10
我登入該系統的時候發生如下錯誤,包擴執行任何命令都會報錯:
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 ~]#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20674423/viewspace-710752/,如需轉載,請註明出處,否則將追究法律責任。

相關文章