Hello again,

found the nginx error log. 
If i try to access the application the following error is added:

*2013/05/18 14:55:02 [error] 5307#0: *5 open() 
"/var/www/blog/current/public/posts" failed (2: No such file or directory), 
client: 46.126.103.174, server: , request: "GET /posts HTTP/1.1", host: 
"www.mysite"*
*
*
And the access to 
*About your application’s environmen*t shows:
*2013/05/18 15:42:23 [error] 5307#0: *11 open() 
"/var/www/blog/current/public/rails/info/properties" failed (2: No such 
file or directory), client: 46.126.103.174, server: , request: "GET 
/rails/info/properties HTTP/1.1", host: "hb9dou.ch", referrer: 
"http://mysite//"*
 
Looking for nginx.conf*  *shows it on 3 different folders:
*
nginx: /usr/sbin/nginx  /etc/nginx  /usr/share/nginx

But i edited the nginx.conf called new blog.conf is in the conf.d folder. 
Should i delete all other? The sites-enabled folder is only under 
/etc/apache2/. I think this was installed by default.

If i try to access port localhost:8080 in the browser it answers : 
The page you were looking for doesn't exist.
Is this the right way to connect Unicorn direct?
*
*
*
Yes i use rvm as it was described in the tutorial but i have no idea how to 
change to not use it*
*Regards
Mathias

Am Mittwoch, 15. Mai 2013 04:43:56 UTC+2 schrieb dbray:
>
> Ensure that there is only one nginx config since you are using port 80 and 
> no server_names defined. Ie remove the default conf in sites-enabled 
>
> On May 14, 2013, at 4:06 PM, Hassan Schroeder 
> <[email protected]<javascript:>> 
> wrote: 
>
> > On Tue, May 14, 2013 at 3:54 PM, Makru <[email protected] <javascript:>> 
> wrote: 
> >> Post.find (:all) 
> >> answers: 
> >> Post Load (1.2ms) .... 
> >> =>nil 
> >> Is working under development and showing all entries. I assume under 
> >> production the table is there, but no entry. 
> >> app.get 'posts/new' 
> >> answers: 
> >> =>200 
> >> Same answer as under development. 
> >> But the good thing, i know now something about rails console :-) 
> > 
> > OK, so your app apparently is basically working. But (restating) if 
> > you try to access /posts/new from a browser you get a 404, right? 
> > 
> > What happens if you access the unicorn instance directly, from the 
> > server command line? 
> > 
> > If the above works, then the problem is somewhere between nginx 
> > and unicorn; you should find your nginx log(s) and see what happens 
> > at that point. 
> > 
> > I would open up 3-4 windows side-by-side and tail -f the nginx 
> > access, error, and unicorn log(s) -- don't remember if it has both 
> > access and error logs -- and watch in real time. 
> > 
> > -- 
> > Hassan Schroeder ------------------------ 
> > [email protected]<javascript:> 
> > http://about.me/hassanschroeder 
> > twitter: @hassan 
> > 
> > -- 
> > -- 
> > * You received this message because you are subscribed to the Google 
> Groups "Capistrano" group. 
> > * To post to this group, send email to 
> > [email protected]<javascript:> 
> > * To unsubscribe from this group, send email to 
> [email protected] <javascript:> For more options, visit 
> this group at http://groups.google.com/group/capistrano?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "Capistrano" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to