Hi Christian, No, I didn't miss "s" that's cut, In my service file it has a proper name.
Well, here is my service file, can you tell me what I missed? [Unit] Description=Prometheus #Documentation=https://prometheus.io/docs/introduction/overview/ Wants=network-online.target After=network-online.target [Service] User=prometheus Restart=on-failure Group=prometheus Type=simple ExecReload=/bin/kill -HUP $MAINPID ExecStart=/usr/local/bin/prometheus \ --config.file=/etc/prometheus/prometheus.yml \ --storage.tsdb.path=/var/lib/prometheus \ --web.console.templates=/etc/prometheus/consoles \ --web.console.libraries=/etc/prometheus/console_libraries \ --web.listen-address=0.0.0.0:9090 SyslogIdentifier=prometheus Restart=always [Install] WantedBy=multi-user.target On Wednesday, November 25, 2020 at 2:01:58 PM UTC+5:30 Christian Hoffmann wrote: > Hi, > > On 11/25/20 9:19 AM, 'Kunal Khandelwal' via Prometheus Users wrote: > > I am facing an issue while starting Prometheus Service in Ubuntu., it's > > throwing the following: > In the future, could you please start a new thread? The way you posted > makes it appear that your issue is somehow related to the one from Danilo. > > > Nov 25 12:52:36 ARL-KUNAL systemd[1]: > > /etc/systemd/system/prometheus.service:14: Unknown lvalue > > '--web.listen-addres > > > > Can someone help me out ?? > You're missing an "s". The proper name is --web.listen-address. > > Also, the message sounds like systemd is complaining (not Prometheus). > This would mean that your .service file has a syntax error. Sounds like > an unintended line break or a missing line continuation character on the > previous line (\). > > Kind regards, > Christian > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6511c918-0aef-4cef-8677-16e4eed7bb8dn%40googlegroups.com.

