Mongodb-exporter not run

mongodb (4.4) port 27018 is installed in docker, and when installing mongoexporter, it does not start as a service, it returns the following:

[root@mongodb-keos-rack-1 system]# sudo systemctl status mongodb_exporter.service
× mongodb_exporter.service - MongoDB Exporter
Loaded: loaded (/usr/lib/systemd/system/mongodb_exporter.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Sun 2023-10-15 11:36:48 UTC; 3s ago
Duration: 1ms
Process: 236270 ExecStart=/usr/local/bin/mongodb_exporter (code=exited, status=203/EXEC)
Main PID: 236270 (code=exited, status=203/EXEC)
CPU: 1ms

Oct 15 11:36:48 mongodb-keos-rack-1.c.keos-blocks-prod.internal systemd[1]: mongodb_exporter.service: Scheduled restart job, restart counter is at 5.
Oct 15 11:36:48 mongodb-keos-rack-1.c.keos-blocks-prod.internal systemd[1]: Stopped MongoDB Exporter.
Oct 15 11:36:48 mongodb-keos-rack-1.c.keos-blocks-prod.internal systemd[1]: mongodb_exporter.service: Start request repeated too quickly.
Oct 15 11:36:48 mongodb-keos-rack-1.c.keos-blocks-prod.internal systemd[1]: mongodb_exporter.service: Failed with result ‘exit-code’.
Oct 15 11:36:48 mongodb-keos-rack-1.c.keos-blocks-prod.internal systemd[1]: Failed to start MongoDB Exporter.

mongo exportes no esta instalado en docker

Hi @Diego_Pozo ,

Welcome to the Percona community!!
Kindly check the exporter logs and let us know if you see any errors. Once way to check the logs is by running the journalctl command.

Also, share the output of the mongodb_exporter.service file.
cat /usr/lib/systemd/system/mongodb_exporter.service

Regards,
Parag

thaks a lot my problem in shis server is ok

This result is:

[root@mongodb-keos-rack system]# cat /usr/lib/systemd/system/mongodb_exporter.service
[Unit]
Description=MongoDB Exporter
User=prometheus

[Service]
Type=simple
Restart=always
ExecStart=/usr/local/bin/mongodb_exporter

[Install]
WantedBy=multi-user.target