在RHEL5.4上安装Grid Control 10.2.0.3时到OMS配置时,遇到错误: Configuration assistant quot;OMS Configurationquot; failed
在RHEL5.4上安装Grid Control 10.2.0.3时到OMS配置时,遇到错误:
Configuration assistant "OMS Configuration" failed
-----------------------------------------------------------------------------
The "/opt/Oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands" script. contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.
.
一开始以为是agnet有问题,在网上找了一圈,有人说是由于安装 Agent 时提供的 "Specify Agent Registration Password" 与实际的 OMS's "Agent Registration Passwords" 不符造成的,准备按照他的方法先重设 Agent Registration Passwords
后来发现EM打不开,一看原来HTTP_Server没有启动
[oracle@cfbgc 8430622]$ cd /opt/oracle/OracleHomes/oms10g/opmn/bin/
[oracle@cfbgc bin]$ opmnctl status
Processes in Instance: EnterpriseManager0.cfbgc.localdomain
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 31667 | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 31668 | Alive
OC4J | OC4J_EM | 31669 | Alive
OC4J | OC4J_EMPROV | 31679 | Alive
WebCache | WebCache | 24721 | Alive
WebCache | WebCacheAdmin | 31681 | Alive
启动HTTP_Server
[oracle@cfbgc bin]$opmnctl startproc ias-component=HTTP_Server
Error
--> Process (pid=24140)
failed to start a managed process after the maximum retry limit
Log:
/u01/app/oracle/product/10.2.0GC/oms10g/opmn/logs/HTTP_Server~1
查看日志
[error] mod_ossl: Init: Server ysoms01:1159: SSL setup failed: call to nzos_OpenWallet returned error 28750
[error] mod_ossl: Unknown error
Configuration assistant "OMS Configuration" failed
-----------------------------------------------------------------------------
The "/opt/oracle/OracleHomes/agent10g/cfgtoollogs/configToolFailedCommands" script. contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script. with passwords (if any) before executing the same.
是由于安装 Agent 时提供的 "Specify Agent Registration Password" 与实际的 OMS's "Agent Registration Passwords" 不符造成的
先重设 Agent Registration Passwords 后再点击 "Retry" 按钮重试
opmnctl startproc ias-component=HTTP_Server
[error] mod_ossl: Init: Server ysoms01:1159: SSL setup failed: call to nzos_OpenWallet returned error 28750
[error] mod_ossl: Unknown error
最后在网上查了下发现这是个bug,需要安装patch 8430622
注意:升级的时候不要退出之前的安装画面
注意:Patch 8430622中描述的ORACLE_HOME在这里指的是$OMS_HOME
先设置$ORACLE_HOME并停止oms
[oracle@cfbgc OPatch]$ echo $ORACLE_HOME
/opt/oracle/OracleHomes/db10g/
[oracle@cfbgc OPatch]$ export ORACLE_HOME=/opt/oracle/OracleHomes/oms10g/
[oracle@cfbgc OPatch]$ echo $ORACLE_HOME
/opt/oracle/OracleHomes/oms10g/
[oracle@cfbgc OPatch]$ cd ../bin/
[oracle@cfbgc bin]$ ./emctl stop oms
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Oracle Management Server is Down.
[oracle@cfbgc bin]$ cd /home/oracle/8430622/
[oracle@cfbgc 8430622]$ /opt/oracle/OracleHomes/oms10g/OPatch/opatch apply
Invoking OPatch 10.2.0.3.0
Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /opt/oracle/OracleHomes/oms10g
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.3.0
OUI version : 10.2.0.3.0
OUI location : /opt/oracle/OracleHomes/oms10g//oui
Log file location : /opt/oracle/OracleHomes/oms10g/cfgtoollogs/opatch/opatch2011-01-02_20-24-43PM.log
ApplySession applying interim patch '8430622' to OH '/opt/oracle/OracleHomes/oms10g'
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8430622' for restore. This might take a while...
Backing up files affected by the patch '8430622' for rollback. This might take a while...
Patching component oracle.sysman.top.oms, 10.2.0.3.0...
Updating jar file "/opt/oracle/OracleHomes/oms10g/sysman/jlib/emagentSDK.jar" with "/sysman/jlib/emagentSDK.jar/oracle/sysman/eml/sec/util/RootCert.class"
ApplySession adding interim patch '8430622' to inventory
Verifying the update...
Inventory check OK: Patch ID 8430622 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 8430622 are present in Oracle Home.
OPatch succeeded.
[oracle@cfbgc 8430622]$
[oracle@cfbgc oms10g]$ cd opmn/
[oracle@cfbgc opmn]$ cd bin/
[oracle@cfbgc bin]$ ./opmnctl stopall
opmnctl: stopping opmn and all managed processes...
[oracle@cfbgc bin]$ cd ..
[oracle@cfbgc opmn]$ cd ..
[oracle@cfbgc oms10g]$ cd bin/
[oracle@cfbgc bin]$ ./emctl secure oms -reset
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root Password : 输入sys密码:test123
Enter Agent Registration password : 输入agent密码:abc123
OPMN processes already stopped... Done.
Securing central oms... Started.
Checking Repository... Done.
Checking Em Key... Done.
Checking Repository for an existing Enterprise Manager Root Key...
WARNING! An Enterprise Manager Root Key already exists in
the Repository. This operation will replace your Enterprise
Manager Root Key.
All existing Agents that use HTTPS will need to be
reconfigured if you proceed. Do you wish to continue and
overwrite your Root Key
(Y/N) ?
Y
Are you sure ? Reset of the Enterprise Manager Root Key
will mean that you will need to reconfigure each Agent
that is associated with this OMS before they will be
able to upload any data to it. Monitoring of Targets
associated with these Agents will be unavailable until
after they are reconfigured.
(Y/N) ?
Y
Generating Enterprise Manager Root Key (this takes a minute)... Done.
Fetching Root Certificate from the Repository... Done.
Generating Registration Password Verifier in the Repository... Done.
Generating Oracle Wallet Password for Enterprise Manager OMS... Done.
Generating Oracle Wallet for Enterprise Manager OMS... Done.
Generating Oracle Wallet for iAS HTTP Server... Done.
Updating HTTPS port in emoms.properties file... Done.
Generating HTTPS Virtual Host for Enterprise Manager OMS... Done.
Securing central oms... Ended.
[oracle@cfbgc bin]$
[oracle@cfbgc bin]$ pwd
/opt/oracle/OracleHomes/oms10g/bin
[oracle@cfbgc bin]$ ./emctl start oms
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
opmnctl: opmn is already running
Starting HTTP Server ...
Starting Oracle Management Server ...
Checking Oracle Management Server Status ...
Oracle Management Server is Up.
[oracle@cfbgc bin]$
再次“Retry”继续,安装成功.

MySQLdiffersfromotherSQLdialectsinsyntaxforLIMIT,auto-increment,stringcomparison,subqueries,andperformanceanalysis.1)MySQLusesLIMIT,whileSQLServerusesTOPandOracleusesROWNUM.2)MySQL'sAUTO_INCREMENTcontrastswithPostgreSQL'sSERIALandOracle'ssequenceandt

MySQLパーティション化により、パフォーマンスが向上し、メンテナンスが簡素化されます。 1)大きなテーブルを特定の基準(日付範囲など)、2)物理的に独立したファイルに物理的に分割する、3)MySQLはクエリするときに関連するパーティションに焦点を合わせることができます。

mysqlで許可を許可および取り消す方法は? 1。grantallprivilegesondatabase_name.to'username'@'host 'などの許可を付与するために付与ステートメントを使用してください。 2。Revokeallprivilegesondatabase_name.from'username'@'host 'など、Revoke Statementを使用して、許可のタイムリーな通信を確保します。

INNODBは、トランザクションサポートと高い並行性を必要とするアプリケーションに適していますが、Myisamはより多くの読み取りとより少ない書き込みを必要とするアプリケーションに適しています。 1.INNODBは、eコマースおよび銀行システムに適したトランザクションおよび銀行レベルのロックをサポートしています。 2. Myisamは、ブログやコンテンツ管理システムに適した、迅速な読み取りとインデックス作成を提供します。

MySQLには4つのメイン結合タイプがあります:innerjoin、leftjoin、rightjoin、fullouterjoin。 1.InnerJoinは、結合条件を満たす2つのテーブルのすべての行を返します。 2.右のテーブルに一致する行がない場合でも、Leftjoinは左のテーブルのすべての行を返します。 3。右joinはleftjoinに反しており、右のテーブルのすべての行を返します。 4.fullouterjoinは、結合条件を満たしている、または満たさない2つのテーブルのすべての行を返します。

mysqloffersvariousstorageEngines、それぞれのfordifferentusecases:1)Innodbisidealforapplicationsingingidcomplianceanceandhighconcurrency、support transactions andforeignkeys.2)myisamisbestforread-havyworkloads、transactionsupptort.3)

MySQLの一般的なセキュリティの脆弱性には、SQLインジェクション、弱いパスワード、不適切な許可構成、および非合事ソフトウェアが含まれます。 1。SQL注射は、前処理ステートメントを使用することで防ぐことができます。 2。強力なパスワード戦略を強制的に使用することにより、弱いパスワードを回避できます。 3.不適切な許可構成は、ユーザー許可の定期的なレビューと調整を通じて解決できます。 4.未使用のソフトウェアは、MySQLバージョンを定期的にチェックして更新することでパッチを適用できます。

MySQLの遅いクエリを識別することは、遅いクエリログを有効にし、しきい値を設定することで実現できます。 1.スロークエリログを有効にし、しきい値を設定します。 2.スロークエリログファイルを表示および分析し、詳細な分析のためにMySQLDumpSlowやPT-Query-Digestなどのツールを使用します。 3.インデックスの最適化、クエリの書き換え、およびselect*の使用を回避することで、遅いクエリの最適化を実現できます。


ホットAIツール

Undresser.AI Undress
リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover
写真から衣服を削除するオンライン AI ツール。

Undress AI Tool
脱衣画像を無料で

Clothoff.io
AI衣類リムーバー

Video Face Swap
完全無料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡単に交換できます。

人気の記事

ホットツール

Safe Exam Browser
Safe Exam Browser は、オンライン試験を安全に受験するための安全なブラウザ環境です。このソフトウェアは、あらゆるコンピュータを安全なワークステーションに変えます。あらゆるユーティリティへのアクセスを制御し、学生が無許可のリソースを使用するのを防ぎます。

メモ帳++7.3.1
使いやすく無料のコードエディター

SAP NetWeaver Server Adapter for Eclipse
Eclipse を SAP NetWeaver アプリケーション サーバーと統合します。

SublimeText3 中国語版
中国語版、とても使いやすい

EditPlus 中国語クラック版
サイズが小さく、構文の強調表示、コード プロンプト機能はサポートされていません

ホットトピック









