abbend 发表于 2013-01-05 10:07

solaris登录怎么好像自动转成sql登录了?

telnet用root登录提示

Sun Microsystems Inc.   SunOS 5.8       Generic Patch   February 2004

Export: Release 8.1.7.3.0 - Production on Sat Jan 5 09:13:12 2013

(c) Copyright 2000 Oracle Corporation.All rights reserved.


Username:
Password:

EXP-00056: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon denied
Username:
Password:

EXP-00056: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon denied
Username:
Password:

EXP-00056: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon denied
EXP-00005: all allowable logon attempts failed
EXP-00000: Export terminated unsuccessfully
-sh: ort: not found
#
一路回车,之后才能进入系统

# su - oracle
也是同样的提示

高人帮助看看啊,这样登录也太麻烦了

abbend 发表于 2013-01-05 10:08

本帖最后由 abbend 于 2013-01-05 13:55 编辑

补充:

oracle用户的.profile

# more .profile
#
# Initial EIS settings for user root
# This file is set up by the setup-standard script.
#
# In the unlikely event that the EIS profile settings are not
# required, comment out the few lines below.
#
# Version 17JAN03
#

#
#       Source the EIS settings if present
#
#if [ -f $HOME/.profile-EIS ]
#then
#    echo "Sourcing $HOME/.profile-EIS....."
#    . $HOME/.profile-EIS
#fi

#
#       Uncomment next section for cluster node or E10k / Sun Fire domain
#
#LOGINFROM=`who am i | cut -f2 -d"(" | cut -f1 -d")"`
#DISPLAY=${LOGINFROM}:0.0
#export LOGINFROM DISPLAY
#
#echo ""
#echo "DISPLAY=$DISPLAY"
#echo ""

umask 022
ORACLE_OWNER=oracle;export ORACLE_OWNER
ORACLE_BASE=/opt/oracle/db01/app/oracle;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/8.1.7;export ORACLE_HOME
ORACLE_TERM=ansi;export ORACLE_TERM
ORACLE_SID=inms;export ORACLE_SID

WACOS_HOME=/opt/wacos;export WACOS_HOME
NMS_HOME=/opt/wacos/server/nms;export NMS_HOME

ulimit -n 1024

PATH=.:/bin:/sbin:/usr/bin:/usr/sbin:/etc:/usr/ccs/bin:/usr/ucb:/usr/local/bin:$ORACLE_HOME/bin:/opt/bin:/opt/SUNWspro/bin:$PATH;exp
ort PATH

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH

MANPATH=/usr/man:/usr/dt/man:/usr/share/man:/usr/local/man:/opt/SUNWspro/man:$MANPATH;export MANPATH

TERM=vt100
HISTSIZE=200;export HISTSIZE
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1;export NLS_LANG

if [ -s "$MAIL" ]         # This is at Shell startup.In normal
then echo "$MAILMSG"      # operation, the Shell checks
fi                        # periodically.

abbend 发表于 2013-01-05 15:10

问题解决了,原因是.profile文件中

ORACLE_HOME/bin:/opt/bin:/opt/SUNWspro/binPATH;exp
ort PATH
断行了,被人编辑成了两行

东方蜘蛛 发表于 2013-01-05 17:46

这。。。。。:-L:-L:-L

xuhainanjing 发表于 2013-01-22 19:31

扫了一眼,就觉得有点不对经,没想到真是断行错误,我还以为贴文本贴错了。。。:$
页: [1]
查看完整版本: solaris登录怎么好像自动转成sql登录了?