Précédent   Forum des professionnels en informatique > Bases de données > Oracle > Outils > Entreprise Manager
Entreprise Manager Forum d'entraide Oracle Enterprise Manager
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 04/06/2008, 18h19   #1
Futur Membre du Club
 
Inscription : septembre 2006
Messages : 65
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 65
Points : 15
Points : 15
Par défaut Problème lors de la création du repository pour EM

Bonjour,

Conf : Linux (Ubuntu) et Oracle 10gR2

La configuration de la base ayant changé. J'ai exécuté la commande
"emca -deconfig dbcontrol db -repos drop" afin de mettre à jour dbcontrol.

Ensuite, j'ai exécuté la commande "emca -config dbcontrol db -repos create".

Et j'obtiens cette erreur
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
...
Jun 4, 2008 5:45:54 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /oracle/10g/cfgtoollogs/emca/IDPROD1/emca_repos_create_2008-06-04_05-45-54-PM.log
Jun 4, 2008 5:45:54 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jun 4, 2008 5:46:28 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-24344: success with compilation error
ORA-06512: at line 38

oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-24344: success with compilation error
ORA-06512: at line 38

        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:841)
        at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:265)
        at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:306)
        at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:360)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:182)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
        at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Jun 4, 2008 5:46:28 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Jun 4, 2008 5:46:28 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /oracle/10g/cfgtoollogs/emca/IDPROD1/emca_repos_create_<date>.log for more details.
Jun 4, 2008 5:46:28 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /oracle/10g/cfgtoollogs/emca/IDPROD1/emca_2008-06-04_05-45-29-PM.log for more details.
Jun 4, 2008 5:46:28 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:194)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:124)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
        at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Est-ce que qqn aurait une idée du problème?

J'ai également vérifié le log en gras, et ce dernier contient également une erreur de compilation
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
...
No errors.
No errors.
No errors.
No errors.
 
Warning: Package Body created WITH compilation errors.
 
No errors.
No errors.
No errors.
No errors.
...
Package body created.
 
No errors.
 
Recompile invalid objects...
 
ERROR:
ORA-24344: success WITH compilation error
ORA-06512: at line 38
Est-ce que qqn a une idée pour corriger le problème?

Je vous remercie d'avance.
cedrich est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/06/2008, 14h56   #2
Invité de passage
 
Inscription : juin 2008
Messages : 2
Détails du profil
Informations forums :
Inscription : juin 2008
Messages : 2
Points : 2
Points : 2
Par défaut Problème de droits

J'ai eu le même problème. Pour moi il s'agissait d'un pb de droits.
OEM m'avait dit de revoker certains droits, mais il a besoin de ces droits pour recréer le repository (voir plus, qui sait...)

en sys (as sysdba) j'ai lancé les commandes suivantes :

Code :
1
2
3
4
 
GRANT execute ON UTL_HTTP  TO public;
GRANT execute ON UTL_SMTP  TO public;
GRANT execute ON UTL_TCP  TO public;
J'espère que cela t'aidera.
30 seconds est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/06/2008, 15h33   #3
Futur Membre du Club
 
Inscription : septembre 2006
Messages : 65
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 65
Points : 15
Points : 15


Merci beaucoup!

Le repository s'est créé correctement.

Meilleures salutations!
cedrich est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 01h47.


 
 
 
 
Partenaires

Hébergement Web