Linux 64位安裝Oracle 10g時e2eme報錯的解決方案是本文我們主要要介紹的內容,錯誤的詳細的日志文件如下:
- INFO: reference to `ldxnbeg’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2i.o)(.text+0×231): In function `lxecg2i’:
- : undefined reference to `ldxdtd’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2i.o)(.text+0×314): In function `lxecg2i’:
- : undefined reference to `ldxnbeg’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2i.o)(.text+0×340): In function `lxecg2i’:
- : undefined reference to `ldxdfd’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2l.o)(.text+0x13f): In function `lxecg2l’:
- : undefine
- INFO: d reference to `ldxnbeg’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2l.o)(.text+0x16f): In function `lxecg2l’:
- : undefined reference to `ldxdtd’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2l.o)(.text+0x48b): In function `lxecg2l’:
- : undefined reference to `ldxnbeg’
- /app/Oracle/product/10/db_1/lib32//libnls10.a(lxecg2l.o)(.text+0x4b7): In function `lxecg2l’:
- : undefined reference to `ldxdfd’
- /app/Oracle/product/10/db_1/lib32//libunls10.a(lxu4tstc.o)(.text+0x8b4): In function `lxu4TstClsXMLPub
- INFO: idChar0′:
- : undefined reference to `lxpTstClsXMLPubidCharTbl’
- /app/Oracle/product/10/db_1/lib32//libunls10.a(lxu4dec.o)(.text+0x18b): In function `lxu4Decomposition’:
- : undefined reference to `lxujmd’
- collect2: ld returned 1 exit status
- make[1]: *** [/app/Oracle/product/10/db_1/sysman/lib/e2eme] Error 1
- make: *** [e2eme] Error 2
- INFO: End output from spawned process.
- INFO: ———————————-
- INFO: Exception thrown from action: make
- Exception Name: MakefileException
- Exception String: Error in invoking target ‘agent nmo nmb’ of makefile ‘/app/Oracle/product/10/db_1/sysman/lib/ins_sysman.mk’.
- See ‘/app/Oracle/oraInventory/logs/installActions2011-07-08_09-25-48PM.log’ for details.
解決方法:
1.檢查需要的包有沒有完全安裝。
- rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common \
- gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif21
2.檢查內核參數有沒有添加,有沒有錯誤。
查看或者編輯 /etc/sysctl.conf文件
- kernel.shmall = 2097152
- kernel.shmmax = 2147483648
- kernel.shmmni = 4096
- kernel.sem = 250 32000 100 128
- fs.file-max = 65536
- net.ipv4.ip_local_port_range = 1024 65000
- net.core.rmem_default=262144
- net.core.rmem_max=262144
- net.core.wmem_default=262144
- net.core.wmem_max=262144
運行如下命令,是內核參數生效。
/sbin/sysctl -p
3.查看SElinux的配置,SELinux需要處於disabled狀態
查看或者編輯/etc/seLinux/config文件,確認存在如下內容
SELinux=disabled
4.檢查安裝Oracle軟件用戶的環境變量
以Oracle用戶的身邊登錄系統,查看或者編輯~/.bash_profile文件,需要文件內容如下:
- TMP=/tmp; export TMP
- TMPDIR=$TMP; export TMPDIR
- Oracle_BASE=/app/oracle; export Oracle_BASE
- Oracle_HOME=$ORACLE_BASE/product/10/db_1; export Oracle_HOME
- Oracle_SID=RAC1; export Oracle_SID
- Oracle_TERM=xterm; export Oracle_TERM
- PATH=/usr/sbin:$PATH; export PATH
- PATH=$Oracle_HOME/bin:$PATH; export PATH
- LD_LIBRARY_PATH=$Oracle_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
- CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$Oracle_HOME/rdbms/jlib; export CLASSPATH
- if [ $USER = "Oracle" ]; then
- if [ $SHELL = "/bin/ksh" ]; then
- ulimit -p 16384
- ulimit -n 65536
- else
- ulimit -u 16384 -n 65536
- fi
- fi
關於Linux 64位安裝Oracle 10g時e2eme報錯的解決方案就介紹到這裡了,希望本次的介紹能夠對您有所幫助。