Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252268 - www-servers/lighttpd-1.4.20: /etc/init.d/spawn-fcgi fails to stop
Summary: www-servers/lighttpd-1.4.20: /etc/init.d/spawn-fcgi fails to stop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Hoffmann (RETIRED)
URL:
Whiteboard:
Keywords:
: 258613 (view as bug list)
Depends on:
Blocks: 264840
  Show dependency tree
 
Reported: 2008-12-23 13:52 UTC by Xiaolin Wu
Modified: 2009-04-04 17:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
spawn-fcgi modification (fixed.patch,396 bytes, text/plain)
2008-12-23 13:53 UTC, Xiaolin Wu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaolin Wu 2008-12-23 13:52:18 UTC
I'm using lighttpd's spawn-fcgi for processing nginx's cgi requests. However, spawn-fcgi fails to stop every time. I checked the init-script and found that after spawn-fcgi started, the correspond pid-file was empty. I tried to modify the script making it stops correctly. Here is the report and my modification attached. Has anybody else met the same problem ?

Reproducible: Always

Steps to Reproduce:
1.sudo /etc/init.d/spawn-fcgi start
2.sudo /etc/init.d/spawn-fcgi stop

Actual Results:  
* Stopping spawn-fcgi...
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]                                                              [ ok ]
* ERROR: spawn-fcgi failed to stop


Expected Results:  
* Stopping spawn-fcgi...                                                  [ ok ]
Comment 1 Xiaolin Wu 2008-12-23 13:53:32 UTC
Created attachment 176212 [details]
spawn-fcgi modification
Comment 2 Wormo (RETIRED) gentoo-dev 2008-12-24 18:06:13 UTC
Thanks for posting your fix, assigning to maintainers
Comment 3 Manuel Schmitt 2009-03-27 14:35:21 UTC
*** Bug 258613 has been marked as a duplicate of this bug. ***
Comment 4 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-04-04 17:25:15 UTC
i believe the new init script in www-servers/spawn-fcgi does not exhibit this problem. closing as lighttpd will not be fixed (it will depend on spawn-fcgi for future versions)

tahnks for the report