vision用户的环境变量设置了吗?.profile和oracle用户的参考以下

解决方案 »

  1.   

    不好意思,俺是个初学者 .profile在哪里看
      

  2.   

    只找到一个vision的.profile,oracle的找不到vision的.profile内容如下
    ---------------------------------------------------------------------------------
    if [ -f /etc/ksh.profile ];then
    . /etc/ksh.profile
    fiexport HOST PORT PATH
    HOST=`uname -n`
    #OS=`$ROOT/com/query_arch`
    PATH="~/bin:$PATH"
    if [ "$MANPATH" != "" ]; then
    MANPATH="/usr/man:"
    fi
    MANPATH="${MANPATH}:/usr/openwin/share/man:"if [ ! "$DT" ]; then
    PORT=`tty`
    unset suntools
    if [ "$PORT" = /dev/console -o `echo $PORT | sed 's/hft.*/hft/'` = /dev/hft ]; then
    #
    # The following lines can be uncommented if you do not want
    # Xwindows started automatically at login time on Sun's
    #
    #if [ -f /usr/bin/suntools ]; then
    # echo -n 'Which window manager (x, suntools, none)? '
    #else
    # echo -n 'Which window manager (x, none)? '
    #fi
    #read winman
    winman=x # remove this line if above is uncommented
    export winman
    case "$winman" in
    x*)
    case "$OS" in
    AIX)
    file /usr/bin/X11/xinit | grep executable >/dev/null 2>&1
    if [ $? = 0 ]; then
    open xinit -- -bs # X11R5 version of xinit
    else
    open xinit -bs # X11R4 version of xinit
    fi
    ;;
    Sun4 | Sol)
    exec openwin
    ;;
    OSF1 | mips)
    echo "unsupported: configure xdm to run on /dev/console"
    ;;
    HPUX)
    echo "don't know how yet -- its either xinit or not needed"
    ;;
    *)
    echo "unknown OS: $OS, Xwindows not invoked"
    ;;
    esac
    ;;
    s*)
    suntools=1
    ;;
    *)
    echo 'No window manager invoked'
    ;;
    esac
    fi
    fi##################################################
    #   Local customizations go here (and only here) #
    ##################################################export TERM
    if [ "$TERM" = "" -o "$TERM" = network -o "$TERM" = xterm -o "$TERM" = xterms ]; then
    TERM=vt100
    fi###############################
    #   End local customizations. #
    ###############################if [ -f ./.kshrc ];then
    . ./.kshrc
    fiif [ ! "$DT" ]; then
    #
    # Workaround:
    #   AIX 3.2's and Solaris 5.3's version of xterm has a problem leaving
    # the tty in a usable state, setting the tty to sane seems to fix it.
    #
    if [ "$OS" = AIX -o "$OS" = Sol ]; then
    stty sane
    fi #
    # Configure tty driver to pass all 8 bits of characters
    # received from keyboard.
    #
    stty cs8 -istrip
    fi
    if [ ! "$DT" ]; then
    #
    # If XUSERFILESEARCHPATH isn't set as would be the case of rlogin's Then
    # set it.
    #
    if [ "$XUSERFILESEARCHPATH" != "" ]; then
    export XUSERFILESEARCHPATH
    XUSERFILESEARCHPATH=$ROOT/gui/%L/app-defaults/%N:$ROOT/gui/app-defaults/%N
    fi
    echo "Hello $USER... you are on $HOST via $PORT (term=$TERM)" if [ "$suntools" != "" ]; then
    exec suntools
    fi
    fi. /opt/vision/vis6100/env/ksh.vision
      

  3.   

    在执行svrmgrl前,先在OS下执行 ORACLE_SID=nvision 试试。
      

  4.   

    oracle的在该用户的$HOME下

      

  5.   

    非常感谢,查了说明书总算解决了,是一个叫TWO_TASK的环境变量设置错误造成的,但是新问题又来了由于使用ORACLE的dbassist工具生成的INSTANCE所以没有改sys的密码以至于密码还是change_on_install,对autodesk gis design server来说太长了,如何能够改变它
      

  6.   

    以system/manager登陆
    alter user sys identified by **
    就可以了!