On Friday, August 24, 2018 at 11:23:46 AM UTC-4, Hassan Schroeder wrote:
>
> On Fri, Aug 24, 2018 at 5:44 AM, Cynde Rogers <cynde...@gmail.com 
> <javascript:>> wrote: 
>
> > I updated my application config file to point to the solr server and was 
> > able to populate the index for my site from the command line using rails 
> > sunspot:solr:reindex (so the application server can communicate with the 
> > solr server). I was able to verify this by accessing the Solr Dashboard 
> web 
> > page for the solr server; I can see that my data is there (the numDocs 
> > matches with what I'd expect).  I was also able to run search from my 
> rails 
> > console 
> > 
> > But when I try to access search through my web application I'm getting 
> > Errno::EACCES in SearchController#index Permission denied - connect(2) 
> for 
> > "10.76.42.43" port 8983. (10.76.42.43 is the IP address of my solr 
> server). 
>
> So, just to clarify: 
>
> From the *app server* command line, you can successfully run a 
> rake task on the *solr server* - true/false? 
>
> From the *app server* rails console, you can access the solr server 
> manually - true/false? 
>
> Is the rails app running as the same *nix user that initiated the rails 
> sunspot:* cmd? 
>
> -- 
> Hassan Schroeder ------------------------ hassan.s...@gmail.com 
> <javascript:> 
> twitter: @hassan 
> Consulting Availability : Silicon Valley or remote 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/d8ea50f1-4e6a-4327-8225-dbb0d7c165ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to