Installing Prometheus On Windows.

76 views
Skip to first unread message

DIWAHAR RAHAWID

unread,
Feb 27, 2025, 5:30:50 AM2/27/25
to Prometheus Users
Hi Team, 

I am trying to configure Prometheus on Windows server 2022 Hosted on AWS environment,. 

I want the application to run automatically even when the server is rebooted, but running Prometheus as service using the command sc create Prometheus binPath= "C:\Prometheus\prometheus.exe --config.file=C:\Prometheus\prometheus.yml --storage.tsdb.path=C:\Prometheus\data" start= auto
service is getting created but unable to start, getting error  Error 1053: the service did not respond to the start or control request in a timely fashion and starting fails. 

Not sure what I am missing, please suggest me a way to overcome this issue. 

Using NSSM is out of box, i want to use only windows service. 

Regards
Diwahar

Udemy course

unread,
Mar 12, 2025, 11:35:57 AM3/12/25
to DIWAHAR RAHAWID, Prometheus Users
Try using like this.

‘’’
sc create Prometheus binPath= "\"C:\Prometheus\prometheus.exe\" --config.file=\"C:\Prometheus\prometheus.yml\"" start= auto

‘’’

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/prometheus-users/392ca196-96e1-4d3f-835d-89648172efdfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages