1

My Solr version is 7.2.0 and Java version: openjdk version "9-internal"

After I run bin/solr start, it says this:

NOTE: Please install lsof as this script needs it to determine if Solr is listening on port 8983

But I can't install lsof, because I don't have permission from my hosting provider.

However this message is shown:

Started Solr server on port 8983 (pid=1207). Happy searching!

When I try to access admin panel by mydomain.com:8983/solr/, browser cannot connect to the server.

So I suppose that Solr server isn't running even it writes "Happy searching" message, as it can't determine if Solr is listening on port 8983.

Is there any way how to solve lsof problem? But the second question is, why Solr server isn't running?

sunergos
  • 129
  • 2
  • 14
  • `lsof` must be installed on Red Hat distribs so that solr scripts can work correctly, that's it. If you don't have the permission, wouldn't it be simpler to ask your hosting provider to handle it directly ? – EricLavault Dec 27 '17 at 11:08
  • Note also that you have to be root to properly install the installation script. – EricLavault Dec 27 '17 at 11:09

1 Answers1

-1

Did you check solr server status?

/bin/solr status 

I'm not sure but java 9 might cause to this problem.

mrvsta
  • 1
  • I came across something about your problem in 'solr ref guide'. Check this [link] (http://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-5.2.pdf) (Run the Solr Installation Script) – mrvsta Dec 27 '17 at 10:30
  • `bin/solr status` found Solr process 289 running on port 8983 with some informations about version and memory etc...Solr installation script must be run as root as @EricLavault wrote. So probably I will ask my hosting provider to install lsof, but the problem can be still caused by java version as well. – sunergos Dec 27 '17 at 11:56
  • In this guide it says: "The previous command extracts the install_solr_service.sh script from the archive into the current directory. If installing on Red Hat, please make sure lsof is installed before running the Solr installation script (su do yum install lsof). The installation script must be run as root: $ sudo bash ./install_solr_service.sh solr-5.0.0.tgz (here u can write ur own solr version) – mrvsta Dec 27 '17 at 12:20