Re: Permission Denied when trying to connect to Solr running on a different server

2018-08-27 Thread cyndefromva
It was a config issue. The SELinux on the machine was not allowing apache to talk to port 8983. I verified this by temporarily turning off the enforcement (setenforce 0). Once I did this I was able to run search as expected. I then turned the enforcement back on (setenforce 1) and added a rule for

Re: Permission Denied when trying to connect to Solr running on a different server

2018-08-23 Thread cyndefromva
I'm using the sunspot gem. It can't be rails because I was able to index from the app server and I can search from the rails console. Its just when I'm trying to access from the web application. And yes, my logs are in /var/solr/logs and there was nothing new there. It did write something when

Re: Permission Denied when trying to connect to Solr running on a different server

2018-08-23 Thread Shawn Heisey
On 8/23/2018 1:36 PM, cyndefromva wrote: But when I try to access search through my web application I'm getting Errno::EACCES Permission denied -- connect(2) for port 8983. This sounds like an error message from your rails app.  You may need to ask whoever created the Solr client that you

Permission Denied when trying to connect to Solr running on a different server

2018-08-23 Thread cyndefromva
I have a ruby on rails application that used solr and the sunspot rails gem for search. For development I just run solr locally and that's been working fine. But I'm trying to set up a stand-alone solr server for production. So I installed it on its own server and created the core for my site. I