Project

General

Profile

Actions

Bug #81

closed

PID file gets overwritten even if the launch is unsuccessful.

Added by Anonymous over 19 years ago. Updated almost 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

When launching lighttpd and another lighttpd process is running. The second lighttpd process overwrites the first process pidfile and then dies with "cannot bind to port", and leaves the pidfile empty. Now, when a scripts wants to terminate the first lighttpd process using the pidfile, it cannot do so because there is no content in the pidfile.

-- johan

Actions #1

Updated by jrabbit over 16 years ago

This is still occurring in the 1.5.0 trunk.

Actions #2

Updated by stbuehler about 16 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

You should check via pid file if lighty is already running, not by trying to start a new one.

Actions #3

Updated by stbuehler almost 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom