meta données pour cette page
  •  

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
oracle:emterprisemanager:install [01/02/2025 19:15] mdloracle:emterprisemanager:install [12/02/2025 20:18] (Version actuelle) mdl
Ligne 94: Ligne 94:
   * paquets nécessaires   * paquets nécessaires
 <code BASH> <code BASH>
-yum  install binutils gcc gcc-c++ glibc glibc-devel libaio libgcc libnsl libstdc++  make motif motif-devel openssl sysstat bc compat-openssl11 elfutils-libelf fontconfig ksh libasan liblsan libX11 libXau libXi libXrender libXtst libxcrypt-compat libibverbs librdmacm libxcb libvirt-libs policycoreutils policycoreutils-python-utils smartmontools+yum  install binutils gcc gcc-c++ glibc glibc-devel libaio libgcc libnsl libstdc++  make motif motif-devel openssl sysstat bc compat-openssl11 elfutils-libelf fontconfig ksh libasan liblsan libX11 libXau libXi libXrender libXtst libxcrypt-compat libibverbs librdmacm libxcb libvirt-libs policycoreutils policycoreutils-python-utils smartmontools wget
 </code> </code>
    
Ligne 422: Ligne 422:
 /u01/app/oracle/product/agent/agent_13.5.0.0.0/bin/emctl start agent /u01/app/oracle/product/agent/agent_13.5.0.0.0/bin/emctl start agent
 /u01/app/oracle/product/agent/agent_13.5.0.0.0/bin/emctl status agent /u01/app/oracle/product/agent/agent_13.5.0.0.0/bin/emctl status agent
 +</code>
 +
 +  * Creation du software library
 +<code BASH>
 +$OMS_HOME/bin/emcli login -username=sysman
 +
 +        Enter password
 +
 +        Login successful
 +
 + $OMS_HOME/bin/emcli add_swlib_storage_location -name="swlib_loc" -path="/u01/app/oracle/oraInventory"
 +Location configuration initiated, this may take some time to complete...
 +
 +Location 'swlib_loc' created.
 +Metadata registration will be initiated. This will take a few minutes to complete.
 +INFO [Fri Feb 07 16:31:17 CET 2025] Software Library metadata from all installed plug-ins will be registered.
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025] The following ordered plug-ins were found:
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025]     - oracle.sysman.cfw:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025]     - oracle.sysman.db:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025]     - oracle.sysman.si:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025]     - oracle.sysman.xa:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025]     - oracle.sysman.emas:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:17 CET 2025] Starting Software Library metadata registration for platform ...
 +
 +INFO [Fri Feb 07 16:31:28 CET 2025] Finished registering Software Library metadata for platform.
 +
 +INFO [Fri Feb 07 16:31:28 CET 2025] Starting Software Library metadata registration for plug-in - oracle.sysman.cfw:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:29 CET 2025] Finished registering Software Library metadata for plug-in - oracle.sysman.cfw:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:29 CET 2025] Starting Software Library metadata registration for plug-in - oracle.sysman.db:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:43 CET 2025] Finished registering Software Library metadata for plug-in - oracle.sysman.db:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:43 CET 2025] Starting Software Library metadata registration for plug-in - oracle.sysman.si:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:43 CET 2025] Finished registering Software Library metadata for plug-in - oracle.sysman.si:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:43 CET 2025] Starting Software Library metadata registration for plug-in - oracle.sysman.xa:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:43 CET 2025] Finished registering Software Library metadata for plug-in - oracle.sysman.xa:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:43 CET 2025] Starting Software Library metadata registration for plug-in - oracle.sysman.emas:13.5.1.0.0:0
 +
 +INFO [Fri Feb 07 16:31:51 CET 2025] Finished registering Software Library metadata for plug-in - oracle.sysman.emas:13.5.1.0.0:0
 +
 +Metadata registration has completed.
 +Location statistics refresh job will be submitted.
 +Location statistics refresh job has been submitted.
 +
 </code> </code>
  
 Installation terminée, connexion via:  Installation terminée, connexion via: 
 https://oem1.labo.local:7803/em https://oem1.labo.local:7803/em
 +
 +
 +
  
  \\  \\
-== ERREURS: ==+== ERREUR ORA-01843 : ==
 //ORA-01843: not a valid month// en fin d'installation OMS //ORA-01843: not a valid month// en fin d'installation OMS
  
Ligne 434: Ligne 494:
  
 Il s'agit d'un bug, corrigé uniquement dans EM 23. Il s'agit d'un bug, corrigé uniquement dans EM 23.
 +L'install est a nettoyer et relancer en changeant la langue
 + \\
  
 +**__Nettoyage__**
   * Lancer le script detachHome   * Lancer le script detachHome
-  * supprimer OMS_HOME du FS+<code BASH> 
 +cd $OMS_HOME/oui/bin  
 +./detachHome.sh 
 + 
 +Le fichier journal du lanceur est /tmp/OraInstall2025-02-01_08-21-52PM/launcher2025-02-01_08-21-52PM.log. 
 +Vérification de l'espace de swap : il doit être supérieur à 500 Mo.   Réel 2047 Mo    Succès 
 +Vérification visant à déterminer si la plate-forme requiert une JVM 64 bits.   Réel 64    Succès (64 bits non requis) 
 +L'opération detachHome a abouti. 
 +Journaux copiés vers /u01/app/oraInventory/logs. 
 + 
 +</code> 
 +  * nettoyage des fichiers sur le FS  
 +<code BASH> 
 +rm -Rf /u01/app/oracle/product/EnterpriseManager/oms_home/
 +rm -Rf /u01/app/oracle/product/agent/agent_13.5.0.0.0/ 
 +</code> 
 +  * valider qu'il n'y a plus de répertoire caché: 
 +<code BASH> 
 +ls -la /u01/app/oracle/product/EnterpriseManager/oms_home/ 
 +ls -la /u01/app/oracle/product/agent/ 
 +</code>
   * nettoyer la BDD   * nettoyer la BDD
     * nettoyage des users     * nettoyage des users
Ligne 482: Ligne 565:
 SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='Service Table'; SQL> delete from SCHEMA_VERSION_REGISTRY where COMP_NAME='Service Table';
 SQL> commit; SQL> commit;
 +</code>
 + \\
 +
 +**__Reinstallation__**
 +
 +  * En root
 +<code BASH>
 +yum install langpacks-en
 +
 +sudo su - oracle
 +
 +locale
 +...
 +
 +localectl set-locale LANG=en_US.utf8
 +
 +locale
 +export LANG=en_US.utf8
 +export LC_ALL=en_US.utf8
 +export NLS_LANG=american_america.utf8
 +
 +
 +export ORACLE_HOSTNAME=oem1.labo.local
 +export CV_ASSUME_DISTID=OL8
 +export SOFTWARE_DIR=/u01/Downloads
 +export SOFTWARE_TEMPDIR=/u01/Downloads/tmp
 +export SOFTWARE_EM_InstallConfFiles=/u01/Downloads/EM_InstallConfFiles
 +
 +
 +cd $SOFTWARE_DIR
 +nohup ./em13500_linux64.bin -J-Djava.io.tmpdir=$SOFTWARE_TEMPDIR -silent -responseFile $SOFTWARE_EM_InstallConfFiles/new_install_oem1.rsp > /tmp/EnterpriseManager-install.log 2>&1 &
 + 
 +tail -f /tmp/EnterpriseManager-install.log 
 </code> </code>