免费注册 查看新帖 |

Chinaunix

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

[安装配置] 求助:AIX 5.3 (32位内核)安装oracle 8.1.7失败(已解决) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-26 09:22 |只看该作者 |倒序浏览
装了好几次了,都失败,实在找不出原因。小弟愚钝。
现在此向各位求助。多谢指点。
oracle的.profile设置如下:
$ more .profile


PATH=/usr/bin:/etc:/usr/sbin:/usr/ucbHOME/bin:/usr/bin/X11:/sbin:.

export PATH

if [ -s "$MAIL" ]           # This is at Shell startup.  In normal
then echo "$MAILMSG"        # operation, the Shell checks
fi                          # periodically.
umask 022
export DISPLAY=192.168.0.150:0.0
ORACLE_BASE=$HOME/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/8.1.7
ORACLE_SID=ORCL
ORACLE_TERM=vt100
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:/usr/dt/lib
LINK_CNTRL=L_PTHREADS_D7
NLS_LANG=American_America.ZHS16CGB231280
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
TMPDIR=$HOME/tmp
WORKDIR=$TMPDIR
PATH=$PATHORACLE_HOME/bin:
export ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM ORA_NLS33
export LD_LIBRARY_PATH TMPDIR WORKDIR PATH
export LINK_CNTRL NLS_LANG
set -o vi


安装前用root用户执行如下命令:
sh-3.00# ./rootpre.sh

Installing kernel extension...

Oracle Kernel Extension Loader for AIX
       Copyright (c) 1998,1999 Oracle Corporation


Kernel Extension Version: 3

nkext ver: 3
./rootpre.sh: line 199: crash: command not found

is not loaded : 1
No post-wait kernel is loaded on the machine.

          Copying new kernel extension.

Oracle Kernel Extension Loader for AIX
       Copyright (c) 1998,1999 Oracle Corporation


Kernel Extension Version: 3

Kernel Extension /etc/pw-syscall already loaded, unloading it
Kernel Extension Version: 3

Unconfigured the kernel extension successfully
Unloaded the kernel extension successfully
Successfully loaded /etc/pw-syscall with kmid: 0x299debc
Successfully configured /etc/pw-syscall with kmid: 0x299debc

Configuring Asynchronous I/O...
Asynchronous I/O is already defined


然后在另外开的一窗口su到oracle用户,执行安装程序:
bash-3.00$ ./runInstaller
********************************************************************************

Your platform requires the root user to perform certain pre-installation
OS preparation.  The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation.  rootpre.sh can be found at the top level
of the CD or the stage area.

********************************************************************************

Your platform requires the root user to perform certain pre-installation
OS preparation.  The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation.  rootpre.sh can be found at the top level
of the CD or the stage area.

Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.

********************************************************************************

Has 'rootpre.sh' been run by root? [y/n] (n)
y


bash-3.00$
Error in writing to directory /tmp/OraInstall. Please ensure that this directory is writable and has atleast 25 MB of disk sp
ace. Installation cannot continue.
: Bad file number

目录结构如下:
$ ls -l |grep ora
drwxr-sr-x   4 oracle   dba             512 Jun 25 15:14 oracle
drwxr-sr-x   3 oracle   dba             512 Jun 14 15:13 oradata
$df -k
/dev/lv02         2293760   2221716    4%       17     1% /oradata
/dev/lv00         2572288   2491468    4%       23     1% /oracle
/dev/lv01         2048000   1038200   50%     5123     2% /soft

soft目录是用来放安装文件的,Disk1和Disk2都在里边。两张光盘都是通过ftp传上去的。解压过程没有报错。

请指点,谢谢!

[ 本帖最后由 花和尚 于 2007-7-13 09:12 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-06-26 09:56 |只看该作者
别浪费时间了,不能装。

论坛徽章:
0
3 [报告]
发表于 2007-06-26 10:57 |只看该作者
可以装
Error in writing to directory /tmp/OraInstall. Please ensure that this directory is writable and has atleast 25 MB of disk sp
ace. Installation cannot continue.
然后在另外开的一窗口su到oracle用户,执行安装程序:这样你display export了么?

论坛徽章:
0
4 [报告]
发表于 2007-06-26 11:01 |只看该作者
哥哥, 不能装可否告诉人家原因啊? 俺也想知道
Error in writing to directory /tmp/OraInstall. Please ensure that this directory is writable and has atleast 25 MB of disk space. Installation cannot continue.

论坛徽章:
0
5 [报告]
发表于 2007-06-26 11:03 |只看该作者
32bit可以装啊

论坛徽章:
0
6 [报告]
发表于 2007-06-26 11:10 |只看该作者
/tmp空间够吗?

论坛徽章:
0
7 [报告]
发表于 2007-06-26 11:11 |只看该作者
发贴前没看到你的贴子, 所以是问firefoxli 的
让你误会了

论坛徽章:
0
8 [报告]
发表于 2007-06-26 12:25 |只看该作者
原帖由 ewhisper 于 2007-6-26 10:57 发表
可以装
Error in writing to directory /tmp/OraInstall. Please ensure that this directory is writable and has atleast 25 MB of disk sp
ace. Installation cannot continue.
然后在另外开的一窗口su到or ...


按你的做法,另外开一窗口,su到oracle再执行安装程序后提示如下错误:
bash-3.00$ cd /soft/Disk1
bash-3.00$ ./runInstaller
********************************************************************************

Your platform requires the root user to perform certain pre-installation
OS preparation.  The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation.  rootpre.sh can be found at the top level
of the CD or the stage area.

********************************************************************************

Your platform requires the root user to perform certain pre-installation
OS preparation.  The root user should run the shell script 'rootpre.sh' before
you proceed with Oracle installation.  rootpre.sh can be found at the top level
of the CD or the stage area.

Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle
installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.

********************************************************************************

Has 'rootpre.sh' been run by root? [y/n] (n)
y


bash-3.00$
Error in writing to directory /tmp/OraInstall. Please ensure that this directory is writable and has atleast 25 MB of disk sp
ace. Installation cannot continue.
: Bad file number

export display 也做过了。
不知道问题出在哪里。

论坛徽章:
0
9 [报告]
发表于 2007-06-26 12:26 |只看该作者
原帖由 大红机器 于 2007-6-26 11:10 发表
/tmp空间够吗?



bash-3.00# df -g |grep tmp
/dev/hd3           1.48      1.42    5%      150     1% /tmp


是够的。

论坛徽章:
0
10 [报告]
发表于 2007-06-26 12:27 |只看该作者
原帖由 busyfan 于 2007-6-26 11:11 发表
发贴前没看到你的贴子, 所以是问firefoxli 的
让你误会了


:em11:
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP