Project

General

Profile

Actions

Bug #1167

closed

spawn-fcgi fails with setuidgid

Added by Anonymous over 17 years ago. Updated about 16 years ago.

Status:
Missing Feedback
Priority:
Normal
Category:
mod_fastcgi
Target version:
ASK QUESTIONS IN Forums:

Description


/usr/bin/setuidgid traviantoolbox /usr/bin/spawn-fcgi -p 1027 -f /usr/bin/php-cgi  -C 4
spawn-fcgi.c.190: child spawned successfully: PID: 1639

from lighttpd error log :


2007-05-06 15:04:42: (mod_fastcgi.c.2738) establishing connection failed: Connection refused socket: tcp:127.0.0.1:1027

netstat -tanpu|grep php
tcp        0      0 0.0.0.0:1027            0.0.0.0:*               LISTEN      1639/php-cgi

but it works with :


exec setuidgid traviantoolbox php-cgi -b 127.0.0.1:1027

-- renchap

Actions #1

Updated by stbuehler about 16 years ago

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

The netstat output shows that there is something listening on the port (and it shows that it is php); i don't see how you could get "connection refused" and why not using spawn-fcgi could fix it.

As this is ticket is really old (and it works for many people), i guess i can close that now.

If you really think this bug still exists, we need more information about your setup (and lsof -p <pidof php> would be nice too).

Actions #2

Updated by stbuehler about 16 years ago

  • Status changed from Fixed to Missing Feedback
Actions

Also available in: Atom