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

Summary: Fejl under opgradering eller installation "Kunne ikke initialisere klasse 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 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

Resolution

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.

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.