> Source: [sk104839](https://support.checkpoint.com/results/sk/sk104839)

# sk104839 - 'evs_backup' command sometimes fails with "Failed to start postgres service"

| Property | Value |
|----------|-------|
| Solution ID | sk104839 |
| Date Created | 2015-02-19 |
| Last Modified | 2019-10-28 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20, R82.x, R82.20 |
| OS | Linux, Gaia |

## Symptoms

- * *evs_backup* command sometimes fails with the following messages:

  ```
  
  Postgres service is down, starting postgres
  Failed to start postgres service. Please check backup.err for detailed errors
  eva_db_backup.csh fail
  error has occurred. evs_backup will stop
  ```

* *backup.err* file contains the following:

  ```
  
  pg_dump: [archiver (db)] connection to database "events_db" failed: FATAL:  the database system is starting up
  pg_dump: *** aborted because of error
  ```

## Cause

The *$RTDIR/bin/eva_db_backup.csh* script needs the *postgres* process to be running, so it starts it it is not running.

Starting the database can take some time (several seconds).

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
