Environment
- AppManager 6.0.2
- AppManager 7.0.x
- AppManager UNIX Agent 6.5
- AppManager UNIX Agent 7.0
- AppManager UNIX Agent 7.0.1 (sp1)
- NetIQ UNIX Agent 7.1
- AppManager UNIX running as a non-root user
Situation
"
JAVA0003: A non-zero exit status was returned by the command:
/opt/IBM/WebSphere/AppServer/bin/wsadmin.sh -conntype SOAP <-username>
<-password> -c '$AdminConfig list Node'
.
.
!MESSAGE Error reading configuration:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration/org.eclipse
.osgi/.manager/.fileTableLock (Permission denied)
.
"
Resolution
The user the NetIQ UNIX Agent is running as needs to be added to the WebSphere Application Server group to have proper privledges to execute wsadmin commands. After correcting the permissions, the NetIQ AppManager UNIX Agent needs to be restarted to pick up the new group membership.
You can verify the proper permissions by logging in as the NetIQ UNIX Agent non-root user and executing the following looking for a zero exit status:
/opt/IBM/WebSphere/AppServer/bin/wsadmin.sh -conntype SOAP <username> <password> -c '$AdminConfig list Node'
Cause
The non-root user the NetIQ UNIX Agent is running as does not have the proper permissions to execute commands to the WebSphere Application Server