Re: cgi-fcgi not listening on FreeBSD 5.4

Marc Prewitt <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Organization DMJA, Inc
Message-ID <[email protected]>
not familiar with ruby but here are a couple of basic trouble shooting
things I'd try with any problem like this.

Charles M. Gerungan wrote:
> I'm trying to create a responder, but it's not listening on the port 
> specified.
> 
> FreeBSD 5.4-RELEASE-p2
> 
> # /usr/local/bin/cgi-fcgi -start -connect 127.0.0.1:2080 /www/rails/
> test/public/dispatch.fcgi

you might try running it through strace or truss.  Linux has strace and
solaris has truss, bsd probably has something similar.  Look at the
socket open calls and see if one is failing.

> 
> # ps wwaux |g test
> www       23461  0.0  2.0 21872 20416  ??  I     1:59AM   0:00.95 /
> usr/local/bin/ruby18 /www/rails/test/public/dispatch.fcgi
> 
> netstat -anlp tcp doesn't list port 2080.

does lsof -p 23461 show anything on that port?

> 
> Same command works fine on FreeBSD 4.10. Did I forget something to  make
> it work on 5.4 or does it have issues?
> 
> I've found a similar message[1] in the archives, but it was dated  1996
> and on SunOS.
> 
> [1] http://www.fastcgi.com/om_archive/mail-archive/0288.html
> 
> 
> ------------------------------------------------------------------------
> 
> ___________________________________
> fastcgi-developers mailing list
> http://fastcgi.com/fastcgi-developers/
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.