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

# sk149772 - "psql.bin: could not connect to server: No such file or directory" error during R80.XX pre-upgrade verification

| Property | Value |
|----------|-------|
| Solution ID | sk149772 |
| Date Created | 2019-03-31 |
| Last Modified | 2020-02-09 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- When executing the `mds_setup.sh` script from the Gaia R80.20 Install ISO to run the pre-upgrade verification process on Multi-Domain Management, the following errors are displayed:

```
psql.bin: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql.bin: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
```

## Cause

The CPM server is stopped (the 'mdsstop' command may have been issued before running the pre-upgrade verifier)

## 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
