WFAgent
Service overview
| 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 settings directory:
<INSTALL_DIR>/wfagent/settings/
common.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.yml
Check 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/java
ss 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
Wfmanager util can be used to check wfagent out (access) log:
wfmanager tail wfagent
Additional logs stored in service's log directory:
<INSTALL_DIR>/wfagent/logs/
metrics.log
status-agent-error.log
status-agent.log
status-agent-process.log
status-agent-user-actions-process.log
xvfb-err.log
xvfb-out.log
Enable debug information.
Add the appropriate log level to <INSTALL_DIR>/wfagent/.wfagent (default is info) using "-Ddebug" option and restart wfagent service:
<INSTALL_DIR>/wfagent/.wfagent
JAVA_OPTS="${JAVA_DEFAULT_OPTS} -Xmx256M -Ddebug=ERROR"
wfmanager restart wfagent