ActiveIQ Unified Manager script failing with "Request cannot be processed due to internal server error"
Applies to
Issue
When an alert gets triggered, an attached script that should run automatically and execute a command similar to the one below:
um run cmd -t 600 <cluster> "vol modify -vserver <vserver_name> -volume <volume_name> -files 31876689"
However, the following error is returned when testing the command manually on the CLI:
ERROR : Request cannot be processed due to internal server error.
The ocumserver.log log shows:
2023-02-24 11:47:20,974 INFO [umadmin] [default task-16154] [c.n.d.a.c.rbac.AccessControlAdvisor] Checking user umadmin has required privileges [System.Administer, Storage.Administer] for method invocation execution(public com.netapp.dfm.api.rest.OntapCommandResultResponse com.netapp.dfm.apihandler.rest.controller.RunOntapCommandController.result(java.lang.String,int,com.netapp.dfm.api.rest.OntapCommandResultResponse))
2023-02-24 11:47:21,239 ERROR [umadmin] [default task-16154] [c.n.o.r.m.e.GlobalExceptionHandler] Could not initialize class com.netapp.common.xml.JaxpContext
java.lang.NoClassDefFoundError: Could not initialize class com.netapp.common.xml.JaxpContext
The server.log shows:
2023-02-10 14:12:11,142 ERROR [stderr] (pool-31-thread-4) Exception in thread "pool-31-thread-4" java.lang.ExceptionInInitializerError
2023-02-10 14:12:11,144 ERROR [stderr] (pool-31-thread-4) Caused by: java.lang.IllegalStateException: Unable to determine StAX implementation: class com.ctc.wstx.stax.WstxInputFactory
2023-02-10 14:13:13,402 ERROR [stderr] (cluster-ems-configure-3) Exception in thread "cluster-ems-configure-3" java.lang.NoClassDefFoundError: Could not initialize class com.netapp.common.xml.JaxpContext
For log locations, review the KB below:
What are the notable log files and their respective locations for Active IQ Unified Manager?