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

# sk116994 - CPM process does not start

| Property | Value |
|----------|-------|
| Solution ID | sk116994 |
| Date Created | 2017-04-21 |
| Last Modified | 2021-10-20 |
| Technical Level | Advanced |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |

## Symptoms

- * CPM process fails to start and `cpm.elg` file shows:  

  `INFO management.object_store.DatabaseOperationsHelperBean [main]: Checking database connectivity cpm`  
  `ERROR infrastructure.spring.IgnoringDuplicateBeansBeanFactory [main]: Destroy method on bean with name 'objectStoreSession' threw an exception`  
  `INFO dleserver.internal.SlowDownThreadPoolTaskExecutor [main]: Shutting down ExecutorService 'taskExecutor'`  

  `Caused by: CpmGeneralException{base='com.checkpoint.management.is.exceptions.CpmGeneralException: Couldn't connect to database', errorCode='CP_ERR_DATABASE_CONNECTION', errorFamily='null', messageForUser='null', message='Couldn't connect to database'}`  

  `Caused by: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections`  
  `Caused by: java.net.ConnectException: Connection refused`  

* Logging into the /bin/sh shell as cp_postgres user and trying to start postgres manually fails and may show a similar error:  

  `FATAL: data directory "/opt/CPshrd-R80/database/postgresql/data" has wrong ownership`  
  `HINT: The server must be started by the user that owns the data directory.`

## Cause

One or more directories required for CPM process to start have incorrect permissions.

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