Skip to main content
Version: Next

Starting and verifying the Executor service

After installing the Executor package and running the initial migration and first-run scripts, you should start the service and verify that it is running correctly. This ensures that the API is operational and ready to handle requests.

Start the service

Use systemctl to start the executor-api service:

sudo systemctl start executor-api

This will start the Executor API as a systemd-managed service.

Check service status

Verify that the service is active and running:

sudo systemctl status executor-api

Expected output should include:

Active: active (running) indicates the service is running successfully.

If the status shows inactive or failed, review the logs.

View logs

Check runtime logs for errors or confirmation that the API is operational:

journalctl -u executor-api -f

This displays live logs from the service.

Look for messages indicating that the API has started successfully and is listening on the configured port.

Additionally, Executor API logs are written to:

/var/log/executor/

You can inspect them directly:

tail -100f /var/log/executor/api-general.log

or

tail -100f /var/log/executor/api-error.log

Summary

  • Start the service: sudo systemctl start executor-api
  • Check service status: sudo systemctl status executor-api
  • Inspect logs via journalctl or /var/log/executor/:
journalctl -u executor-api -f
tail -f /var/log/executor/executor-api.log

By following these steps, you ensure that the Executor API is running correctly after installation, with logs available for troubleshooting and monitoring.

Done!

You can access to the appilcation in your browser now!