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

# sk126253 - "/opt/CPsuite-R80/fw1/log/postgres.elg: permission denied" error on CPM start failure

| Property | Value |
|----------|-------|
| Solution ID | sk126253 |
| Date Created | 2018-05-07 |
| Last Modified | 2020-09-29 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * CPM process fails to start.
* When trying to force postgres to start ( by running `/opt/CPsuite-R80/fw1/scripts/postgres_start.sh` script), the following message is displayed:  

  `/opt/CPshrd-R80/database/postgresq1/bin/pg_ctl -w start -l /opt/CPsuite-R80/fw1/log/postgres.elg `  
  `
  waiting for server to start....sh: /opt/CPsuite-R80/fw1/log/postgres.elg: Permission denied .... stopped waiting `  
  `
  pg_ctl: could not start server `  
  `
  Examine the log output.`


  ![](https://sc1.checkpoint.com/sc//SolutionsStatics/sk126253/Capture1805070107.JPG)

## Cause

Permissions on *$MDS_FWDIR/log* directory were changed and did not allow the server to access the */opt/CPsuite-R80/fw1/log/postgres.elg* file. This prevented the server from starting *postgres* process which stopped the initialization of the server.

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