librelist archives

« back to archive

Re: Deploying Nesta with Nginx/Passenger

Re: Deploying Nesta with Nginx/Passenger

From:
Jason
Date:
2012-07-12 @ 21:46
I'm new to Nesta and Ruby in general and wanted to try setting up a
publicly accessible blog. I've installed the Nesta gem and created a
fresh site, but get the following error message from passenger when
trying to access the site: http://x.gfax.ch/

Maybe I didn't set my phusion passenger options correctly? Here is my
nginx config in case:
https://gist.github.com/3095742

Thanks in advance.

Re: [nesta] Re: Deploying Nesta with Nginx/Passenger

From:
Max Sadrieh
Date:
2012-07-13 @ 02:54
Hey Jason,

It doesn't seem to be a problem with nesta and or sinatra since,
according to the stack trace, their code is not executed.

A google search of the error gives me this:
https://groups.google.com/forum/#!msg/phusion-passenger/ZME8fmoVi2s/38ampnUMJVkJ
and this 
http://stackoverflow.com/questions/9426666/unable-to-start-the-phusion-passenger-watchdog
but both are related to Apache, not nginx.

It looks like somehow the file `phusion_passenger/analytics_logger`
cannot be read, either because it doesn't exist, the
permissions/ownership isn't right, etc. It looks like you're running
Linux. I know almost nothing about phusion passenger but my first
instinct would be to run:

sudo updatedb && locate analytics_logger
ruby -e "puts $:"

Hope it helps.

On Thu, Jul 12, 2012 at 5:46 PM, Jason <degradinglight@gmail.com> wrote:
> I'm new to Nesta and Ruby in general and wanted to try setting up a
> publicly accessible blog. I've installed the Nesta gem and created a
> fresh site, but get the following error message from passenger when
> trying to access the site: http://x.gfax.ch/
>
> Maybe I didn't set my phusion passenger options correctly? Here is my
> nginx config in case:
> https://gist.github.com/3095742
>
> Thanks in advance.

Re: [nesta] Re: Deploying Nesta with Nginx/Passenger

From:
Jason
Date:
2012-07-13 @ 05:32
You have confirmed my suspicion, unfortunately I have been stumped on
getting this working all afternoon. I'll have to check over on Phusion
Passenger's discussion page. Thanks for the heads up.

On Thu, Jul 12, 2012 at 10:54 PM, Max Sadrieh <max.sadrieh@gmail.com> wrote:
> Hey Jason,
>
> It doesn't seem to be a problem with nesta and or sinatra since,
> according to the stack trace, their code is not executed.
>
> A google search of the error gives me this:
> https://groups.google.com/forum/#!msg/phusion-passenger/ZME8fmoVi2s/38ampnUMJVkJ
> and this 
http://stackoverflow.com/questions/9426666/unable-to-start-the-phusion-passenger-watchdog
> but both are related to Apache, not nginx.
>
> It looks like somehow the file `phusion_passenger/analytics_logger`
> cannot be read, either because it doesn't exist, the
> permissions/ownership isn't right, etc. It looks like you're running
> Linux. I know almost nothing about phusion passenger but my first
> instinct would be to run:
>
> sudo updatedb && locate analytics_logger
> ruby -e "puts $:"
>
> Hope it helps.
>
> On Thu, Jul 12, 2012 at 5:46 PM, Jason <degradinglight@gmail.com> wrote:
>> I'm new to Nesta and Ruby in general and wanted to try setting up a
>> publicly accessible blog. I've installed the Nesta gem and created a
>> fresh site, but get the following error message from passenger when
>> trying to access the site: http://x.gfax.ch/
>>
>> Maybe I didn't set my phusion passenger options correctly? Here is my
>> nginx config in case:
>> https://gist.github.com/3095742
>>
>> Thanks in advance.