# [WEB_PIDFILE_CLOSE_ON_EXEC](https://apps.juniper.net/syslog-explorer/?msg=WEB_PIDFILE_CLOSE_ON_EXEC)

## SYSLOG Details
- **Message**: Unable to set close-on-exec flag for PID file descriptor: <variable>error-message</variable>
- **Help**: httpd-gk could not set close-on-exec flag for PID file
- **Description**: The Web management gatekeeper process (httpd-gk) attempted to set the close-on-exec flag in the file descriptor for the file that records its process ID (PID). The file serves to prevent multiple instances of httpd-gk from running simultaneously. The attempt failed for the indicated reason.
- **Type**: SNO: Should Not Occur
- **Severity**: emergency
- **Cause**: -
- **Action**: -
- **Attributes**: error-message
- **Facility**: LOG_DAEMON

## Found this message in the following releases:
- [Junos OS 24.2R1](https://apps.juniper.net/syslog-explorer/?msg=WEB_PIDFILE_CLOSE_ON_EXEC&sw=Junos%20OS&rel=24.2R1)
- [Junos OS 23.4R1](https://apps.juniper.net/syslog-explorer/?msg=WEB_PIDFILE_CLOSE_ON_EXEC&sw=Junos%20OS&rel=23.4R1)