Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10246 closed defect (fixed)

lighttpd overwrites its lighttpd.pid when already running

Reported by: peter@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

So:

root@OpenWrt:~# /etc/init.d/lighttpd start
root@OpenWrt:~# /etc/init.d/lighttpd start
2011-10-18 10:50:49: (network.c.358) can't bind to port:  80 Address already in use 
root@OpenWrt:~# /etc/init.d/lighttpd stop
sh: you need to specify whom to kill
root@OpenWrt:~# cat /var/run/lighttpd.pid 
root@OpenWrt:~# 

So, if you accidentally try to start it twice, you can't shut it down with the init.d script.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r29253, thanks!

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.