我已经在solaris上安好了oracle了。但是不知道为什么。运行svrmgrl时,系统提示:Message 4505 not Found:No message file for product = SVRMGR ,facility =MGRError While trying to retrieve text for error ORA-12571

解决方案 »

  1.   

    下面是一些我的系统配置文件:# vi /etc/system 在最后一行后加入:
    set shmsys:shminfo_shmmax=(0.5*物理内存)*1024*1024的数值
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=100
    set semsys:seminfo_semmni=100
    set semsys:seminfo_semmsl=100
    set semsys:seminfo_semmns=200
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767
    set ulimit=3000000vi /etc/oracle/.profile(.cshrc) 在最后一行加入:#evn for install oracle
    set ORACLE_BASE /data/u01/oracle
    set ORACLE_HOME /data/u01/oracle/product/8.1.7
    set ORACLE_TERM xsun5
    set LD_LIBRARY_PATH $ORACLE_HOME/lib:/usr/openwin/lib:/usr/dt/lib
    set CLASSPATH .:/data/u01/oracle/product/jdbc/lib/classes111.zip:/data/u01/oracl
    e/product/jdbc/lib/nls_charset11.zip:/export/home/oracle/trade_prog
    set PATH .:/export/home/oracle/trade_prog:/bin:/usr/openwin/bin:/usr/bin:/usr/uc
    b:/usr/local/bin:/data/u01/oracle/product/bin
    set NLS_LANG AMERICAN_AMERICA.ZHS16CGB231280
    #set NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
    set ORACLE_SID orcl
    set DISPLAY 192.168.0.190:0.0
    各位还想知道点什么文件啊??
     
      

  2.   

    1.必须以oracle用户登录
    2.确信你的oracle环境变量没有问题(用env命令看一下)
      

  3.   

    忘了说了。呵呵 。我装的是8.1.7版本的。我是以oracle用户登录。环境变量好像没有报错啊。
      

  4.   

    把你的.profile里面ORACLE_HOME=改为你的安装的路径,也就是开始选择的时候是/ORACLE就是ORACLE_HOME=/ORACLE
      

  5.   

    AB_CARDCATALOG=/usr/dt/share/answerbooks/zh.GBK/ab_cardcatalog
    DISPLAY=:0.0
    DTAPPSEARCHPATH=/export/home/oracle4/.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
    DTDATABASESEARCHPATH=/export/home/oracle4/.dt/types,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
    DTDEVROOT=
    DTHELPSEARCHPATH=/export/home/oracle4/.dt/help/oracle4-gdnt-0/%H:/export/home/oracle4/.dt/help/oracle4-gdnt-0/%H.sdl:/export/home/oracle4/.dt/help/oracle4-gdnt-0/%H.hv:/export/home/oracle4/.dt/help/%H:/export/home/oracle4/.dt/help/%H.sdl:/export/home/oracle4/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
    DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
    DTSOURCEPROFILE=true
    DTUSERSESSION=oracle4-gdnt-0
    DTXSERVERLOCATION=local
    EDITOR=/usr/dt/bin/dtpad
    HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
    HOME=/export/home/oracle4
    LANG=zh.GBK
    LOGNAME=oracle4
    MAIL=/var/mail/oracle4
    MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man
    OPENWINHOME=/usr/openwin
    PATH=/usr/bin::/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb
    PWD=/export/home/oracle4
    SESSION_SVR=gdnt
    SHELL=/bin/sh
    TERM=dtterm
    TERMINAL_EMULATOR=dtterm
    TZ=PRC
    USER=oracle4
    WINDOWID=11010059
    XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
    XMBINDDIR=/usr/dt/lib/bindings
    XMICONBMSEARCHPATH=/export/home/oracle4/.dt/icons/%B%M.bm:/export/home/oracle4/.dt/icons/%B%M.pm:/export/home/oracle4/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
    XMICONSEARCHPATH=/export/home/oracle4/.dt/icons/%B%M.pm:/export/home/oracle4/.dt/icons/%B%M.bm:/export/home/oracle4/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
    _=/usr/dt/bin/sdt_shell
    dtstart_sessionlogfile=/dev/null
    这是我的环境变量。各位看一下是不是有问题??
      

  6.   

    怎么没有看到ORACLE_HOME、NLS_LANG ?
      

  7.   

    我倒是想问一下。set ORACLE_TERM xsun5 这个设置是不是有点问题啊。因为我用的是intel的机器。应该怎么设呢??