WFAgent
Service information
| Management | wfmanager (start | stop | restart | status) wfagent |
|---|---|
| Log files | Access logs: <INSTALL_DIR>/supervisord/log/wfagent.out.log Service logs: <INSTALL_DIR>/wfagent/logs/ |
| Startup scripts | <INSTALL_DIR>/supervisord/apps/wfagent.ini <INSTALL_DIR>/wfagent/.wfagent |
| Configuration files | Components configuration: |
| Default Ports | internal port: 10101 |
Troubleshooting
Check configuration for syntax errors or warnings.
All configuration files are stored at the settings directory:
<INSTALL_DIR>/wfagent/settingscommon.yml group_apm.yml group_app.yml group_db.yml group_ocr.yml mongodb-ocr.yml mongodb-rpa.yml mongodb-wfa.yml mysql.yml nexus.yml nginx_apm.yml nginx_app.yml nginx_db.yml nginx_ocr.yml notifications.yml ocr.yml postgres.yml riak.yml rpa-manager.yml rpa.yml vault_secret.yml vault.yml wfbi.yml workfusion.yml workspace-production.yml workspace-sandbox.ymlCheck if TCP port 10101 is available (port may be custom).
netstat command output
$ netstat -lntp | grep 10101 tcp6 0 0 127.0.0.1:10101 :::* LISTEN 4622/javass command output
$ ss -ltn | grep 10101 LISTEN 0 100 ::ffff:127.0.0.1:10101 :::*lsof command output
$ lsof -P -n -i :10101 | grep LISTEN java 4622 wfuser 30u IPv6 22975 0t0 TCP 127.0.0.1:10101 (LISTEN)Check the default main log files:
- Access logs:
<INSTALL_DIR>/supervisord/log/wfagent.out.log - Error logs:
<INSTALL_DIR>/supervisord/log/wfagent.err.log
$ tail -f <INSTALL_DIR>/supervisord/log/wfagent.err.log <INSTALL_DIR>/supervisord/log/wfagent.out.log- Access logs:
Use the Wfmanager util to check the wfagent out (access) log:
wfmanager tail wfagentAdditional are logs stored in service's log directory:
<INSTALL_DIR>/wfagent/logsmetrics.log status-agent-error.log status-agent.log status-agent-process.log status-agent-user-actions-process.log xvfb-err.log xvfb-out.logEnable debug information.
Add the appropriate log level to
<INSTALL_DIR>/wfagent/.wfagent(default is info) using the-Ddebugoption and restart the wfagent service:<INSTALL_DIR>/wfagent/.wfagentJAVA_OPTS="${JAVA_DEFAULT_OPTS} -Xmx256M -Ddebug=ERROR"wfmanager restart wfagent