For most Eurotech gateways, ESF will be pre-installed and automatically started on system start up.
ESF is installed as systemd service and its running status can be managed through systemctl command.
There are a few necessary steps to ensure that ESF is running as expected. First, verify that the Java process is running with the following command:
ps aux | grep java
This command should find a process with multiple arguments passed to the JVM. For most ESF-powered gateways, this will be the only Java process running. If there are multiple Java processes, the ESF process can be identified by searching for arguments assigned with "/opt/eurotech".
While there may be multiple Java processes running, and even multiple OSGi containers running, there can be only one ESF process. If multiple ESF processes are detected, the unit should be restarted.
Once the ESF process has been identified, it is important to check the ESF log files for errors. The first log file, located at /var/log/kura-console.log, logs results from the output of the OSGi process. Errors in this log file often indicate critical startup or runtime errors in the framework.
The second log file, located at /var/log/kura.log, logs results from the sl4j bundle within ESF. Information in this log file is reported from logging statements within the ESF framework.
Further information on the installation/uninstallation processes can be found in the system journal. You can use the following command to set the terminal in listening mode on the journal.
If the ESF process is running and the logs files are clear of errors, the ESF framework is working correctly on the target system.
This section provides instructions to install ESF manually.
Updated 5 months ago