Failed to start Telegraf.service (code=exited, status=1/FAILURE)

Hello, I’m new to this community. I’ve successfully installed InfluxDB,Grafana and telegraf on an Ubuntu VM. However, when I attempted to start the Telegraf service for the first time, it failed with the following error message: “Job for telegraf.service failed because the control process exited with error code. See ‘systemctl status telegraf.service’ and ‘journalctl -xe’ for details.”
/etc/telegraf$ service telegraf status
● telegraf.service - Telegraf
Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-03-27 18:59:39 UTC; 19s ago
Docs: GitHub - influxdata/telegraf: The plugin-driven server agent for collecting & reporting metrics.
Process: 10126 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS (code=exited, status=1/FAILURE)
Main PID: 10126 (code=exited, status=1/FAILURE)

Mar 27 18:59:38 graf01 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 18:59:38 graf01 systemd[1]: telegraf.service: Failed with result ‘exit-code’.
Mar 27 18:59:38 graf01 systemd[1]: Failed to start Telegraf.
Mar 27 18:59:39 graf01 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Mar 27 18:59:39 graf01 systemd[1]: Stopped Telegraf.
Mar 27 18:59:39 graf01 systemd[1]: telegraf.service: Start request repeated too quickly.
Mar 27 18:59:39 graf01 systemd[1]: telegraf.service: Failed with result ‘exit-code’.
Mar 27 18:59:39 graf01 systemd[1]: Failed to start Telegraf.

I need assistance with this issue. If anyone has encountered a similar problem before, I would greatly appreciate your help.
-Abdul.

Hello can you please share your logs from running the command journalctl -xe as suggested by the error message?

Mar 29 21:56:29 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:29 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:56:34 graf01 multipathd[770]: sda: add missing path
Mar 29 21:56:34 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:56:34 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:34 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:56:39 graf01 multipathd[770]: sda: add missing path
Mar 29 21:56:39 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:56:39 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:39 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:56:44 graf01 multipathd[770]: sda: add missing path
Mar 29 21:56:44 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:56:44 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:44 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:56:49 graf01 multipathd[770]: sda: add missing path
Mar 29 21:56:49 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:56:49 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:49 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:56:54 graf01 multipathd[770]: sda: add missing path
Mar 29 21:56:54 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:56:54 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:54 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:56:59 graf01 multipathd[770]: sda: add missing path
Mar 29 21:56:59 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:56:59 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:56:59 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:04 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:04 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:04 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:04 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:09 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:09 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:09 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:09 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:14 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:14 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:14 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:14 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:19 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:19 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:19 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:19 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:24 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:24 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:24 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:24 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:29 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:29 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:29 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:29 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:34 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:34 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:34 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:34 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:39 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:39 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:39 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:39 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or directory
Mar 29 21:57:44 graf01 multipathd[770]: sda: add missing path
Mar 29 21:57:44 graf01 multipathd[770]: sda: failed to get udev uid: Invalid argument
Mar 29 21:57:44 graf01 multipathd[770]: sda: failed to get sysfs uid: Invalid argument
Mar 29 21:57:44 graf01 multipathd[770]: sda: failed to get sgio uid: No such file or direct