Data Protection Advisor (DPA): Feil under oppgradering eller installasjon "Kunne ikke initialisere klassen java.awt.Toolkit"

Summary: Feil under oppgradering eller installasjon "Kunne ikke initialisere klassen java.awt.Toolkit"

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Når du prøver å oppgradere eller installere DPA på Application eller Datastore-serveren på Linux, avsluttes installasjonsprogrammet umiddelbart med følgende feil 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 applikasjonen ble avsluttet uventet: Påkalling av denne Java-applikasjonen har forårsaket en InvocationTargetException. Denne applikasjonen kan nå avsluttes. (LAX)

Cause

Data Protection Advisor fungerer som den skal.
Enkelte 64-biters systembiblioteker ble ikke installert på O/S
For å identifisere de manglende systembibliotekene kan følgende kommando kjøres

libawt_xawt.so som ligger på <install_dir>/services/_jre/lib/amd64/:
 
ldd libawt_xawt.so
Nedenfor er et eksempel på kommandoutdataene:
[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

Resolution

De manglende bibliotekene må installeres på operativsystemet for at installasjonsprogrammet skal kunne fullføres.  Verktøy som Yum eller Yast kan brukes til å installere de manglende bibliotekene.
Når installasjonen av de manglende bibliotekene er fullført, kan følgende kommando kjøres igjen for å bekrefte at alle nødvendige biblioteker nå er på plass:
ldd libawt_xawt.so
Ta kontakt med Dell EMC teknisk kundestøtte hvis du vil ha mer informasjon.

Additional Information

Affected Products

Data Protection Advisor
Article Properties
Article Number: 000057018
Article Type: Solution
Last Modified: 29 Jul 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.