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

# sk63822 - "No such process" or "Can't bind socket: Address already in use" or "Cannot find pid of vpnd" error when running the 'vpnd debug' command

| Property | Value |
|----------|-------|
| Solution ID | sk63822 |
| Date Created | 2011-06-23 |
| Last Modified | 2023-03-16 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R81 (EOS) |
| OS | Gaia |

## Symptoms

- These errors appears when running the '`vpnd debug`' command on the Security Gateway:

* *Cannot signal vpnd: No such process*
* *Can't bind socket: Address already in use*
* *Can't bind socket on port 500: Address already in use*

## Cause

The '`vpnd debug`' command wrongly overwrites the PID of the VPND process in the file that contains its PID.

To run the VPND debug, it is necessary to run the command '`vpn debug`' (not '`vpnd debug`').

## Solution

This problem was fixed. The fix is included starting from:

* [Check Point R81.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk170416)
* [Jumbo Hotfix Accumulator for R80.40](https://sc1.checkpoint.com/documents/Jumbo_HFA/R80.40/Default.htm) starting from Take 119

Check Point recommends to always upgrade to the [Recommended version](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk95746) ([Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=435) / [VSX](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=359) / [Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166) / [SmartConsole](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=191)).

<br />

If you choose not to upgrade, [contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for your version.

A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.  
For faster resolution and verification, collect [CPinfo](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Management Server and Security Gateways / Cluster Members involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

<br />

These options are available as an immediate **workaround**:

* Restart Check Point services on the Security Gateway:

  **cpstop ; cpstart**
* Manually configure the required PID:

  1. Connect to the command line on the Security Gateway / VSX Gateway.

  2. Log in to the Expert mode.

  3. Find the PID of the VPND daemon:

     * On a Security Gateway:

       **`ps aux | grep -E "PID|vpnd"`**
     * On a VSX Gateway:

       Note - You must get the PID for each Virtual System.

       **`grep 'vpnd:' $FWDIR/CTX/CTX<VSID>/log/vpnd.elg`**
  4. Add the PID of VPND daemon into the *$FWDIR/tmp/vpnd.pid* file:

     * On a Security Gateway:

       **`echo PID_of_VPND > $FWDIR/tmp/vpnd.pid`**
     * On a VSX Gateway:

       Note - You must add the PID in the context of each Virtual System.

       **`vsenv <VSID>`**

       **`echo `*PID_of_VPND*` > $FWDIR/tmp/vpnd.pid`**

       Example for VSID 7 on R80.40:

       **`echo 25778 > /opt/CPsuite-R80.40/fw1/CTX/CTX00007/tmp/vpnd.pid`**

<br />

**Related Solution:**

* [sk180488 - How to collect a debug for VPN issues](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk180488)

---

# 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
