我把错误贴出来,给大家看看。我在网上找了很多方法都没搞定。第一次弄数据库,就搞这么多问题,纠结。。
$ lsnrctl startLSNRCTL for Linux: Version 10.1.0.3.0 - Production on 04-MAY-2012 16:19:47Copyright (c) 1991, 2004, Oracle.  All rights reserved.Message 1070 not found; No message file for product=network, facility=TNSTNSLSNR for Linux: Version 10.1.0.3.0 - Production
Message 459 not found; No message file for product=network, facility=NL
Message 279 not found; No message file for product=network, facility=NL
Message 509 not found; No message file for product=network, facility=NL
Message 1073 not found; No message file for product=network, facility=TNS
Message 1053 not found; No message file for product=network, facility=TNSMessage 1020 not found; No message file for product=network, facility=TNSMessage 1021 not found; No message file for product=network, facility=TNSMessage 1022 not found; No message file for product=network, facility=TNSMessage 1023 not found; No message file for product=network, facility=TNSMessage 1026 not found; No message file for product=network, facility=TNSMessage 1034 not found; No message file for product=network, facility=TNSMessage 1024 not found; No message file for product=network, facility=TNSMessage 1025 not found; No message file for product=network, facility=TNSMessage 1040 not found; No message file for product=network, facility=TNSMessage 1033 not found; No message file for product=network, facility=TNSMessage 1028 not found; No message file for product=network, facility=TNSMessage 1027 not found; No message file for product=network, facilit.....

解决方案 »

  1.   

    现在发现我的数据库安装目录也不正常了,我估计是环境变量的问题,但是有不知道有什么我问题,
    export $ORACLE_HOME
    -bash: export: `/u01/app/oracle/product/10.2.0/db_1': not a valid identifiervi ~/.bashrc
    # Source global definitions
    if [ -f /etc/bashrc ]; then
            . /etc/bashrc
    fi# User specific aliases and functions
    #umask 022
    export LANG="zh_CN.GBK"
    export DISPLAY=:0.0
    export ORACLE_SID=hxy
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
    export ORACLE_CONFIG=$ORACLE_HOME/network/admin
    export PATH=$PATH:$ORACLE_HOME/bin
    # export LD_LIBRARY_PATH=$ICE_HOME/lib:$LD_LIBRARY_PATH
    # export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/lib/mysql:$ICE_HOME/lib:$LD_LIBRARY_PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/lib/mysql:/home/ecu_install/ecu:$ICE_HOME/lib:$LD_LIBRARY_PATH
    export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK"
      

  2.   

    是不是目录错了?看你的监听版本是10.1.0.3的,ORACLE_HOME又是10.2.0的