- 论坛徽章:
- 0
|
装了好几次了,都失败,实在找不出原因。小弟愚钝。
现在此向各位求助。多谢指点。
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 编辑 ] |
|