来源于:Location of runInstaller(OUI) log/trace (文档 ID 1629698.1)
适用于:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Apr-2013***
目的:
从哪里找到runInstaller(addNode.sh,config.sh等等)log文件和trace文件的位置?
答案:
对于每一次的runInstaller 运行,有三种文件会生成在下面的位置之一
/tmp/OraInstall${TIMESTAMP}
$CENTRAL_INVENTORY/logs
$TEMP/OraInstall${TIMESTAMP}
$TMPDIR/OraInstall${TIMESTAMP}
$ORACLE_HOME/cfgtoollogs/oui
这三种文件是: installActions${TIMESTAMP}.log
oraInstall${TIMESTAMP}.err
oraInstall${TIMESTAMP}.out
为了找到CENTRAL_INVENTORY的位置,请查看oraInst.loc的内容,而不同os下,oraInst.loc的位置是不同的: Linux和AIX:/etc/oraInst.loc
Solaris和HP-UX:/var/opt/oracle/oraInst.loc
Windows: HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> inst_loc
在下面的例子中,CENTRAL_INVENTORY 在/home/oracle/oraInventory,因为 "inventory_loc"被设置指向它。 $ cat /etc/oraInst.loc
inventory_loc=/home/oracle/oraInventory
inst_group=oinstall