Cannot run program "swadm": error=2, No such file or directory in ipac.log

Cannot run program "swadm": error=2, No such file or directory in ipac.log

book

Article ID: KB0077822

calendar_today

Updated On:

Products Versions
TIBCO iProcess Engine (Oracle) 11.7.0

Description

Attempting to login to the TIBCO iProcess Administration Consol (ipac) on v11.7.0 (on Linux) on a newly installed node can return:
 
Http failure response for https://{URL to iPE machine}:8443/API/ipac/authentication: 403 OK

and the $SWDIR/logs/ipac.log can contain the error:
 
2019-06-26 07:02:13,072 [ERROR] com.tibco.api.startup.StartupServlet getMachineId() - The exception is Cannot run program "swadm": error=2, No such file or directory

Issue/Introduction

Getting an error when running iProcess Administration Console

Resolution

The tomcat servlet that runs the iProcess Adminstration Console may not be able to find the swadm command so add $SWDIR/util to the $PATH environment variable for the user starting the ipac:
 
export PATH=$SWDIR/util:$PATH

and restart the ipac tomcat servlet with "ipac start"

Additional Information

https://docs.tibco.com/pub/ipe-db2/11.7.0/doc/pdf/TIB_ipe_11.7_administration_console_users_guide.pdf