# CircleCI 1.0 - Postgres service not starting - Certificate issue

**URL:** <https://discuss.circleci.com/t/circleci-1-0-postgres-service-not-starting-certificate-issue/19378>\
**Category:** Databases\
**Tags:** postgresql, docker\
**Created:** [January 16, 2018, 11:04am UTC](https://discuss.circleci.com/t/circleci-1-0-postgres-service-not-starting-certificate-issue/19378 "2018-01-16T11:04:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sidcool1234](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sidcool1234/32/10468_2.png) [@sidcool1234](https://discuss.circleci.com/u/sidcool1234)\
**Post date:** [January 16, 2018, 11:04am UTC](https://discuss.circleci.com/t/circleci-1-0-postgres-service-not-starting-certificate-issue/19378/1 "2018-01-16T11:04:29Z")

</div>

Contrary to the CircleCI 1.0 documentation, which states that Postgres service is already running in the docker container mode, Postgres is down.

When I try to up the postgres service using `sudo service postgresql start` it fails with following:

```
Starting PostgreSQL 9.5 database server
 * The PostgreSQL server failed to start. Please check the log output:
2018-01-16 10:57:07.631 UTC [17225] FATAL: could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied
   ...fail!

```

What is the solution for this?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:41am UTC](https://discuss.circleci.com/t/circleci-1-0-postgres-service-not-starting-certificate-issue/19378/2 "2018-06-18T11:41:51Z")

</div>

Closed on June 18, 2018, 11:41am UTC


