Ubuntu 13.10 安装 Oracle11gR2
#step 1:
groupadd -g 2000 dba
useradd -g 2000 -m -s /bin/bash -u 2000 grid
useradd -g 2000 -m -s /bin/bash -u 2005 oracle
mkdir -p /u01/app/grid
mkdir -p /u01/app/oracle
chown grid:dba /u01/app/grid
chown oracle:dba /u01/app/oracle
chown root:dba /u01
chown root:dba /u01/app
chmod g+rwx /u01
chmod g+rwx /u01/app
#step 2:
apt-get install binutils
apt-get install build-essential
apt-get install sysstat
apt-get install libaio1 libaio-dev
#apt-get install rpm
#apt-get install libcap2
#apt-get install ssh
# must install libstdc++5 , gcc-4.4, by mannual !!!!!!!
dpkg -i libstdc++5_3.3.6-25ubuntu4_i386.deb
dpkg -i gcc-4.4-base_4.4.7-2ubuntu2_i386.deb
dpkg -i cpp-4.4_4.4.7-2ubuntu2_i386.deb
dpkg -i gcc-4.4_4.4.7-2ubuntu2_i386.deb
dpkg -i pdksh_5.2.14-26ubuntu1_i386.deb
#step 3:
ln -sf /bin/bash /bin/sh
ln -sf /usr/bin/basename /bin/basename
ln -sf /usr/bin/awk /bin/awk
ln -sf /usr/bin/env /bin/env
ln -sf /usr/bin/rpm /bin/rpm
ln -sf /usr/bin/gcc-4.4 /usr/bin/gcc
ln -s /usr/lib/i386-linux-gnu/libstdc++.so.5 /usr/lib/libstdc++.so.5
ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6 /usr/lib/libstdc++.so.6
ln -s /usr/lib/i386-linux-gnu/libc_nonshared.a /usr/lib/libc_nonshared.a
ln -s /usr/lib/i386-linux-gnu/libpthread_nonshared.a /usr/lib/libpthread_nonshared.a
ln -s /lib/i386-linux-gnu/libgcc_s.so.1 /lib/libgcc_s.so.1
ln -s /lib/i386-linux-gnu/libcap.so.2 /lib/libcap.so.1
#step 99 : the last-step; when run then root.sh
# this step is not important
cat /etc/lsb-release >>/tmp/.linux_release
chmod a+rw /tmp/.linux_release
# important !!!!!!!
dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
chmod a+rw /var/tmp/.oracle/npohasd
#########################################################################################
INFO: /usr/bin/ld: warning: -z lazyload ignored.
/usr/bin/ld: warning: -z nolazyload ignored.
/usr/bin/ld: /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib//libnmectl.a(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so so try adding it to the linker command line
/u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so: could not read symbols: Invalid operation
collect2: ld returned 1 exi
INFO: t status
make[1]: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1
make: *** [emdctl] Error 2
INFO: make[1]: Leaving directory `/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib'
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2013-07-03_04-45-12PM.log' for details.
Exception Severity: 1
#########################################################################################
在Ubuntu下面会出现很多mk错误,
这个类似问题我遇到过:
vim 打开/opt/oracle/server/sysman/lib/env_emagent.mk 在文件中加入一行:EXPDLIBS=-lnnz11
#########################################################################################
Once the file exists, do:
vi $ORACLE_HOME/sysman/lib/ins_emagent.mk
Search for the line
$(MK_EMAGENT_NMECTL)
Change it to:
$(MK_EMAGENT_NMECTL) -lnnz11 # good !!!!!!!!!!!!!!!!!!!!!! 第 176 行 !!!
Ubuntu 13.10 安装 Oracle11gR2的更多相关文章
- Ubuntu 13.10 安装 ia32-lib
Ubuntu 13.10下面不参直接安装ia32-libs,直接安装的时候会提示下面的信息: output$ sudo apt-get install ia32-libs Reading packag ...
- Ubuntu 13.10 安装Qt5
Qt5在Ubuntu的软件中心是找不到的,只能从Qt的官网下载安装. http://qt-project.org/downloads,选择完整的Linux版本(qt-linux-opensource- ...
- Ubuntu 13.10 安装 Unity 8 试用截图
关于 Unity 8 有很多报道,Unity 8 相对于 Unity 7 变化相当大,这是 Ubuntu 团队打造的一款通用于 PC.手机.平板的桌面. Unity 8 已经登陆 ubuntu 13. ...
- [原] ubuntu 13.10 安装 winqq2013
安装及下载地址:http://www.longene.org/forum/viewtopic.php?t=4700 ubuntu 13.10 64位系统安装后无法启动qq,因为缺少程序包.解决方案: ...
- 在 Ubuntu 13.10 安装 PyCharm 3.0.1 & Oracle JDK
由于授权问题,在较新的Linux发行版本中都不再包含Oracle Java,取而代之的是OpenJDK.Ubuntu也是如此. OpenJDK能满足大部分的应用程序运行条件,但PyCharm无法在Op ...
- Ubuntu 13.10 安装 TeX Live 2013
注:笔者也是刚刚接触TeX系统,水平有限,若有疏漏之处还望指正. 中文解决方案 对于LaTeX中文排版,比较方便有这样的几种解决方案:LaTeX+CJK / LaTeX+XeTeX / CTeX.其中 ...
- Ubuntu 13.10 安装Terminalx 后更改默认终端设置
1.安装 terminalx, sudo apt-get install terminator 2.Ctrl+ Alt + t 试一下打开什么终端,我的默认启动的是Terminator;如果想换换默认 ...
- Ubuntu 13.10 安装软件失败后出现的问题——已安装 post-installation 脚本 返回了错误号 1
安装Oracle-java7-installer失败后,再次重新安装后出现错误-- dpkg: error processing oracle-java7-installer (--configure ...
- Ubuntu 13.04 安装 Oracle11gR2
#step 1: groupadd -g 2000 dbauseradd -g 2000 -m -s /bin/bash -u 2000 griduseradd -g 2000 -m -s /bin/ ...
随机推荐
- LeetCode242——Valid Anagram
Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = & ...
- 查杀病毒的NB命令
kill - `pgrep linux|awk '{++S[$1]}END{for (i in S) print i}'` teamkill #!/bin/bash set -x kill - `pg ...
- C++范围解析运算符::的使用
1.范围解析运算符的作用范围解析运算符 :: 用于标识不同范围内使用的标识符. 2.范围解析运算符的使用1)用于命名空间和类 namespace NamespaceA{ int x; class Cl ...
- 将socket通信变成并发的方式
一 利用multiprocessing模块,开启多进程,实现socket通信并发 1. 开启子进程的两种方式 import time import random from multiprocessin ...
- MVC,MVP 和 MVVM 的图示 转自阮一峰先生网络日志
MVC,MVP 和 MVVM 的图示 作者: 阮一峰 复杂的软件必须有清晰合理的架构,否则无法开发和维护. MVC(Model-View-Controller)是最常见的软件架构之一,业界有着广泛 ...
- CTreeCtrl 控件实现多选并取得选中项
刚开始以为实现起来很难,所以就在网上寻找实现的扩展控件,到最后才发现只要把CTreeCtrl 控件的Check Boxes 属性设为真就可以了,会在每个树形节点前添加一个CheckBox. 多选已经实 ...
- java+ajax实例
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding= ...
- Linux五种I/O模型性能分析
转载自:http://blog.csdn.net/jay900323/article/details/18141217/ socket阻塞与非阻塞,同步与异步 作者:huangguisu 1. 概念理 ...
- 翻转数字最后n位
#include<stdio.h> int turn_n(int ,int); int main(void) { ,b=; printf("%x\n%d\n%x\n", ...
- JAVA-JSP动作元素之include
相关资料:<21天学通Java Web开发> 结果总结:1.<jsp:xxx /> 或着<jsp:xxx > </jsp:xxx>2.与存取JavaBe ...