转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 数据库 >> MySql >> 正文
all installing oracle9i documents under linux platform         ★★★★

all installing oracle9i documents under linux platform

作者:闵涛 文章来源:闵涛的学习笔记 点击数:7004 更新时间:2009/4/22 20:45:34
t you might not have compilers and other development packages installed. Therefore make sure you have temporarily the following packages installed: gcc, cpp, glibc-devel, compat-libstdc++, kernel-headers (for RH 7.1, 7.2, 2.1AS), glibc-kernheaders (for RH 7.3, 8.0, 9.0), binutils. See also Development Packages for more information.  
  
If for any reason the Oracle9i installation didn''''t finish successfully, you might want to clean up the following files and directories before you start over again: /etc/oraInst.loc /etc/oratab /tmp/<OtherOracleOwnedFiles> $ORACLE_BASE/*  
Other Problems:  
You might want to check out the Oracle on Linux Discussion Forum.  
  
Oracle Installation Errors  
  
Here is a list of Oracle 9i (9.0.1 & 9.2.0) installation problems and issues. Some issues, errors, problems, and solutions apply only to 9.0.1 and some only to 9.2.0. Since I did not experience all of the problems here, I am not able to verify the correctness of all the solutions. However, I experienced almost all of the problems listed here. If you have other problems and you were able to resolve them, then please drop me an email at webmaster_at_puschitz.com so that I can add it to the list here.  
  
Here is a list of issues issues, errors, problems and solutions:  
Log Files  
First check always the error logs for 9.2.0 in /tmp/OraInstall (e.g /tmp/OraInstall2002-07-04_09-50-19PM), and for 9.0.1 in /tmp/OraInstall. When you get make problems, check also the file $ORACLE_HOME/install/make.log.
  
"Various make Problems"  
Make sure that gcc is installed on your system:  
$ which gcc
/usr/bin/gcc
  
Here is the command to find the RPM package name for /usr/bin/gcc:  
$ rpm -qf /usr/bin/gcc
gcc-2.96-98
  
Check also the other error messages below. See also Development Packages for more information.  
  
"Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk"  
I saw this error only when I installed Oracle9iR2 (9.2.0). This was also the only problem I experienced with Oracle 9i R2 on Red Hat 8.0. However, this does not necessarily mean that you won''''t experience other problems described here.  
  
When I had this problem, the following errors showed up in $ORACLE_HOME/install/make.log:  
   /lib/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE''''
   /lib/libdl.so.2: undefined reference to `_dl_open@GLIBC_PRIVATE''''
   /lib/libdl.so.2: undefined reference to `_dl_close@GLIBC_PRIVATE''''
   /lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE''''
   /lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE''''
  
This error comes up when the following step is executed:  
   /usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/opt/oracle/product/9.2.0
  
Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk, go to "INSO_LINK =", and add a "$(LDLIBFLAG)dl" to the line and save it.  
  
Here is the full line with the added "$(LDLIBFLAG)dl" flag:  
  
INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS)  
  
After that hit retry in the error popup.  
  
If this didn''''t work, then try the following:
  
Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk again, go to "INSO_LINK =", remove the above entry you made and add a "`cat $(LIBHOME)/sysliblist`" to the line and save it.  
  
Here is the full line with the added "`cat $(LIBHOME)/sysliblist`" string:  
  
INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m `cat $(LIBHOME)/sysliblist` $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS)  
  
After that hit retry in the error popup.  
  
ORA-27123: unable to attach to shared memory segment.
  
I saw this error only when I installed Oracle 9i R2 (9.2.0).  
  
This error message came up when the Oracle Database Configuration Assistant was running. I executed the following command to temporarily increase the maximum shared memory size:  
su - root
# cat /proc/sys/kernel/shmmax
33554432
# echo `expr 1024 \* 1024 \* 1024` > /proc/sys/kernel/shmmax
# cat /proc/sys/kernel/shmmax
1073741824
#
Then click "Retry" for the Oracle Database Configuration Assistant.
  
It is recommended to increase the shmmax setting permanently for Oracle9i. So if you want to increase the maximum shared memory size permanently, add the following line to the /etc/sysctl.conf file:
  
kernel.shmmax=1073741824
For more information on setting shared memory parameters for Oracle, see Setting Shared Memory.  
  
ORA-03113: end-of-file on communication channel  
I saw this error when I''''ve run the "Database Configuration Assistant" and "sqlplus". When the "Database Configuration Assistant" gave me this error during Oracle9iR2 (9.2.0) installation on Red Hat 2.1 AS, I simply removed the shared memory segments owned by the Oracle user and I restarted the "Database Configuration Assistant". I''''m not sure if this is the right way but it always worked for me. Here is what I did to get the "Database Configuration Assistant" running again:
  
Database Configuration Assistant:
  
I executed the ipcs command to get the address of the shared memory segments that have been allocated by Oracle:  
$ su - root
# ipcs
  
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00000000 0          root      600        196608     2
0x00000001 32769      root      600        655360     2
0x00000000 458755     oracle    660        4194304    0
0x00000000 491524     oracle    660        33554432   0
0x00000000 524293     oracle    660        33554432   0
0x00000000 557062     oracle    660        33554432   0
0x00000000 589831     oracle    660        33554432   0
0x00000000 622600     oracle    660        33554432   0
0x00000000 655369     oracle    660        33554432   0
0x00000000 688138     oracle    660        33554432   0
0x3ecee0b0 720907     oracle    660        4194304    0
  
------ Semaphore Arrays --------
key        semid      owner      perms      nsems      status
  
------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages
  
#
Then I removed all shared memory segments that were owned by the Oracle user during the installation with the following command:  
# ipcrm shm 458755 491524 524293 557062 589831 622600 655369 688138 720907
After that I restarted the "Database Configuration Assistant". Once the installation was done I immediately restarted the DB as well.
Caveat: I''''m not sure if this procedure can cause any further problems if this is done during the installation. But so far I haven''''t seen any issues with this approach.
  
sqlplus:
  
If you get this problem in connection with sqlplus, then simply make sure that the database is down and exit sqlplus. After that, follow the procedure above by removing all shared memory segments that belong to the Oracle user. To my knowledge, this should not cause any problems.  
  
For more information on shared memory segments, see Determining Which Semaphore Sets and Shared Memory Segments Belong to Each Oracle Database or Instance.  
  
NOTE:
To solve this problem permanently, increase the kernel shmmax size. For more information, see Setting Shared

上一页  [1] [2] [3] [4] [5] [6] [7]  下一页


[网页制作]Document 和 Document.all 分别什么时候用  [网页制作]document.all与WEB标准
[Web开发]document.all还是document.getElementsByName  [Web开发]document.all与WEB标准
[SyBase]在 Red Hat Linux 9 上安装 Oracle9i Database  [ORACLE]Oracle9i 資料庫管理實務講座(一)
[ORACLE]ORACLE9i 的透明网关的配置  [ORACLE]Oracle9i OCM认证实践课考试的一些说明
[ORACLE]Installing Oracle 9iR2 on RHEL AS 3 Step-by-St…  [ORACLE]Installing Oracle 10g on RHEL AS 3 Step-by-Ste…
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Sql Server  · MySql
    · Access  · ORACLE
    · SyBase  · 其他
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台