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 I

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 are