WGET command is getting 403 forbidden response when remote install gc agent,Troubleshooting
安裝完oms伺服器,並升級到10.2.0.5後,想透過oms伺服器進行客戶端的agent的遠端安裝,首先需要從oms下載agentDownload.linux檔案.
在使用wget命令下載agentDownload.linux檔案時發生了"403 Forbidden"的錯誤,本文描述瞭解決這個錯誤的方法和步驟.
[@more@]一. 問題描述:
REPOSITORY DB:
[oracle@ocmdb1 agent10g]$ wget
--2010-08-09 15:24:05--
Resolving ocmdb2... 12.18.12.181
Connecting to ocmdb2|12.18.12.181|:4889... connected.
HTTP request sent, awaiting response... 403 Forbidden
2010-08-09 15:24:05 ERROR 403: Forbidden.
OMS DB:
$opmnctl status
[oracle@ocmdb2 config]$ opmnctl status
Processes in Instance: EnterpriseManager0.ocmdb2
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
HTTP_Server | HTTP_Server | 11189 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 11190 | Alive
OC4J | OC4J_EM | 11191 | Alive
OC4J | OC4J_EMPROV | 11198 | Alive
WebCache | WebCache | 11222 | Alive
WebCache | WebCacheAdmin | 11199 | Alive
DSA | DSA | N/A | Down
opmn的狀態是沒有問題的,開始懷疑是HTTP_Server的問題.然後在oms自己的主機上執行同樣的wget命令,仍然存在許可權不足的問題
二. 問題解決
$cd $ORACLE_HOME/sysman/config
$vi httpd_em.conf
Modify:
Order deny,allow
Deny from all
Allow from localhost
TO:
Order deny,allow
Deny from none
Allow from all
$opmctl stopproc ias-component=HTTP_Server
$opmnctl startproc ias-component=HTTP_Server
重新停止,啟動一下HTTP_Server程式
如果徹底一點可以opmnctl stopall,opmnctl startall 重新停止,啟動所有opmn程式,
三. 結果
[oracle@ocmdb1 agent10g]$ wget
--2010-08-09 15:49:15--
Resolving ocmdb2... 12.18.12.181
Connecting to ocmdb2|12.18.12.181|:4889... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34136 (33K) [text/plain]
Saving to: `agentDownload.linux.1'
100%[======================================>] 34,136 --.-K/s in 0.001s
2010-08-09 15:49:15 (61.2 MB/s) - `agentDownload.linux.1' saved [34136/34136]
wget 命令執行完成,檔案成功下載。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/32980/viewspace-1036527/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Install gc agent on client is getting 'Please specify a Unique Oracle Base directory'(redhat 5.3_x8GCclientOracleRedhat
- dss nginx 403 forbiddenNginxORB
- Remote Diagnostic Agent (RDA) - Getting Started (Doc ID 314422.1)REM
- Remote Diagnostic Agent (RDA) 4 - Getting Started [ID 314422.1]REM
- Heroku 403 Forbidden Procfile 配置未生效ORB
- Install GC Agent 11.1.0.1 fails at Config Agent File secure.log_1273470.1GCAI
- GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1GCAIWhile
- svn 提交時報錯403 Forbidden 解決方法ORB
- urllib.error.HTTPError:HTTPError403:ForbiddenErrorHTTPORB
- gc/Agent passwd resetGC
- 解決圖片訪問403 Forbidden問題ORB
- Getting oracle agent installation from oemOracle
- 爬蟲之遇到403 Forbidden,IP被封,怎麼辦?爬蟲ORB
- OracleAS Install Error When Configuring AS Console Agent..._386308.1OracleError
- ORA-24300 When Configuring GC Agent to monitor 11g ASM [ID 977472.1]GCASM
- Oracle工具(Oracle Tools) – RDA(RemoteDiagnostic Agent)OracleREM
- BE Remote Agent與Oracle EM埠衝突REMOracle
- 處理SAP HANA Web-Based Development Workbench的403 Forbidden錯誤WebdevORB
- apache 經常無法訪問目錄列表,顯示 403 forbiddenApacheORB
- nginx靜態資原始檔無法訪問,403 forbidden錯誤NginxORB
- Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1AI
- 如何處理SAP HANA Web-Based Development Workbench的403 Forbidden錯誤WebdevORB
- 解決npm install報錯Tried to download(403)NPM
- [wget] HTTP request sent, awaiting response... No data received.wgetHTTPAI
- [Linux] Nginx networking 403 Forbidden 靜態檔案不允許檢視LinuxNginxORB
- Troubleshooting oracle.sysman.emcp.agent.AgentPlugIn has failed error_734981.1OraclePluginAIError
- Selenium RemoteWebDriver 利用CDP修改User-AgentREMWeb
- Troubleshooting: Connecting to SQL Server When System Administrators Are Locked OutSQLServer
- 釋出npm包遇到的報錯: ERR! 403 Forbidden, Are you logged in as the correct userNPMORB
- 【GC】Grid Control Agent完整刪除方法GC
- 求助:移動端登入測試,報錯 RemoteDisconnected Remote end closed connection without response。REM
- Remote Diagnostic Agent (RDA) - RAC Cluster Guide (Doc ID 359395.1)REMGUIIDE
- 微軟2016校園招聘4月線上筆試 hihocoder 1289 403 Forbidden微軟筆試ORB
- Win10系統無法開啟網頁顯示“403 forbidden”的解決方法Win10網頁ORB
- Docker 啟動 Centos 映象 提示"Error response from daemon: No command specified"DockerCentOSError
- Install VMware Tools in CentOS 7 command line modeCentOS
- oracle10g GC agent安裝與解除安裝OracleGC
- Troubleshooting when srvctl can't start RAC instance, but sqlplus can start it [ID 844272.1]SQL