Data Protection Advisor (DPA): Fout tijdens de upgrade of installatie "Could not initialize class java.awt.Toolkit"

Résumé: Fout tijdens de upgrade of installatie "Could not initialize class java.awt.Toolkit"

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes

Wanneer u probeert DPA te upgraden of te installeren op een applicatie- of datastoreserver op Linux, wordt het installatieprogramma onmiddellijk afgesloten met de volgende fout in de opdrachtregel:

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)

Deze applicatie is onverwacht gestopt: Het aanroepen van deze Java-applicatie heeft een InvocationTargetException veroorzaakt. Deze applicatie wordt nu afgesloten. (LAKS)

Cause

Data Protection Advisor werkt naar behoren.
Bepaalde 64-bits systeembibliotheken zijn niet geïnstalleerd op het besturingssysteem


Om de ontbrekende systeembibliotheken te identificeren, kan de volgende opdracht worden uitgevoerd op libawt_xawt.so, die zich bevindt op <install_dir>/services/_jre/lib/amd64/:
 
ldd libawt_xawt.so
Hieronder ziet u een voorbeeld van de opdrachtuitvoer:
[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

Résolution

De ontbrekende bibliotheken moeten op het besturingssysteem worden geïnstalleerd om het installatieprogramma met succes te kunnen voltooien.  Tools zoals Yum of Yast kunnen worden gebruikt om de ontbrekende bibliotheken te installeren.
Zodra de installatie van de ontbrekende bibliotheken is voltooid, kan de volgende opdracht opnieuw worden uitgevoerd om te bevestigen dat alle vereiste bibliotheken nu aanwezig zijn:
ldd libawt_xawt.so
Neem contact op met Dell EMC Technische Support voor meer details of informatie.

Informations supplémentaires

Produits concernés

Data Protection Advisor
Propriétés de l’article
Numéro d’article: 000057018
Type d’article: Solution
Dernière modification: 29 juil. 2025
Version:  5
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.