机器IBM52A,1路1.65的CPU,4G内存
操作系统:AIX5.3
Oracle:9.2.0.1在安装过程中出现如下错误:
Error Dialog Oracle Universal Installer displays this dialog box when an error occurs. For example, this dialog box will appear if you are running out of disk space while copying files但磁盘空间应该没有问题,如下:磁盘空间:
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1024.00 811.80 21% 2169 2% /
/dev/hd2 2048.00 838.44 60% 35206 16% /usr
/dev/hd9var 256.00 245.06 5% 426 1% /var
/dev/hd3 1024.00 822.16 20% 977 1% /tmp
/dev/fwdump 256.00 255.64 1% 4 1% /var/adm/ras/platform
/dev/hd1 256.00 255.60 1% 8 1% /home
/proc - - - - - /proc
/dev/hd10opt 20480.00 20421.75 1% 1699 1% /opt
/dev/lv00 32768.00 24280.27 26% 63294 1% /oracle
#不知什么问题,详细,请见附件
查看错误的日志:
Environment variables:
ORACLE_HOME = /oracle/product/9.2.0
PATH = /usr/bin:/etc:/usr/sbin:/usr/ucb:/oracle/bin:/usr/bin/X11:/sbin:.:/usr/bin:/etc:/usr/sbin:/usr/lbin:/usr/ucb:/oracle/bin:/us
r/bin/X11:/sbin:/bin:/opt/bin:/usr/ccs/bin:/usr/openwin/bin:/opt/local/GNU/bin:/opt/local/bin:/opt/NSCPnav/bin:/oracle/product/9.2.0/bin:/u
sr/local/samba/bin:/usr/ucb:/usr/bin:/bin
CLASSPATH =
Username is: oracle
Unable to read the list of homes from the inventory.
The installer version is 2.2.0.11.0*** Welcome Page***
Setting value of FROM_LOCATION to /oracle/AIX5L9I/CD1/stage/products.jar
Setting value of SHOW_COMPONENT_LOCATIONS_PAGE to true
Setting value of SHOW_CUSTOM_TREE_PAGE to true
Setting value of SHOW_SUMMARY_PAGE to true
Setting value of SHOW_INSTALL_PROGRESS_PAGE to true
Setting value of SHOW_REQUIRED_CONFIG_TOOL_PAGE to true
Setting value of SHOW_OPTIONAL_CONFIG_TOOL_PAGE to true
Setting value of SHOW_RELEASE_NOTES to true
Setting value of SHOW_END_SESSION_PAGE to true
Setting value of SHOW_SPLASH_SCREEN to true
Setting value of SHOW_WELCOME_PAGE to true
Setting value of SHOW_ROOTSH_CONFIRMATION to true
Setting value of SHOW_EXIT_CONFIRMATION to true
Setting value of NEXT_SESSION to true
Setting value of NEXT_SESSION_ON_FAIL to true
Setting value of SHOW_DEINSTALL_CONFIRMATION to true
Setting value of SHOW_DEINSTALL_PROGRESS to true
Setting value of INVENTORY_LOCATION to /oracle/oraInventory
Setting value of UNIX_GROUP_NAME to
Setting value of UNIX_GROUP_NAME to dba*** UNIX Group Name Page***
UnixInstallGroup = UNIX_GROUP_NAME = dba
Initializing inventory setup WCCE
Doing operation in inventory setup WCCE
Setting value of CLUSTER_NODES to*** Cluster Node Selection Page***
ClusterNodes = CLUSTER_NODES =
Setting value of FROM_LOCATION to /oracle/AIX5L9I/CD1/stage/products.jar
Setting value of ORACLE_HOME to /oracle/product/9.2.0
Setting value of ORACLE_HOME_NAME to OUIHome*** File Locations Page***
FromLocation = FROM_LOCATION = /oracle/AIX5L9I/CD1/stage/products.jar
ToLocation = ORACLE_HOME = /oracle/product/9.2.0
详细请看http://www.itpub.net/viewthread.php?tid=1022507&extra=&page=1
操作系统:AIX5.3
Oracle:9.2.0.1在安装过程中出现如下错误:
Error Dialog Oracle Universal Installer displays this dialog box when an error occurs. For example, this dialog box will appear if you are running out of disk space while copying files但磁盘空间应该没有问题,如下:磁盘空间:
# df -m
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1024.00 811.80 21% 2169 2% /
/dev/hd2 2048.00 838.44 60% 35206 16% /usr
/dev/hd9var 256.00 245.06 5% 426 1% /var
/dev/hd3 1024.00 822.16 20% 977 1% /tmp
/dev/fwdump 256.00 255.64 1% 4 1% /var/adm/ras/platform
/dev/hd1 256.00 255.60 1% 8 1% /home
/proc - - - - - /proc
/dev/hd10opt 20480.00 20421.75 1% 1699 1% /opt
/dev/lv00 32768.00 24280.27 26% 63294 1% /oracle
#不知什么问题,详细,请见附件
查看错误的日志:
Environment variables:
ORACLE_HOME = /oracle/product/9.2.0
PATH = /usr/bin:/etc:/usr/sbin:/usr/ucb:/oracle/bin:/usr/bin/X11:/sbin:.:/usr/bin:/etc:/usr/sbin:/usr/lbin:/usr/ucb:/oracle/bin:/us
r/bin/X11:/sbin:/bin:/opt/bin:/usr/ccs/bin:/usr/openwin/bin:/opt/local/GNU/bin:/opt/local/bin:/opt/NSCPnav/bin:/oracle/product/9.2.0/bin:/u
sr/local/samba/bin:/usr/ucb:/usr/bin:/bin
CLASSPATH =
Username is: oracle
Unable to read the list of homes from the inventory.
The installer version is 2.2.0.11.0*** Welcome Page***
Setting value of FROM_LOCATION to /oracle/AIX5L9I/CD1/stage/products.jar
Setting value of SHOW_COMPONENT_LOCATIONS_PAGE to true
Setting value of SHOW_CUSTOM_TREE_PAGE to true
Setting value of SHOW_SUMMARY_PAGE to true
Setting value of SHOW_INSTALL_PROGRESS_PAGE to true
Setting value of SHOW_REQUIRED_CONFIG_TOOL_PAGE to true
Setting value of SHOW_OPTIONAL_CONFIG_TOOL_PAGE to true
Setting value of SHOW_RELEASE_NOTES to true
Setting value of SHOW_END_SESSION_PAGE to true
Setting value of SHOW_SPLASH_SCREEN to true
Setting value of SHOW_WELCOME_PAGE to true
Setting value of SHOW_ROOTSH_CONFIRMATION to true
Setting value of SHOW_EXIT_CONFIRMATION to true
Setting value of NEXT_SESSION to true
Setting value of NEXT_SESSION_ON_FAIL to true
Setting value of SHOW_DEINSTALL_CONFIRMATION to true
Setting value of SHOW_DEINSTALL_PROGRESS to true
Setting value of INVENTORY_LOCATION to /oracle/oraInventory
Setting value of UNIX_GROUP_NAME to
Setting value of UNIX_GROUP_NAME to dba*** UNIX Group Name Page***
UnixInstallGroup = UNIX_GROUP_NAME = dba
Initializing inventory setup WCCE
Doing operation in inventory setup WCCE
Setting value of CLUSTER_NODES to*** Cluster Node Selection Page***
ClusterNodes = CLUSTER_NODES =
Setting value of FROM_LOCATION to /oracle/AIX5L9I/CD1/stage/products.jar
Setting value of ORACLE_HOME to /oracle/product/9.2.0
Setting value of ORACLE_HOME_NAME to OUIHome*** File Locations Page***
FromLocation = FROM_LOCATION = /oracle/AIX5L9I/CD1/stage/products.jar
ToLocation = ORACLE_HOME = /oracle/product/9.2.0
详细请看http://www.itpub.net/viewthread.php?tid=1022507&extra=&page=1
用9.2.0.4安装也出现同样的问题,我觉得可能我的设置有问题,我的安装文档如下:
1. 主机
机型:IBM-52A
在aix下怎么查看CPU频率,硬盘分区和内存大小 。
CPU:
如果系统是AIX5L
prtconf | more
如果是4.3.3的话,ML09以上才有这个命令
lsattr -El proc0
lsattr -El mem0
lsattr -El hdisk0
lspv -l hdisk0
我的目前机器CPU:1路1.65GHZ内存:4G
# lsattr -El sys0 -a realmem
realmem 3883008 Amount of usable physical memory in Kbytes False硬盘大小:两块146G
# lsps -a 分页/交换空间大小:2G,有的文档说必须等于内存大小,我一会试一下看是否是这的原因
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 2048MB 4 yes yes lv
$ df -k /tmp 临时空间1个G
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd3 1048576 1044836 1% 60 1% /tmp
$ df -k /oracle
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/lv00 20971520 14077232 33% 25324 1% /oracle创建文件系统 oracle的步骤如下:
1. 先创建一个逻辑卷 它属于卷组 rootvg
2. smitty mklv
这里有两项自己必须写的:volume group name =>rootvg 可以按F4进行选择
Number of LOGICAL PARTITIONS=>NUM*物理分区
3. 创建文件系统2. 操作系统环境
查看版本:
# oslevel
5.3.7.0
# uname -a
AIX ftstock 3 5 00C9391F4C00
查看内核是多少位的
# bootinfo -y
64
# bootinfo -k3. Oracle的版本
借了套9.2.0.4版本的安装盘
如果你用的是从网上下载的cpio文件,可以拷到机器中,然后利用guzip和cpio来解压
cpio –idmv < 文件名.iso
4. 安装jdk
可以到网站上下载:
http://www.ibm.com/developerworks/java/jdk/aix/service.html
#smit installp
选择install software
…………………
……………………….
要选择java14.sdk别选license包
Accept new licese agreements?选择yes回车即可.
安装后检查:
# lslpp -l |grep Java
Java14.debug 1.4.1.6 COMMITTED Java SDK 32-bit Debug
Java14.sdk 1.4.2.3 COMMITTED Java SDK 32-bit
然后写个简单的java试一下
Class aa
{ public static void main(String[] args)
{
System.out.println(“hello world”);
}
}5. 先增加oracle用户与dba组
1创Oracle用户及dba组
注意:这里的Home directory可以用默认的也可以自己建一个,我这里自己利用了上面建的oracle目录. /oracle 需要修改 /oracle目录的所属组及用户,否则在以oracle登录到服务器时会有提示:3004-007 You entered an invalid login name or password.
I对于上面的错误:首先确认建完oracle用户是否设置了密码
#passwd oracle
II更改/oracle目录的所属
#chown –R oracle.dba /oraclePrimary Group=> dba
Group Set=>dba,staff
Home directory=>/oracle
Initial Program=>/usr/bin/ksh
这里的下面几项手动改一下:
Soft FILE size [-1]
Soft CPU time [-1]
Soft DATA segment [-1]
Soft STACK size [-1]
Soft CORE file size [-1] 6. 设置环境变量
#su – oracle
$vi .profile 然后进行如下的设置
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/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.#Oracle Env
ORACLE_BASE=/oracle
ORACLE_HOME=$ORACLE_BASE/product/9.2.0
ORACLE_SID=ora9i
ORACLE_TERM=xterm
TNS_ADMIN=$ORACLE_BASE/config/9.2.0
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/openwin/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/td/lib:/usr/ucblib:/usr/local/lib#CLASSPATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib#PATH
PATH=$PATH:/usr/bin:/etc:/usr/sbin:/usr/lbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin
PATH=$PATH:/bin:/opt/bin:/usr/ccs/bin:/usr/openwin/bin:/opt/local/GNU/bin
PATH=$PATH:/opt/local/bin:/opt/NSCPnav/bin:$ORACLE_HOME/bin
PATH=$PATH:/usr/local/samba/bin:/usr/ucbexport ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM TNS_ADMIN NLS_LANG ORA_NLS33 LD_LIBRA
RY_PATH CLASSPATH PATH
7. 开始安装Oracle
因为我是在远程安装的,所以需要上面的环境变量中输入:
DISPLAY=192.168.8.247:0.0
Export的后面加上 DISPLAY
问题原因是:在aix下安装oracle需要几个必备的bos包,我把其全部打上后可以了。