sqlplus $SDFDB
ld.so.1: sqlplus: fatal: /home/oracle/product/10.2.0/db_1/lib32/libsqlplus.so: wrong ELF class: ELFCLASS32
Killed
测试帐户下变量:
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
MAIL=/usr/mail/${LOGNAME:?}
ORACLE_HOSTNAME=bbs.chinaunix.net
ORACLE_BASE=/home/oracle
ORACLE_HOME=/home/oracle/product/10.2.0/db_1
ORACLE_SID=SDPDB
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
SDFDB=spgw/spgw@SDPDB
export ORACLE_HOSTNAME ORACLE_BASE ORACLE_HOME ORACLE_SID NLS_LANG SDFDB
CINDIR=$HOME/cin
PATH=$PATH:${ORACLE_HOME}/bin:$CINDIR/bin:.
LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/ucb/:/usr/local/lib:/usr/sfw/lib:.
PS1="`/usr/ucb/whoami`@`hostname` $ "
export PS1 CINDIR LD_LIBRARY_PATH PATH
oracle帐户下变量:
MAIL=/usr/mail/${LOGNAME:?}
stty istrip
PATH=/disk1/software/ss11/opt/SUNWspro/bin:/usr/ccs/bin:/usr/jdk/instances/jdk1.5.0/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb:/et
c:/usr/openwin/bin:/usr/sfw/bin:/opt/SUNWappserver/appserver/bin:.
export PATH
DISPLAY=129.158.167.67:0.0
JAVA_HOME=/usr/jdk/instances/jdk1.5.0
ORACLE_HOSTNAME=bbs.chinaunix.net
ORACLE_BASE=/home/oracle
ORACLE_HOME=/home/oracle/product/10.2.0/db_1
ORACLE_SID=SDPDB
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
TEMP=/var/tmp
TMPDIR=/var/tmp
export DISPLAY JAVA_HOME ORACLE_HOSTNAME ORACLE_BASE ORACLE_HOME ORACLE_SID NLS_LANG TEMP TMPDIR
2 个解决方案
#1
晕 帖子都要沉了
#2
请帮个忙啊 有人见过类似错误吗
#1
晕 帖子都要沉了
#2
请帮个忙啊 有人见过类似错误吗