Data Protection Advisor (DPA): Fejl under opgradering eller installation "Kunne ikke initialisere klasse java.awt.Toolkit"

Sommaire: Fejl under opgradering eller installation "Kunne ikke initialisere klasse java.awt.Toolkit"

Cet article s’applique à Cet article ne s’applique pas à Cet article n’est lié à aucun produit spécifique. Toutes les versions de produits ne sont pas identifiées dans cet article.

Symptômes

Når du forsøger at opgradere eller installere DPA på program- eller Datastore-serveren på Linux, afsluttes installationsprogrammet straks med følgende fejl i kommandolinjen:

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)

Denne applikation afsluttes uventet: Aktivering af dette Java-program har forårsaget en InvocationTargetException. Dette program afsluttes nu. (LAX)

Cause

Data Protection Advisor virker efter hensigten.
Visse 64-bit systembiblioteker blev ikke installeret på O/S
For at identificere de manglende systembiblioteker

kan følgende kommando køre på libawt_xawt.so, som er placeret på <install_dir>/services/_jre/lib/amd64/:
 
ldd libawt_xawt.so
Nedenfor er et eksempel på kommandooutputtet:
[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 manglende biblioteker skal installeres på O/S, for at installationsprogrammet kan fuldføres.  Værktøjer som Yum eller Yast kan bruges til at installere de manglende biblioteker.
Når installationen af de manglende biblioteker er fuldført, kan følgende kommando køres igen for at bekræfte, at alle de nødvendige biblioteker nu er på plads:
ldd libawt_xawt.so
Kontakt Dell EMC Teknisk support for at få yderligere oplysninger.

Renseignements supplémentaires

Produits touchés

Data Protection Advisor
Propriétés de l’article
Numéro d’article: 000057018
Type d’article: Solution
Dernière modification: 23 juin 2026
Version:  7
Obtenez des réponses à vos questions auprès d’autre utilisateurs de Dell
Services de soutien
Vérifiez si votre appareil est couvert par les services de soutien.