免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2411 | 回复: 6
打印 上一主题 下一主题

solaris10 for oracle10.0.2.*安装故障 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-17 15:19 |只看该作者 |倒序浏览
状态描述:安装oracle10.0.2进入到以下阶段:
硬件check
# prtconf | grep Mem
Memory size: 1023 Megabytes
# swap -s
total: 147824k bytes allocated + 41064k reserved = 188888k used, 1174576k available
2、/tmp目录至少需要400M可用空间
# df -h /tmp         
Filesystem             size   used  avail capacity  Mounted on
swap                   1.1G    52K   1.1G     1%    /tmp

修改内核
# vi /etc/system
set shmsys:shminfo_shmmax=536870912(512*1024*1024)
※建议修改为内存的一半: 536870912(以1G内存为例)
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmni=110
set semsys:seminfo_semmns=310

创建用户和组
# groupadd dba
# groupadd oinstall
# useradd -g dba -G oinstall -d /export/home/oracle -m oracle
64 blocks
# passwd oracle

截至到上述步骤solaris10出现以下故障:
GNU GRUP vession 0.95 (640k lower /1045952k upper memory)
[Minimal BASH-LIKE line editing is supported. For the first word,TAB lists possible command completions,Anywhere else TAB lists the possible completions of a device/filename]
grub>


在网上查了一下均没有找到好的对策,再次请各位帮忙看看该怎么处理!

论坛徽章:
0
2 [报告]
发表于 2009-06-17 15:30 |只看该作者
看看oralce10g的安装的配置要求。

论坛徽章:
2
丑牛
日期:2014-06-11 13:55:04ChinaUnix元老
日期:2015-02-06 15:16:14
3 [报告]
发表于 2009-06-17 15:40 |只看该作者
有点奇怪的现象

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
4 [报告]
发表于 2009-06-17 16:07 |只看该作者
偶装过两个,没出现过这个问题

论坛徽章:
0
5 [报告]
发表于 2009-06-17 16:21 |只看该作者

Installation of Oracle 10g Release 2 on Solaris 10 x86

This paper (HOWTO) describes step-by-step installation of Oracle 10g release 2 (10.2.0.2) database software on Solaris 10 x86.

This paper covers following steps:
Pre-Instalation Tasks
Download & Install
Post-Instalation Tasks
Common Installation Errors


Pre-Instalation Tasks
1. Create oracle User Account

Login as root and create te user oracle which belongs to dba group.
su -
# groupadd dba
# useradd -G dba -m -d /export/home/oracle -s /usr/bin/bash oracle

Note: "#" sign means that you need execute this command as root user.
2. Setting System parameters
Edit the /etc/system and add following line:
set noexec_user_stack=1
Note: Since Solaris 10 shared memory settings for Oracle in /etc/system is obsolete.

Execute following commands to configure system settings for Oracle.
# projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" user.oracle
# projmod -sK "project.max-sem-nsems=(priv,256,deny)" user.oracle
# projmod -sK "project.max-sem-ids=(priv,100,deny)" user.oracle
# projmod -sK "project.max-shm-ids=(priv,100,deny)" user.oracle

Note: Use "prctl -i project user.oracle" command to check the settings.

3. Enviroment settings
Edit the /export/home/oracle/.bash_profile file and add following lines:


ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/102
ORACLE_SID=ORA10GR2
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/binORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH
Note: This configuration assumes that user oracle is using Bash as default shell.

Save the .bash_profile and execute following commands for load new enviroment:
cd /export/home/oracle
. .bash_profile

4. Create base directory for Oracle

Login as root and create base directory for Oracle ($ORACLE_BASE).
su -
# cd /opt
# mkdir oracle
# chown oracle:dba oracle


Download & Install
1. Installation of required packages

Some additional packages are required for succesful instalation of Oracle software. To check whether required packages are installed on your operating system use following command:
pkginfo -i SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8


Install the required packages using the pkgadd command:
# pkgadd -d . SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool \
SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8

3. Download the Oracle 10g (10.2.0.2) software from Oracle website.
Extract the files using following command:
unzip 10202_database_solx86.zip


4. Start the Oracle software installation process.

Now the system is prepared for Oracle software installation. To start the installation process execute the following commands:
cd database
./runInstaller


Post-Instalation Tasks
1. Execute scripts (# means "as root":
# /opt/oracle/oraInventory/orainstRoot.sh
# /opt/oracle/102/root.sh


2. (Optional) You may consider to use rlwrap for comfortable wor with sqlplus. Package for Solaris 10 (x86) release you can download here. Note rlwrap is dependent on readline library which should be installed first. Download readline library package.
su -
# gunzip readline-5.1-solaris-x86.gz
# gunzip rlwrap-solaris-x86.gz
# pkgadd -d readline-5.1-solaris-x86 rlwrap-solaris-x86
# exit
echo "alias sqlplus='/usr/local/bin/rlwrap sqlplus'" >> /export/home/oracle/.bash_profile
. /export/home/oracle/.bash_profile



Common Installation Errors
Unable to convert from "UTF-8" to "646" for NLS!
Solution: Install SUNWuiu8 package.

Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< Some requirement checks failed. You must fulfill these requirements before continuing with the installation,at which time they will be rechecked.
Solution(s):
1. Install SUNWxwplt package
2. Set DISPLAY variable
3. Execute xhost + on target (set in DISPLAY) computer

Exception in thread "main" java.lang.UnsatisfiedLinkError:
... libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
Solution: Install the SUNWmfrun package.

Can't load '/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/Sun/Solaris/Project/Project.so' for module Sun::Solaris:roject: ld.so.1: perl: fatal: libpool.so.1: open failed: No such file or directory at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230. at /usr/sbin/projadd line 19 Compilation failed in require at /usr/sbin/projadd line 19. BEGIN failed--compilation aborted at /usr/sbin/projadd line 19.
Solution: Install the SUNWpool SUNWpoolr packages.

论坛徽章:
0
6 [报告]
发表于 2009-06-17 17:17 |只看该作者
结合各位给的提示,我又仔细看了一下,我觉的我故障前的操作是正确的, 但我任然不清楚为什么当我操作完上述“创建用户和组”步骤后就出现这个故障以及怎样处理这个故障:GNU GRUP vession 0.95 (640k lower /1045952k upper memory)
[Minimal BASH-LIKE line editing is supported. For the first word,TAB lists possible command completions,Anywhere else TAB lists the possible completions of a device/filename]
grub>


请各位再给分析下!

论坛徽章:
0
7 [报告]
发表于 2009-06-18 10:34 |只看该作者
感觉象是你的虚拟机下对于oracle的安装和分配的时候有问题了。和安装的步骤没有关系。先检查一下你的配置。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP