Data Protection Advisor (DPA) : Erreur lors de la mise à niveau ou de l’installation « Could not initialize class java.awt.Toolkit »

Samenvatting: Erreur lors de la mise à niveau ou de l’installation « Could not initialize class java.awt.Toolkit »

Dit artikel is van toepassing op Dit artikel is niet van toepassing op Dit artikel is niet gebonden aan een specifiek product. Niet alle productversies worden in dit artikel vermeld.

Symptomen

Lorsque vous tentez de mettre à niveau ou d’installer DPA sur un serveur d’applications ou de magasins de données sous Linux, le programme d’installation se ferme immédiatement avec l’erreur suivante dans la ligne de commande :

Stack Trace :
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
        at java.awt.Component.<clinit>(Component.java:593)
        at com.zerog.ia.installer.actions.InstallUninstaller.bv(Unknown Source)
        at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.Installer.install(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
        at com.zerog.ia.installer.Main.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.zerog.lax.LAX.launch(Unknown Source)
        at com.zerog.lax.LAX.main(Unknown Source)

Cette application a quitté de manière inattendue : L’invocation de cette application Java a provoqué une InvocationTargetException. Cette application va maintenant se fermer. (LAX)

Oorzaak

Data Protection Advisor fonctionne normalement.
Certaines bibliothèques système 64 bits n’ont pas été installées


sur le système d’exploitation. Pour identifier les bibliothèques système manquantes, la commande suivante peut être exécutée sur libawt_xawt.so qui se trouve à l’adresse <install_dir>/services/_jre/lib/amd64/ :
 
ldd libawt_xawt.so
Vous trouverez ci-dessous un exemple de sortie de commande :
[root@App_hostname amd64]# ldd libawt_xawt.so
        linux-vdso.so.1 =>  (0x00007fffbef89000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9b22f53000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f9b22c50000)
        libawt.so => /opt/emc/dpa/services/_jre/lib/amd64/./libawt.so (0x00007f9b22980000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007f9b2276e000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f9b2242f000)
        libXrender.so.1 => not found  <<
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f9b2222b000)
        libXtst.so.6 => not found  <<
        libXi.so.6 => not found  <<
        libjava.so => /opt/emc/dpa/services/_jre/lib/amd64/./libjava.so (0x00007f9b21ffb000)
        libjvm.so => not found  <<
        libc.so.6 => /lib64/libc.so.6 (0x00007f9b21c37000)
        /lib64/ld-linux-x86-64.so.2 (0x000055614bbdf000)
        libjvm.so => not found
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f9b21a0e000)
        libjvm.so => not found
        libverify.so => /opt/emc/dpa/services/_jre/lib/amd64/./libverify.so (0x00007f9b217fe000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f9b215fa000)
        libjvm.so => not found

Oplossing

Les bibliothèques manquantes doivent être installées sur le système d’exploitation pour permettre au programme d’installation de s’exécuter correctement.  Des outils tels que Yum ou Yast peuvent être utilisés pour installer les bibliothèques manquantes.
Une fois l’installation des bibliothèques manquantes terminée, la commande suivante peut être exécutée à nouveau pour confirmer que toutes les bibliothèques requises sont désormais en place :
ldd libawt_xawt.so
Contactez le support technique Dell EMC pour obtenir plus d’informations.

Extra informatie

Getroffen producten

Data Protection Advisor
Artikeleigenschappen
Artikelnummer: 000057018
Artikeltype: Solution
Laatst aangepast: 23 jun. 2026
Versie:  7
Vind antwoorden op uw vragen via andere Dell gebruikers
Support Services
Controleer of uw apparaat wordt gedekt door Support Services.