[Glass] How I am supposed to start FastCGI in OSX?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] How I am supposed to start FastCGI in OSX?

Mariano Martinez Peck
Hi guys, 

I am trying to start FastCGI (which I could at some point) and now I can't anymore.

First, I tried executing:

source /opt/gemstone/product/seaside/defSeaside
startSeaside_FastCGI 9001

The server does not start, and log suggest:

   FSSeasideHandler startUp: 9001.
 * ^2                                                                 *******
   "does not return"


That I don't have the class FSSeasideHandler, which I indeed don't have.  

ok...So I tried:


WAFastCGIAdaptor stop.
WAGemStoneRunSeasideGems default
        name: 'FastCGI';
        adaptorClass: WAFastCGIAdaptor;
        ports: #(9001 9002 9003).
WAGemStoneRunSeasideGems restartGems.

And same problem..when I try to enter my app, I get a download popup...Doing a curl, gets this:

* About to connect() to localhost port 9001 (#0)
*   Trying ::1...
* Connection refused
*   Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 9001 (#0)
> GET /dp HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8y zlib/1.2.5
> Host: localhost:9001
> Accept: */*
>
* Connection #0 to host localhost left intact
0Incorrect FCGI version. Expected: 1 Received: 71* Closing connection #0


What does it mean? 

Any help about how to start FastCGI is appreaciated. 

Cheers,





--
Mariano
http://marianopeck.wordpress.com

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] How I am supposed to start FastCGI in OSX?

Mariano Martinez Peck
Sorry, what an idiot..I was trying to access 9001 directly instead of the port defined in my nginx...


On Mon, Nov 25, 2013 at 11:20 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi guys, 

I am trying to start FastCGI (which I could at some point) and now I can't anymore.

First, I tried executing:

source /opt/gemstone/product/seaside/defSeaside
startSeaside_FastCGI 9001

The server does not start, and log suggest:

   FSSeasideHandler startUp: 9001.
 * ^2                                                                 *******
   "does not return"


That I don't have the class FSSeasideHandler, which I indeed don't have.  

ok...So I tried:


WAFastCGIAdaptor stop.
WAGemStoneRunSeasideGems default
        name: 'FastCGI';
        adaptorClass: WAFastCGIAdaptor;
        ports: #(9001 9002 9003).
WAGemStoneRunSeasideGems restartGems.

And same problem..when I try to enter my app, I get a download popup...Doing a curl, gets this:

* About to connect() to localhost port 9001 (#0)
*   Trying ::1...
* Connection refused
*   Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 9001 (#0)
> GET /dp HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8y zlib/1.2.5
> Host: localhost:9001
> Accept: */*
>
* Connection #0 to host localhost left intact
0Incorrect FCGI version. Expected: 1 Received: 71* Closing connection #0


What does it mean? 

Any help about how to start FastCGI is appreaciated. 

Cheers,





--
Mariano
http://marianopeck.wordpress.com



--
Mariano
http://marianopeck.wordpress.com

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass