ActiveIQ Unified Manager脚本失败、并显示"Request cannot be processed due to internal server error"
适用场景
问题描述
触发警报后、附加的脚本将自动运行并执行类似于以下命令的命令:
um run cmd -t 600 <cluster>"vol modify -vserver <vserver_name> -volume <volume_name> -files 31876689"
但是、在命令行界面上手动测试命令时、返回以下错误:
ERROR : Request cannot be processed due to internal server error.
ocumserver.log日志显示:
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
server.log显示:
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
有关日志位置、请查看以下知识库:
What are the notable log files and their respective locations for Active IQ Unified Manager ?