Agent foreground mode

If the agent crashes with no useful errors in the logs, you can run it in foreground mode where it will not become a daemon and will stay attached to your terminal.

Any crash output will be shown in the console which you can send us to help debug the problem. 

Running in foreground mode

Package (via apt/yum)

/usr/share/python/sd-agent/bin/python /usr/share/python/sd-agent/agent.py foreground

Source:

Please note /root/.sd-agent/ is the typical source install directory, but this can be configured so your source install directory may be different.

/root/.sd-agent/venv/bin/python /root/.sd-agent/agent/agent.py foreground

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Monday  —  Friday.

10am  —  6pm UK.

Dedicated Support.