Bonjour,
J'ai une erreur lors de l'instal de grid control release 10g release 2 sur une base de donnée existante (la base existante étant sous hp-ux et le grid control sur windows serveur 2003)
Et dans le log :
Code : Sélectionner tout - Visualiser dans une fenêtre à part OMS Configuration failed
Et dans :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 Command = oracle.sysman.emcp.oms.OmsPlugIn -configureOms Operation EM Deploying is in progress. Operation Creating OMS Respository is in progress. Configuration assistant "OMS Configuration" failed ----------------------------------------------------------------------------- The "D:\appl\grid_control_10g_distant\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.-----------------------------------------------------------------------------
configToolFailedCommands
J'ai :
Log Cfmlogger ==>
Code : Sélectionner tout - Visualiser dans une fenêtre à part oracle.sysman.emcp.agent.AgentPlugInLog emca_repos_create ==>
Code : Sélectionner tout - Visualiser dans une fenêtre à part WARNING: oracle.sysman.top.oms:EmcpPlug:startProcessing:Exception in runner=RepManager Create Repository Error = 12. Please check the log file at D:\appl\grid_control_10g_distant\oms10g\sysman\log\emca_repos_create13_27_16.logVoici les différente piste de réponse que j'ai pu trouver :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 [28-04-2009 13:27:19] Creating repos user ... DECLARE * ERROR at line 1: ORA-01119: error in creating database file '/gl/WWPP2OB1/ora/data/u0/mgmt_ecm_depot1.dbf' ORA-27040: file create error, unable to create file HP-UX Error: 2: No such file or directory ORA-06512: at line 85 [28-04-2009 13:27:20] Failed. [28-04-2009 13:27:20] Repository Creation failed. Failed to create Repos User.
J'ai parcouru la note metalink (Troubleshooting the error oracle.sysman.emcp.agent.AgentPlugIn raised by the Agent Configuration Assistant (AgentCA) | Doc ID: 740628.1 ) sans grand réussite.
Puis j'ai trouvé ca : http://idbasolutions.com/installing-oem-10g-r4-on-windows/
Et puis finalement, ceci
Configuration Assistant
The Enterprise Manager Repository Configuration Assistant displays an error message if the SYSMAN user already exists in the database you specify for the Management Repository. This type of database installation cannot be used for a Management Repository.
If the Management Repository Configuration Assistant fails before completion, you can click Retry, which automatically cleans up the repository when the configuration tool is rerun. To manually clean up the repository, use the following command:
OMS_HOME/sysman/admin/emdrep/bin/RepManager
You may need to set the LD_LIBRARY_PATH to the Management Service's ORACLE_HOME/lib directory before running the script. Refer to the Oracle Enterprise Manager Advanced Configuration for further instructions on how to drop the existing Repository from the database.The listener for the existing database should be the same version as the highest database version on the host. Otherwise, Management Repository creation may fail.
Ca change rien ...$ORACLE_HOME \sysman\admin\emdrep\sql\core\latest\admin\admin_create_repos_user.sql
et tu commente les deux lignes contenant :
Code :
QUOTA ...
et tu recommence l'installation.
Au final, je crois que c'était juste un problème de place (ORA-01119: error in creating database file ==> Cause: Insufficient space on device.) ...If the script fails, then look at the OMS configuration log file. The OMS configuration log file is available in <OMS_ORACLE_HOME>/cfgtoollogs/cfgfw. Scan through the logs to see if you have the following error message:
The installer has detected that there are background dbms jobs currently running in the Repository Database.
Note:
For Agent configuration logs, go to <AGENT_ORACLE_HOME>/cfgtoollogs/cfgfw. For Database configuration logs, go to <DB_ORACLE_HOME>/cfgtoollogs/cfgfw.
If you see the error message, then before upgrading the Management Repository, do the following:
1.
Stop the running DBMS jobs by logging in to SQL as SYSDBA and running the following command:
SQL> exec sysman.emd_maintenance.remove_em_dbms_jobs;
2.
Stop and restart the database.
3.
Check the status of SYSMAN user account:
- Log in to SQLPlus as SYSDBA and run the following query:
select username,account_status from dba_users;
- Ensure that the SYSMAN user account is in 'open' status. If the account is not in open status, then run the following command:
alter user SYSMAN account unlock;
- Commit the changes by running the following command:
commit;
4.
Rerun the ConfigureGC.pl script.
5.
After installation is complete, restart the DBMS jobs by running the following commands, one after the other:
SQL> exec sysman.emd_maintenance.submit_em_dbms_jobs;
SQL> commit;
Partager