GC故障3

SDYTXM發表於2013-12-05

今天可以說是在GC安裝上鬱悶了一天,晚上吃完晚飯喝了一杯濃咖啡準備一戰到底。還好在寫這篇總結時,問題解決了!讓我興奮了一下下。(鬱悶的是裝過好幾次都成功,這次……哎~~

一、問題現象:                                               

 在裝oms時沒問題,在PROD庫上裝agent時我採用download方式安裝(這個快唄!),但是奇怪的現象:

 $sudo ./ agentDownload.linux –b /u01/app/oracle/agent ---根據實踐的確命令用錯了,在$ 下用 .

  但是輸出的結果令我很費解:

sudo ./agentDownload.linux -b /u01/app/oracle/agent

agentDownload.linux invoked on Thu Dec  5 09:50:32 CST 2013 with Arguments "-b /u01/app/oracle/agent"

Platform=Linux, OS=linux

GetPlatform:returned=0, and os is set to: linux, platform=Linux

LogFilefor this Download can be found at: "/u01/app/oracle/agentDownload10.2.0.1.0Oui/agentDownload.linux120513095032.log"

Running on Selected Platform: Linux

Installer location: /u01/app/oracle/agentDownload10.2.0.1.0Oui

Downloading Agent install response file ...

--2013-12-05 09:50:32--  http://rac2.localdomain:4889/agent_download/10.2.0.1.0/agent_download.rsp

Resolving rac2.localdomain... 192.168.80.102

Connecting to rac2.localdomain|192.168.80.102|:4889... connected.

HTTP request sent, awaiting response... 200 OK

Length: 19995 (20K) [text/plain]

Saving to: `agent_download.rsp'

 

100%[======================================>] 19,995      --.-K/s   in 0.001s 

 

2013-12-05 09:50:32 (34.1 MB/s) - `agent_download.rsp' saved [19995/19995]

 

Finished Downloading with Status=0

Downloaded response with status=0

Downloading Oracle Installer ...

--2013-12-05 09:50:32--  http://rac2.localdomain:4889/agent_download/10.2.0.1.0/linux/oui/oui_linux.jar

Resolving rac2.localdomain... 192.168.80.102

Connecting to rac2.localdomain|192.168.80.102|:4889... connected.

HTTP request sent, awaiting response... 200 OK

Length: 46620679 (44M) [application/java-archive]

Saving to: `oui_linux.jar'

 

100%[======================================>] 46,620,679  16.2M/s   in 2.7s   

 

2013-12-05 09:50:35 (16.2 MB/s) - `oui_linux.jar' saved [46620679/46620679]

 

Downloaded Oracle Installer with status=0

Downloading  Unzip Utility ...

--2013-12-05 09:50:35--  http://rac2.localdomain:4889/agent_download/10.2.0.1.0/linux/agent/install/unzip

Resolving rac2.localdomain... 192.168.80.102

Connecting to rac2.localdomain|192.168.80.102|:4889... connected.

HTTP request sent, awaiting response... 200 OK

Length: 101448 (99K) [text/plain]

Saving to: `unzip'

 

100%[======================================>] 101,448     --.-K/s   in 0.004s 

 

2013-12-05 09:50:35 (21.7 MB/s) - `unzip' saved [101448/101448]

 

Adding execute permissions to unzip ...

Downloaded UnzipUtility with status=0

The jar to be used=/usr/bin/jar

Verifying Installer jar ...

Verified InstallerJar with status=0

Unjarring Oracle Installer ...

Archive:  /u01/app/oracle/agentDownload10.2.0.1.0Oui/oui_linux.jar

   creating: Disk1/stage/

   creating: Disk1/stage/fastcopy/

  inflating: Disk1/stage/fastcopy/setperms1.sh 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_exp_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_dirs.lst 

  inflating: Disk1/stage/fastcopy/oracle.swd_Complete_filemap.jar 

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_exp_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_dirs.lst  

  inflating: Disk1/stage/fastcopy/oracle.swd_Typical_filemap.jar 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_exp_1.xml 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_dirs.lst 

  inflating: Disk1/stage/fastcopy/oracle.swd_Custom_filemap.jar 

  inflating: Disk1/stage/fastcopy/racfiles.jar 

   creating: Disk1/stage/Components/

   creating: Disk1/stage/Components/oracle.swd/

   creating: Disk1/stage/Components/oracle.swd/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd/10.2.0.5.0/1/DataFiles/

   creating: Disk1/stage/Components/oracle.swd.oui/

   creating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup6.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup10.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup9.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup5.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup8.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup1.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup4.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup7.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui/10.2.0.5.0/1/DataFiles/filegroup11.jar 

   creating: Disk1/stage/Components/oracle.swd.oui.core/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/

   creating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/bg.jpg 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/10gOneClickbusybar.gif 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/splashScr.gif 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/oneclickbg.gif 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/Expanded/oui/instImages/images.properties 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.oui.core/10.2.0.5.0/1/DataFiles/filegroup1.jar 

   creating: Disk1/stage/Components/oracle.swd.oil/

   creating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/

   creating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/1/

   creating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.oil/10.2.0.5.0/1/DataFiles/filegroup1.1.1.jar 

   creating: Disk1/stage/Components/oracle.swd.jre/

   creating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/

   creating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/

   creating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup5.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup4.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.jre/1.4.2.14.0/1/DataFiles/filegroup1.jar 

   creating: Disk1/stage/Components/oracle.swd.opatch/

   creating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/

   creating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/

   creating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup3.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup6.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup9.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup2.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup5.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup8.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup1.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup4.jar 

  inflating: Disk1/stage/Components/oracle.swd.opatch/10.2.0.4.2/1/DataFiles/filegroup7.jar 

  inflating: Disk1/stage/oracle.swd.10_2_0_5_0.xml 

  inflating: Disk1/stage/OuiConfigVariables.xml 

  inflating: Disk1/stage/install1.jar 

   creating: Disk1/stage/Actions/

   creating: Disk1/stage/Actions/ntw32FoldersActions/

   creating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/

   creating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/

  inflating: Disk1/stage/Actions/ntw32FoldersActions/10.2.0.3.0/1/WindowsFolders.jar 

   creating: Disk1/stage/Actions/clusterActions/

   creating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/clusterActions/10.1.0.2.0/1/clusterActionLib.jar 

   creating: Disk1/stage/Actions/dbActions/

   creating: Disk1/stage/Actions/dbActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/dbActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/dbActions/10.1.0.2.0/1/dbActions.jar 

   creating: Disk1/stage/Actions/fileActions/

   creating: Disk1/stage/Actions/fileActions/10.2.0.3.0/

   creating: Disk1/stage/Actions/fileActions/10.2.0.3.0/1/

  inflating: Disk1/stage/Actions/fileActions/10.2.0.3.0/1/fileActionLib.jar 

   creating: Disk1/stage/Actions/generalActions/

   creating: Disk1/stage/Actions/generalActions/10.2.0.8.0/

   creating: Disk1/stage/Actions/generalActions/10.2.0.8.0/1/

  inflating: Disk1/stage/Actions/generalActions/10.2.0.8.0/1/generalActions.jar 

   creating: Disk1/stage/Actions/jarActions/

   creating: Disk1/stage/Actions/jarActions/10.2.0.0.0/

   creating: Disk1/stage/Actions/jarActions/10.2.0.0.0/1/

  inflating: Disk1/stage/Actions/jarActions/10.2.0.0.0/1/jarActionLib.jar 

   creating: Disk1/stage/Actions/launchPadActions/

   creating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/launchPadActions/10.1.0.2.0/1/launchpadaction.jar 

   creating: Disk1/stage/Actions/ntServicesActions/

   creating: Disk1/stage/Actions/ntServicesActions/10.2.0.3.0/

   creating: Disk1/stage/Actions/ntServicesActions/10.2.0.3.0/1/

  inflating: Disk1/stage/Actions/ntServicesActions/10.2.0.3.0/1/ntServicesActions.jar 

   creating: Disk1/stage/Actions/oradim/

   creating: Disk1/stage/Actions/oradim/10.1.0.3.0/

   creating: Disk1/stage/Actions/oradim/10.1.0.3.0/1/

  inflating: Disk1/stage/Actions/oradim/10.1.0.3.0/1/oradim.jar 

   creating: Disk1/stage/Actions/rgsActions/

   creating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/

   creating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/

  inflating: Disk1/stage/Actions/rgsActions/10.1.0.3.0/1/rgsActions.jar 

   creating: Disk1/stage/Actions/SpawnActions/

   creating: Disk1/stage/Actions/SpawnActions/10.1.0.2.0/

   creating: Disk1/stage/Actions/SpawnActions/10.1.0.2.0/1/

  inflating: Disk1/stage/Actions/SpawnActions/10.1.0.2.0/1/spawnActions.jar 

   creating: Disk1/stage/Actions/unixActions/

   creating: Disk1/stage/Actions/unixActions/10.2.0.1.0/

   creating: Disk1/stage/Actions/unixActions/10.2.0.1.0/1/

  inflating: Disk1/stage/Actions/unixActions/10.2.0.1.0/1/unixActions.jar 

   creating: Disk1/stage/Actions/w32OcxRegActions/

   creating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/

   creating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/

  inflating: Disk1/stage/Actions/w32OcxRegActions/10.2.0.1.0/1/w32OcxLib.jar 

   creating: Disk1/stage/Actions/w32RegActions/

   creating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/

   creating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/

  inflating: Disk1/stage/Actions/w32RegActions/10.2.0.1.0/1/w32RegActionLib.jar 

   creating: Disk1/stage/Actions/wingeneralActions/

   creating: Disk1/stage/Actions/wingeneralActions/10.2.0.2.0/

   creating: Disk1/stage/Actions/wingeneralActions/10.2.0.2.0/1/

  inflating: Disk1/stage/Actions/wingeneralActions/10.2.0.2.0/1/wingeneralActionLib.jar 

   creating: Disk1/stage/Actions/customFileActions/

   creating: Disk1/stage/Actions/customFileActions/1.2/

   creating: Disk1/stage/Actions/customFileActions/1.2/1/

  inflating: Disk1/stage/Actions/customFileActions/1.2/1/customFileActions.jar 

   creating: Disk1/stage/Queries/

   creating: Disk1/stage/Queries/NtServicesQueries/

   creating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/

   creating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/

  inflating: Disk1/stage/Queries/NtServicesQueries/10.2.0.3.0/1/NtServiceQueries.jar 

   creating: Disk1/stage/Queries/WindowsGeneralQueries/

   creating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/

   creating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/

  inflating: Disk1/stage/Queries/WindowsGeneralQueries/10.2.0.1.0/1/WindowsGeneralQueries.jar 

   creating: Disk1/stage/Queries/areasQueries/

   creating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/

   creating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/

  inflating: Disk1/stage/Queries/areasQueries/10.2.0.1.0/1/areasQueries.jar 

   creating: Disk1/stage/Queries/clusterQueriesEx/

   creating: Disk1/stage/Queries/clusterQueriesEx/10.1.0.3.0/

   creating: Disk1/stage/Queries/clusterQueriesEx/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/clusterQueriesEx/10.1.0.3.0/1/clusterQuery.jar 

   creating: Disk1/stage/Queries/dbQueries/

   creating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/

   creating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/

  inflating: Disk1/stage/Queries/dbQueries/10.1.0.2.0/1/dbQueries.jar 

   creating: Disk1/stage/Queries/fileQueries/

   creating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/

   creating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/fileQueries/10.1.0.3.0/1/fileQueries.jar 

   creating: Disk1/stage/Queries/generalQueries/

   creating: Disk1/stage/Queries/generalQueries/10.1.0.3.0/

   creating: Disk1/stage/Queries/generalQueries/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/generalQueries/10.1.0.3.0/1/generalQueries.jar 

   creating: Disk1/stage/Queries/netQueries/

   creating: Disk1/stage/Queries/netQueries/10.2.0.2.0/

   creating: Disk1/stage/Queries/netQueries/10.2.0.2.0/1/

  inflating: Disk1/stage/Queries/netQueries/10.2.0.2.0/1/netQueries.jar 

   creating: Disk1/stage/Queries/rgsQueries/

   creating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/

   creating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/

  inflating: Disk1/stage/Queries/rgsQueries/10.1.0.3.0/1/rgsQueries.jar 

   creating: Disk1/stage/Queries/unixQueries/

   creating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/

   creating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/

  inflating: Disk1/stage/Queries/unixQueries/10.1.0.2.0/1/unixQueries.jar 

   creating: Disk1/stage/Queries/w32RegQueries/

   creating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/

   creating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/

  inflating: Disk1/stage/Queries/w32RegQueries/10.2.0.1.0/1/w32RegQueryLib.jar 

   creating: Disk1/stage/Queries/LangQueries/

   creating: Disk1/stage/Queries/LangQueries/1.3.6.4/

   creating: Disk1/stage/Queries/LangQueries/1.3.6.4/1/

  inflating: Disk1/stage/Queries/LangQueries/1.3.6.4/1/LangQueries.jar 

   creating: Disk1/stage/Queries/MemorySizeQuery/

   creating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/

   creating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/1/

  inflating: Disk1/stage/Queries/MemorySizeQuery/1.2.8.0.3/1/MemorySizeQuery.jar 

   creating: Disk1/stage/Queries/RepositoryQueries/

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/1/

  inflating: Disk1/stage/Queries/RepositoryQueries/3.0.0.1.0/1/Queries.jar 

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/

   creating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/

  inflating: Disk1/stage/Queries/RepositoryQueries/3.0.0.2.2/1/Queries.jar 

   creating: Disk1/stage/Queries/RunningProcessQuery/

   creating: Disk1/stage/Queries/RunningProcessQuery/1.5.1/

   creating: Disk1/stage/Queries/RunningProcessQuery/1.5.1/1/

  inflating: Disk1/stage/Queries/RunningProcessQuery/1.5.1/1/RunningProcessesQuery.jar 

   creating: Disk1/stage/Queries/SIDQueries/

   creating: Disk1/stage/Queries/SIDQueries/1.2.7/

   creating: Disk1/stage/Queries/SIDQueries/1.2.7/1/

  inflating: Disk1/stage/Queries/SIDQueries/1.2.7/1/SidQueries.jar 

   creating: Disk1/stage/Queries/ClusterQueries/

   creating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/

   creating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/1/

  inflating: Disk1/stage/Queries/ClusterQueries/1.7.3.0.3/1/clusterQueries.jar 

   creating: Disk1/stage/Queries/generalPortQueries/

   creating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/

   creating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/1/

  inflating: Disk1/stage/Queries/generalPortQueries/2.1.0.18.7/1/generalPortQueries.jar 

   creating: Disk1/stage/Queries/globalVarQueries/

   creating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/

   creating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/

  inflating: Disk1/stage/Queries/globalVarQueries/2.1.0.4.1/1/globalVarQueries.jar 

   creating: Disk1/stage/Queries/textFileQueries/

   creating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/

   creating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/

  inflating: Disk1/stage/Queries/textFileQueries/2.1.0.4.0/1/textFileQueries.jar 

   creating: Disk1/stage/Queries/ccrQueries/

   creating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/

   creating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/1/

  inflating: Disk1/stage/Queries/ccrQueries/10.2.8.0.0/1/ccrQueries.jar 

   creating: Disk1/stage/Dialogs/

   creating: Disk1/stage/Dialogs/standardDialogs/

   creating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/

   creating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/

  inflating: Disk1/stage/Dialogs/standardDialogs/10.2.0.1.0/1/standardDialogs.jar 

   creating: Disk1/stage/Dialogs/customDialogs/

   creating: Disk1/stage/Dialogs/customDialogs/3.3.0/

   creating: Disk1/stage/Dialogs/customDialogs/3.3.0/1/

  inflating: Disk1/stage/Dialogs/customDialogs/3.3.0/1/CustomDialogs.jar 

   creating: Disk1/stage/Dialogs/customDialogs/1.0.0/

   creating: Disk1/stage/Dialogs/customDialogs/1.0.0/1/

  inflating: Disk1/stage/Dialogs/customDialogs/1.0.0/1/newCustomDialogs.jar 

  inflating: Disk1/stage/products.xml 

  inflating: Disk1/stage/libs.xml   

  inflating: Disk1/stage/invDetails.properties 

  inflating: Disk1/stage/fastcopy.xml 

  inflating: Disk1/stage/disk.label 

   creating: Disk1/stage/Response/

  inflating: Disk1/stage/Response/oracle.swd.Complete.rsp 

  inflating: Disk1/stage/Response/oracle.swd.Typical.rsp 

  inflating: Disk1/stage/Response/oracle.swd.Custom.rsp 

   creating: Disk1/install/

  inflating: Disk1/install/lsnodes  

  inflating: Disk1/install/runInstaller 

  inflating: Disk1/install/addNode.sh 

  inflating: Disk1/install/addLangs.sh 

  inflating: Disk1/install/oraparam.ini 

  inflating: Disk1/install/attachHome.sh 

  inflating: Disk1/install/detachHome.sh 

   creating: Disk1/install/resource/

  inflating: Disk1/install/resource/cons.nls 

  inflating: Disk1/install/resource/cons_de.nls 

  inflating: Disk1/install/resource/cons_es.nls 

  inflating: Disk1/install/resource/cons_fr.nls 

  inflating: Disk1/install/resource/cons_it.nls 

  inflating: Disk1/install/resource/cons_ja.nls 

  inflating: Disk1/install/resource/cons_ko.nls 

  inflating: Disk1/install/resource/cons_pt_BR.nls 

  inflating: Disk1/install/resource/cons_zh_CN.nls 

  inflating: Disk1/install/resource/cons_zh_TW.nls 

  inflating: Disk1/install/oneclick.properties 

  inflating: Disk1/install/unzip    

  inflating: Disk1/install/oraparamsilent.ini 

  inflating: Disk1/runInstaller     

Adding execute permissions to runInstaller ...

Adding execute permissions to unzip ...

Launching Oracle Installer ...

Executing /u01/app/oracle/agentDownload10.2.0.1.0Oui/Disk1/runInstaller  -ignoreSysPrereqs -waitforcompletion -force -responseFile /u01/app/oracle/agentDownload10.2.0.1.0Oui/agent_download.rsp -silent  b_doDiscovery=TRUE b_startAgent=TRUE   -sourceLoc http://rac2.localdomain:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml FROM_LOCATION=http://rac2.localdomain:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml -baseDir /u01/app/oracle/agent    CLUSTER_NODES={}  

Starting Oracle Universal Installer...

Checking installer requirements...


Checking operating system version: must be enterprise-4, enterprise-5, redhat-3, redhat-4, redhat-5, redhat-5.1, SuSE-9, SuSE-10, UnitedLinux-1.0, asianux-1 or asianux-2

                                      Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-12-05_09-50-36AM. Please wait ...Completed with Status=255

二、問題分析:

    1. 看著安裝的log jar包也都安裝了,但是咋沒出現讓我用root執行root.sh資訊:



         我在反覆檢視,根本沒有生成/u01/app/oracle/agent的目錄,手動建立(agent會自動建立的)也是空的
         
通過日誌沒看出什麼報錯(這是我最頭疼的)。一般遇到異常,採取刪除agent重新安裝,但是我分析在PROD庫上連agent/agent10g目錄都沒生成,我去哪裡./emctl status agent  ./emctl stop agent;

 2. 利用大量的時間網上尋找答案,但是有時候內事“百度”,外事“谷歌”,也有不知道的(也許這問題太easy了,沒人發帖子,呵呵!!)

 幾乎網上完美安裝GC的帖子都執行完$sudo ./ agentDownload.linux –b /u01/app/oracle/agent就到root下執行./root.sh了,問別人也是無濟於事,(會建議重新安裝吧!!!)我又不甘心從頭再來,想弄明白到底哪裡出現的問題。

   回憶操作步驟,在看到.bash_profile時,很多前輩寫帖子都會提到注意:新增$export PASH=$ORACLE_HOME/jbk/bin:$PATH,(我也新增了)應為GC中需要的JAR包參見(http://blog.itpub.net/519536/viewspace-672510/)詳細解釋。

    最終問題也正是在環境變數,當我發現:


自己新增的這條和本身環境中有的是否存在衝突了?我把自己新增的登出掉,我再執行 $sudo ./ agentDownload.linux –b /u01/app/oracle/agent 後一切都正常了!
       
正常的結果log:

++++++++++++++++++++++++++++++++

輸出省略部分……

+++++++++++++++++++++++++++++++++

Adding execute permissions to runInstaller ...

Adding execute permissions to unzip ...

Launching Oracle Installer ...

Executing /home/oracle/scripts/agentDownload10.2.0.1.0Oui/Disk1/runInstaller  -ignoreSysPrereqs -waitforcompletion -force -responseFile /home/oracle/scripts/agentDownload10.2.0.1.0Oui/agent_download.rsp -silent  b_doDiscovery=TRUE b_startAgent=TRUE   -sourceLoc http://rac2.localdomain:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml FROM_LOCATION=http://rac2.localdomain:4889/agent_download/10.2.0.1.0/linux/agent/stage/products.xml -baseDir /u01/app/oracle/agent    CLUSTER_NODES={}  

Oracle Enterprise Manager 10g Release 10.2.0.1.0. 

Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

Agent Version     : 10.2.0.1.0

OMS Version       : 10.2.0.1.0

Protocol Version  : 10.2.0.0.0

Agent Home        : /u01/app/oracle/agent/agent10g

Agent binaries    : /u01/app/oracle/agent/agent10g

Agent Process ID  : 1928

Parent Process ID : 1902

Agent URL         : https://rac1.localdomain:3872/emd/main/

Repository URL    : https://rac2.localdomain:1159/em/upload

Started at        : 2013-12-05 20:31:28

Started by user   : oracle

Last Reload       : 2013-12-05 20:31:28

Last successful upload                       : (none)

Last attempted upload                        : (none)

Total Megabytes of XML files uploaded so far :     0.00

Number of XML files pending upload           :        2

Size of XML files pending upload(MB)         :     0.50

Available disk space on upload filesystem    :    74.28%

Last successful heartbeat to OMS             : 2013-12-05 20:31:32

---------------------------------------------------------------

Agent is Running and Ready

Querying Agent status: Agent is running

Removing the copied stuff.....

Removed: /home/oracle/scripts/agentDownload10.2.0.1.0Oui/oui_linux.jar

Removed: /home/oracle/scripts/agentDownload10.2.0.1.0Oui/agent_download.rsp

Removed:/home/oracle/scripts/agentDownload10.2.0.1.0Oui/Disk1

Log name of installation can be found at: "/u01/app/oracle/agent/agent10g/agentDownload.linux120513202646.log"

/u01/app/oracle/agent/agent10g/root.sh needs to be executed by root to complete this installation.

三、總結:

1.功夫不負有心人,冷靜不盲目操作;

2.不要盲目的照抄別人的指令碼,當然在生產或是考試時,一定要仔細檢視環境變數;

3.咖啡很提神。

 

Secooler致敬!

Johnson

13-12-5





來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20985606/viewspace-1062455/,如需轉載,請註明出處,否則將追究法律責任。

相關文章