Install telegraf

I want to make telegraf available in influxdb2. When installing telegraf with “sudo apt install telegraf” I get the message:
“telegraf is already the latest version (1.33.0-1).”
But the service cannot be started.

pi@raspi1:~ $ sudo systemctl start telegraf
Job for telegraf.service failed because the control process exited with error code.
See "systemctl status telegraf.service" and "journalctl -xe" for details.
pi@raspi1:~ $ systemctl status telegraf.service
● telegraf.service - Telegraf
     Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-12-13 14:51:23 CET; 1s ago
       Docs: https://github.com/influxdata/telegraf
    Process: 17781 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS (code=e>
   Main PID: 17781 (code=exited, status=1/FAILURE)
        CPU: 350ms

Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 14:51:23 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 14:51:23 raspi1 systemd[1]: Failed to start Telegraf.
lines 1-13/13 (END)

What does it have in the service logs?

pi@raspi1:~ $ date
Fr 13. Dez 16:33:22 CET 2024
pi@raspi1:~ $ systemctl status telegraf.service
● telegraf.service - Telegraf
     Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-12-13 14:51:23 CET; 1h 42min ago
       Docs: https://github.com/influxdata/telegraf
    Process: 17781 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS (code=e>
   Main PID: 17781 (code=exited, status=1/FAILURE)
        CPU: 350ms

Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 14:51:23 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 14:51:23 raspi1 systemd[1]: Failed to start Telegraf.

pi@raspi1:~ $ journalctl --since "2024-12-13 16:33:22"
-- Journal begins at Sun 2024-12-01 01:55:44 CET, ends at Fri 2024-12-13 16:34:27 CET. --
Dez 13 16:33:25 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3816.
Dez 13 16:33:25 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3816.
Dez 13 16:33:25 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:25 raspi1 systemd[31087]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[31087]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:25 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:25 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:25 raspi1 systemd[31088]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[31088]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:25 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:25 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:25 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:28 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3817.
Dez 13 16:33:28 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3817.
Dez 13 16:33:28 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:28 raspi1 systemd[31092]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[31092]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:28 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:28 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:28 raspi1 systemd[31093]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[31093]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:28 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:28 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:28 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3818.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3818.
Dez 13 16:33:31 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:31 raspi1 systemd[31102]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[31102]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:31 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:31 raspi1 systemd[31103]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[31103]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:31 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:31 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:34 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3819.
Dez 13 16:33:34 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3819.
Dez 13 16:33:34 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:34 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:34 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:34 raspi1 systemd[31107]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[31107]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:34 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:34 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:34 raspi1 systemd[31109]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[31109]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:34 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:38 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3820.
Dez 13 16:33:38 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3820.
Dez 13 16:33:38 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:38 raspi1 systemd[31114]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[31114]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:38 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:38 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:38 raspi1 systemd[31115]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[31115]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:38 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:38 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:38 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:41 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3821.
Dez 13 16:33:41 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3821.
Dez 13 16:33:41 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:41 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:41 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:41 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:41 raspi1 systemd[31120]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[31121]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[31120]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[31121]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:41 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:41 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:41 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3822.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3822.
Dez 13 16:33:44 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:44 raspi1 systemd[31126]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[31126]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:44 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:44 raspi1 systemd[31127]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[31127]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:44 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:44 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:47 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3823.
Dez 13 16:33:47 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3823.
Dez 13 16:33:47 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:47 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:47 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:47 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:47 raspi1 systemd[31132]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[31132]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:47 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:47 raspi1 systemd[31131]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[31131]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:47 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:51 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3824.
Dez 13 16:33:51 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3824.
Dez 13 16:33:51 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:51 raspi1 systemd[31140]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[31140]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:51 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:51 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:51 raspi1 systemd[31141]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[31141]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:51 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:51 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:51 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:54 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3825.
Dez 13 16:33:54 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3825.
Dez 13 16:33:54 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:54 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:54 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:54 raspi1 systemd[31145]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[31145]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:54 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:54 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:54 raspi1 systemd[31146]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[31146]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:54 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:57 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3826.
Dez 13 16:33:57 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3826.
Dez 13 16:33:57 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:57 raspi1 systemd[31153]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[31153]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:57 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:57 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:57 raspi1 systemd[31154]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[31154]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:57 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:57 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:57 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:00 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3827.
Dez 13 16:34:00 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3827.
Dez 13 16:34:00 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:00 raspi1 systemd[31158]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[31158]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:00 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:00 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:00 raspi1 systemd[31159]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[31159]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:00 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:00 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:00 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:04 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3828.
Dez 13 16:34:04 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3828.
Dez 13 16:34:04 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:04 raspi1 systemd[31167]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:04 raspi1 systemd[31167]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:04 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:04 raspi1 systemd[31168]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[31168]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:04 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:04 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:04 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:07 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3829.
Dez 13 16:34:07 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3829.
Dez 13 16:34:07 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:07 raspi1 systemd[31172]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[31172]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:07 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:07 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:07 raspi1 systemd[31173]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[31173]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:07 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:07 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:07 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:10 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3830.
Dez 13 16:34:10 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3830.
Dez 13 16:34:10 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:10 raspi1 systemd[31180]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[31180]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:10 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:10 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:10 raspi1 systemd[31181]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[31181]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:10 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:10 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:10 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:13 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3831.
Dez 13 16:34:13 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3831.
Dez 13 16:34:13 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:13 raspi1 systemd[31186]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[31186]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:13 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:13 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:13 raspi1 systemd[31187]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[31187]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:13 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:13 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:13 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:17 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3832.
Dez 13 16:34:17 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3832.
Dez 13 16:34:17 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:17 raspi1 systemd[31195]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[31195]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:17 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:17 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:17 raspi1 systemd[31196]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[31196]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:17 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:17 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:17 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:20 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3833.
Dez 13 16:34:20 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3833.
Dez 13 16:34:20 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:20 raspi1 systemd[31201]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[31201]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:20 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:20 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:20 raspi1 systemd[31203]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[31203]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:20 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:20 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:20 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:23 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3834.
Dez 13 16:34:23 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3834.
Dez 13 16:34:23 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:23 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:23 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:23 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:23 raspi1 systemd[31208]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[31208]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[31209]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[31209]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:23 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:23 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:23 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:26 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3835.
Dez 13 16:34:26 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3835.
Dez 13 16:34:26 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:26 raspi1 systemd[31214]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[31214]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:26 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:26 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:26 raspi1 systemd[31215]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[31215]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:26 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:26 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:26 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:30 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3836.
Dez 13 16:34:30 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3836.
Dez 13 16:34:30 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:30 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:30 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:30 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:30 raspi1 systemd[31223]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[31223]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[31224]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[31224]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:30 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:30 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:30 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.

I had created the webcit directories by hand. That didn’t help.

pi@raspi1:~ $ cd /usr/local
pi@raspi1:/usr/local $ ls
bin  etc  games  include  lib  man  sbin  share  src  webcit
pi@raspi1:/usr/local $ cd webcit
pi@raspi1:/usr/local/webcit $ ls
webcit:
pi@raspi1:/usr/local/webcit $ 

What has this “webcit” service to do with telegraf?

Please show the logs of telegraf, so we can see the error reporting when shutting down. (journalctl -u telegraf.service)

Dez 13 20:13:34 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:34 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:34 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:34 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 2.
Dez 13 20:13:34 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:34 raspi1 systemd[1]: Starting Telegraf...
Dez 13 20:13:35 raspi1 telegraf[937]: 2024-12-13T19:13:35Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:35 raspi1 telegraf[937]: 2024-12-13T19:13:35Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:35 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 3.
Dez 13 20:13:35 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:35 raspi1 systemd[1]: Starting Telegraf...
Dez 13 20:13:35 raspi1 telegraf[948]: 2024-12-13T19:13:35Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:35 raspi1 telegraf[948]: 2024-12-13T19:13:35Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:35 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 4.
Dez 13 20:13:36 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: Starting Telegraf...
Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 20:13:36 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.

pi@raspi1:~ $ date
Di 17. Dez 14:00:00 CET 2024

Still failing to give complete output, but anyway, this line should be a hint…

Dez 13 20:13:35 raspi1 telegraf[948]: 2024-12-13T19:13:35Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>

The line is truncated, but I guess you can continue with that…

Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/telegraf/telegraf.conf: permission denied
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 20:13:36 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.

Access denied. I have actually assigned all rights. What else could be missing?

Why is it still “Dec 13”? The date is current.