# Error starting Prometheus when using ExecStart=/usr/bin/prometheus $ARGS

**URL:** <https://discuss.prometheus.io/t/error-starting-prometheus-when-using-execstart-usr-bin-prometheus-args/793>\
**Category:** General Help/Support\
**Created:** [February 21, 2022, 8:14pm UTC](https://discuss.prometheus.io/t/error-starting-prometheus-when-using-execstart-usr-bin-prometheus-args/793 "2022-02-21T20:14:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbaror](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/tbaror/32/364_2.png) [@tbaror](https://discuss.prometheus.io/u/tbaror)\
**Post date:** [February 21, 2022, 8:14pm UTC](https://discuss.prometheus.io/t/error-starting-prometheus-when-using-execstart-usr-bin-prometheus-args/793/1 "2022-02-21T20:14:11Z")

</div>

Hello ,

Just started to work with Prometheus migrating from Zabbix , I have installed new installation under Ubuntu 20.04 server

I am trying to make Prometheus work with TLS and basic authentication, i have created web config file web-config.yml and self signed cert and key , in prometheus.yml i have set as following sown below, and also the web-config.yml.

Now when i try to set Prometheus to point to web-config.yml , i am editing

> /etc/default/prometheus

and adding following below line , but as soon a i start Prometheus its fail , without option its start normally, but without my config , any thing i missed or wrong added option?

Please advice

Thanks

```auto
# Set the command-line arguments to pass to the server.
ARGS="--web.config.file=/etc/prometheus/web-config.yml"

```

prometheus.yml

```auto
scrape_configs:

  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.

  - job_name: 'prometheus'

    scheme: https

    basic_auth:

      username: prometheus

      password: xxxxxxx

    tls_config:

      ca_file: node_exporter.crt

      insecure_skip_verify: true

```

web-config.yml

```auto
tls_server_config:
 cert_file: node_exporter.crt
 key_file: node_exporter.key
basic_auth_users:
 prometheus: $2a$12$6DdRU0KfsKuD9C.35UDeveeYIvSxxxxxxxxKjo9R8PBDgKYa

```
