Hi there, after recently deploying my app, I have noticed that the search results are not being displayed... When I look in my app, I also notice that the apps content (search criterea) is not being indexed, so I dont have an index folder being created. I read on a google post that it may be that the ferret.yml server isn''t started (or perhaps the content of this file are not right) I haven''t touched this file since development mode, so was wondering if anyone knew where i need to turn to work out what''s what with this... the default file (which must have been created at the time of installation is below: production: host: localhost port: 9010 pid_file: log/ferret.pid log_file: log/ferret_server.log log_level: warn can anyone help? I''m so close to having a fully working app! :-) thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bit more info - looking at the ferret log file it says this: [user] DRb connection error: druby://localhost:9010 - #<Errno::ECONNREFUSED: Connection refused - connect(2)> this tells me i''ve not configured something, but i''m still unsure how to resolve this... Any help appreciated... Thanks again On 3 Jan, 17:09, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hi there, > > after recently deploying my app, I have noticed that the search > results are not being displayed... > > When I look in my app, I also notice that the apps content (search > criterea) is not being indexed, so I dont have an index folder being > created. > > I read on a google post that it may be that the ferret.yml server > isn''t started (or perhaps the content of this file are not right) > > I haven''t touched this file since development mode, so was wondering > if anyone knew where i need to turn to work out what''s what with > this... > > the default file (which must have been created at the time of > installation is below: > > production: > host: localhost > port: 9010 > pid_file: log/ferret.pid > log_file: log/ferret_server.log > log_level: warn > > can anyone help? I''m so close to having a fully working app! :-) > > thanks-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
2010/1/3 RubyonRails_newbie <craigwesty79-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>:> Hi there, > > after recently deploying my app, I have noticed that the search > results are not being displayed... > > When I look in my app, I also notice that the apps content (search > criterea) is not being indexed, so I dont have an index folder being > created. > > I read on a google post that it may be that the ferret.yml server > isn''t started (or perhaps the content of this file are not right) > > I haven''t touched this file since development mode, so was wondering > if anyone knew where i need to turn to work out what''s what with > this... > > the default file (which must have been created at the time of > installation is below: > > production: > host: localhost > port: 9010 > pid_file: log/ferret.pid > log_file: log/ferret_server.log > log_level: warn >Is acts_as_ferret installed and running on your production server? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Yes - it''s installed: already installed: acts_as_ferret (svn://projects.jkraemer.net/ acts_as_ferret/tags/stable/acts_as_ferret). pass --force to reinstall When I tried to start it: script/ferret_server -e production start the server returned: -bash: script/ferret_server: Permission denied Hmmm On 3 Jan, 17:31, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> 2010/1/3 RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>: > > > > > > > Hi there, > > > after recently deploying my app, I have noticed that the search > > results are not being displayed... > > > When I look in my app, I also notice that the apps content (search > > criterea) is not being indexed, so I dont have an index folder being > > created. > > > I read on a google post that it may be that the ferret.yml server > > isn''t started (or perhaps the content of this file are not right) > > > I haven''t touched this file since development mode, so was wondering > > if anyone knew where i need to turn to work out what''s what with > > this... > > > the default file (which must have been created at the time of > > installation is below: > > > production: > > host: localhost > > port: 9010 > > pid_file: log/ferret.pid > > log_file: log/ferret_server.log > > log_level: warn > > Is acts_as_ferret installed and running on your production server? > > Colin-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jan 3, 5:39 pm, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Yes - it''s installed: > already installed: acts_as_ferret (svn://projects.jkraemer.net/ > acts_as_ferret/tags/stable/acts_as_ferret). pass --force to reinstall > > When I tried to start it: > script/ferret_server -e production start > > the server returned: -bash: script/ferret_server: Permission denied >Script probably just not marked as executable. You could either chmod +x it or do ruby script/ferret_server Fred> Hmmm > > On 3 Jan, 17:31, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > 2010/1/3 RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>: > > > > Hi there, > > > > after recently deploying my app, I have noticed that the search > > > results are not being displayed... > > > > When I look in my app, I also notice that the apps content (search > > > criterea) is not being indexed, so I dont have an index folder being > > > created. > > > > I read on a google post that it may be that the ferret.yml server > > > isn''t started (or perhaps the content of this file are not right) > > > > I haven''t touched this file since development mode, so was wondering > > > if anyone knew where i need to turn to work out what''s what with > > > this... > > > > the default file (which must have been created at the time of > > > installation is below: > > > > production: > > > host: localhost > > > port: 9010 > > > pid_file: log/ferret.pid > > > log_file: log/ferret_server.log > > > log_level: warn > > > Is acts_as_ferret installed and running on your production server? > > > Colin-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
thanks for that.. I will take a look. Hopefully that will start it..so basically I run ruby script/ ferret_server from my app location on the hosts server? Thanks again. On 3 Jan, 18:33, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jan 3, 5:39 pm, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > wrote:> Yes - it''s installed: > > already installed: acts_as_ferret (svn://projects.jkraemer.net/ > > acts_as_ferret/tags/stable/acts_as_ferret). pass --force to reinstall > > > When I tried to start it: > > script/ferret_server -e production start > > > the server returned: -bash: script/ferret_server: Permission denied > > Script probably just not marked as executable. You could either chmod > +x it or do ruby script/ferret_server > > Fred > > > > > Hmmm > > > On 3 Jan, 17:31, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > 2010/1/3 RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>: > > > > > Hi there, > > > > > after recently deploying my app, I have noticed that the search > > > > results are not being displayed... > > > > > When I look in my app, I also notice that the apps content (search > > > > criterea) is not being indexed, so I dont have an index folder being > > > > created. > > > > > I read on a google post that it may be that the ferret.yml server > > > > isn''t started (or perhaps the content of this file are not right) > > > > > I haven''t touched this file since development mode, so was wondering > > > > if anyone knew where i need to turn to work out what''s what with > > > > this... > > > > > the default file (which must have been created at the time of > > > > installation is below: > > > > > production: > > > > host: localhost > > > > port: 9010 > > > > pid_file: log/ferret.pid > > > > log_file: log/ferret_server.log > > > > log_level: warn > > > > Is acts_as_ferret installed and running on your production server? > > > > Colin- Hide quoted text - > > - Show quoted text --- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ah, according to the message I got back, it was already running. I''ve stopped it and re-started it, but i''m still getting the same error.... On 4 Jan, 11:39, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> thanks for that.. I will take a look. > > Hopefully that will start it..so basically I run ruby script/ > ferret_server from my app location on the hosts server? > > Thanks again. > > On 3 Jan, 18:33, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > On Jan 3, 5:39 pm, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > > wrote:> Yes - it''s installed: > > > already installed: acts_as_ferret (svn://projects.jkraemer.net/ > > > acts_as_ferret/tags/stable/acts_as_ferret). pass --force to reinstall > > > > When I tried to start it: > > > script/ferret_server -e production start > > > > the server returned: -bash: script/ferret_server: Permission denied > > > Script probably just not marked as executable. You could either chmod > > +x it or do ruby script/ferret_server > > > Fred > > > > Hmmm > > > > On 3 Jan, 17:31, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > > > > 2010/1/3 RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>: > > > > > > Hi there, > > > > > > after recently deploying my app, I have noticed that the search > > > > > results are not being displayed... > > > > > > When I look in my app, I also notice that the apps content (search > > > > > criterea) is not being indexed, so I dont have an index folder being > > > > > created. > > > > > > I read on a google post that it may be that the ferret.yml server > > > > > isn''t started (or perhaps the content of this file are not right) > > > > > > I haven''t touched this file since development mode, so was wondering > > > > > if anyone knew where i need to turn to work out what''s what with > > > > > this... > > > > > > the default file (which must have been created at the time of > > > > > installation is below: > > > > > > production: > > > > > host: localhost > > > > > port: 9010 > > > > > pid_file: log/ferret.pid > > > > > log_file: log/ferret_server.log > > > > > log_level: warn > > > > > Is acts_as_ferret installed and running on your production server? > > > > > Colin- Hide quoted text - > > > - Show quoted text --- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, are you using mongrel server for your production? If yes then you must make sure that you start your ferret server before starting your mongrel or apache/nginx servers. also you can share the index folder across your all production deployment. one thing is important to remember that your index folder must have read/write permissions. I wrote a blog post on this, you can take a look if you want to at http://ashif-manjur.blogspot.com/2010/01/running-ferret-server-with-mongrel-and.html let me know if it helps or not.. Craig Westmoreland wrote:> Ah, according to the message I got back, it was already running. > > I''ve stopped it and re-started it, but i''m still getting the same > error.... > > On 4 Jan, 11:39, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > wrote: >> >> > Script probably just not marked as executable. You could either chmod >> > > > > Hi there, >> >> > > > > �pid_file: log/ferret.pid >> > > > > �log_file: log/ferret_server.log >> > > > > �log_level: warn >> >> > > > Is acts_as_ferret installed and running on your production server? >> >> > > > Colin- Hide quoted text - >> >> > - Show quoted text - > > -- > > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.-- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks Ashif, I like your blog - it makes sense, however I''m not 100% sure where ''''require(File.join(File.dirname(__FILE__), ''../../../../config/ environment''))'''' is meant to go in the server_manager.rb file. CHeers On 4 Jan, 19:17, Ashif Manjur <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, are you using mongrel server for your production? If yes then you > must make sure that you start your ferret server before starting your > mongrel or apache/nginx servers. also you can share the index folder > across your all production deployment. one thing is important to > remember that your index folder must have read/write permissions. I > wrote a blog post on this, you can take a look if you want to athttp://ashif-manjur.blogspot.com/2010/01/running-ferret-server-with-m... > let me know if it helps or not.. > > > > > > Craig Westmoreland wrote: > > Ah, according to the message I got back, it was already running. > > > I''ve stopped it and re-started it, but i''m still getting the same > > error.... > > > On 4 Jan, 11:39, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > > wrote: > > >> > Script probably just not marked as executable. You could either chmod > >> > > > > Hi there, > > >> > > > > pid_file: log/ferret.pid > >> > > > > log_file: log/ferret_server.log > >> > > > > log_level: warn > > >> > > > Is acts_as_ferret installed and running on your production server? > > >> > > > Colin- Hide quoted text - > > >> > - Show quoted text - > > > -- > > > You received this message because you are subscribed to the Google > > Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
got it working - Thank you! On 4 Jan, 20:41, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Thanks Ashif, > > I like your blog - it makes sense, however I''m not 100% sure where > ''''require(File.join(File.dirname(__FILE__), ''../../../../config/ > environment''))'''' is meant to go in the server_manager.rb file. > > CHeers > > On 4 Jan, 19:17, Ashif Manjur <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > > > > Hi, are you using mongrel server for your production? If yes then you > > must make sure that you start your ferret server before starting your > > mongrel or apache/nginx servers. also you can share the index folder > > across your all production deployment. one thing is important to > > remember that your index folder must have read/write permissions. I > > wrote a blog post on this, you can take a look if you want to athttp://ashif-manjur.blogspot.com/2010/01/running-ferret-server-with-m... > > let me know if it helps or not.. > > > Craig Westmoreland wrote: > > > Ah, according to the message I got back, it was already running. > > > > I''ve stopped it and re-started it, but i''m still getting the same > > > error.... > > > > On 4 Jan, 11:39, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> > > > wrote: > > > >> > Script probably just not marked as executable. You could either chmod > > >> > > > > Hi there, > > > >> > > > > pid_file: log/ferret.pid > > >> > > > > log_file: log/ferret_server.log > > >> > > > > log_level: warn > > > >> > > > Is acts_as_ferret installed and running on your production server? > > > >> > > > Colin- Hide quoted text - > > > >> > - Show quoted text - > > > > -- > > > > You received this message because you are subscribed to the Google > > > Groups "Ruby on Rails: Talk" group. > > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To unsubscribe from this group, send email to > > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > For more options, visit this group at > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.