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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- FreeBSD Transmission 403 ForbiddenORB
- dss nginx 403 forbiddenNginxORB
- Heroku 403 Forbidden Procfile 配置未生效ORB
- 解決圖片訪問403 Forbidden問題ORB
- 爬蟲之遇到403 Forbidden,IP被封,怎麼辦?爬蟲ORB
- OPatch install "Missing command :fuser"
- [wget] HTTP request sent, awaiting response... No data received.wgetHTTPAI
- 解決npm install報錯Tried to download(403)NPM
- apache 經常無法訪問目錄列表,顯示 403 forbiddenApacheORB
- 處理SAP HANA Web-Based Development Workbench的403 Forbidden錯誤WebdevORB
- 釋出npm包遇到的報錯: ERR! 403 Forbidden, Are you logged in as the correct userNPMORB
- 如何處理SAP HANA Web-Based Development Workbench的403 Forbidden錯誤WebdevORB
- Install VMware Tools in CentOS 7 command line modeCentOS
- npm install ERR Please try running this command again as root/AdministratorNPMAI
- The "gopls" command is not available. Run "go install -v golang.org/x/tools/gopls@latest" to install.AIGolang
- 遇到403 Forbidden ,伺服器端查詢後結果是http get查詢字串中包含非法字元ORB伺服器HTTP字串字元
- ld: -pie can only be used when targeting iOS 4.2 or later clang: error: linker command failed with eiOSErrorAI
- 哪吒探針Windows安裝出現Failed to install Nezha Agent: service nezha-agent already exists 如何解決WindowsAI
- 使用nodejs ws模組連線websocket伺服器Unexpected response code: 403錯誤解決NodeJSWeb伺服器
- svn access to forBiddenORB
- postgreSQL troubleshooting 故障分析SQL
- 求助:移動端登入測試,報錯 RemoteDisconnected Remote end closed connection without response。REM
- Systematic Latch Contention Troubleshooting in OracleOracle
- curl wget bondwget
- 1、 Getting Stared with Database AdministrationDatabase
- Module 1 Getting to know you
- 個人用_kubernetes_troubleshooting_reference
- 【Spark篇】---Spark故障解決(troubleshooting)Spark
- sonic 部署,拉取映象 ForbiddenORB
- Response
- 排查not eligible for getting processed by all BeanPostProcessorsBean
- 1. Getting Stared with Database AdministrationDatabase
- Getting NOW() in your preferred time zone
- Backup Exec Remote Agent for Windows Servers Service不能啟動,應用無法監聽到NDMP TCP/IP埠REMWindowsServerTCP
- wget遞迴下載wget遞迴
- -bash: wget: 未找到命令wget
- wget使用proxy的配置wget
- ReactNative執行報錯Command `run-android` unrecognized. Make sure that you have run `npm install` and tha...ReactAndroidZedNPM
- Linux Troubleshooting 超實用系列 - Disk AnalysisLinux