An issue was encountered where the SC4S service was not getting up and running, which halted the syslog data ingestion to Splunk.
Upon checking the SC4S service status using the below command
sudo systemctl status sc4s
Below error messages were observed:
Sep 19 21:41:17 so1 podman[26741]: Trying to pull docker.io/splunk/scs:latest...
Sep 19 21:41:18 so1 podman[26741]: denied: requested access to the resource is denied
Sep 19 21:41:18 so1 podman[26741]: Error: error pulling image "docker.io/splunk/scs:latest": unable to pull docker.io/splunk/scs:latest: unable to pull
Sep 19 21:41:18 so1 podman[26741]: denied: requested access to the resource is denied
Sep 19 21:41:18 so1 podman[26741]: unauthorized: authentication required
Sep 19 21:41:18 so1 systemd[1]: sc4s.service: control process exited, code=exited status=125
Sep 19 21:41:18 so1 systemd[1]: Failed to start SC4S Container.
The error messages indicated that the SC4S service was unable to pull the required Docker image from docker.io/splunk/scs:latest due to access denial and authentication issues. This suggested that the image repository URI or access credentials might be incorrect or outdated.
To resolve the issue, the image repository URI in the /lib/systemd/system/sc4s.service file needed to be updated. The following steps were taken:
1. On the SC4S server, open the /lib/systemd/system/sc4s.service file for editing.
2. Locate the below line
Environment="SC4S_IMAGE=docker.io/splunk/<image_tag>"
and replace it with the below line
Environment="SC4S_IMAGE=ghcr.io/splunk/splunk-connect-for-syslog/container:<image_tag>
Note: Replace the <image_tag> with the actual version of SC4S image one would like pull from image repository.
3. Restart the SC4S service by running the following commands in sequence:
sudo systemctl daemon-reload
sudo systemctl stop sc4s
sudo systemctl start sc4s
4. Verify the SC4S service is running by running the below command:
sudo systemctl status sc4s
5. Validate whether Syslog data is started getting ingested or not, it should work fine.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |