Problem
Unable to update the platform. When attempting to update, the following message appears in the terminal:
Configuring system logging service ... fail
Failed to send metrics. Post "http://metricreport.ispsystem.net:8000/product_metric": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Diagnostics
Check the status of the syslog-ng service:
sudo systemctl status syslog-ng
If there is a problem, you will receive one of the following responses:
- service not found;
- failed status;
- empty output.
Solution
To solve the problem:
- Connect to the server with the platform via SSH. For more information about connecting via SSH, see Workstation setup.
- Reinstall syslog-ng:
sudo apt install --reinstall syslog-ng
If syslog-ng was previously deleted and is not present on the server, the command will reinstall it.
- Enable automatic startup of the service:
sudo systemctl enable syslog-ng
- Start the service:
sudo systemctl start syslog-ng
Useful tips
Related topics: