Fair point Chris, I should have included log info in the original post. So in the solr logs, nothing at all. I think because solr doesn't get to the point of starting. In syslog I have --------- Dec 11 06:35:08 server solr[6822]: Waiting up to 180 seconds to see Solr running on port 8983 [|] #010#010#010#010#010#010 [/] #010#010#010#010#010#010 [|] #010#010#010#010#010#010 [/] (lots and lots of these removed) 010#010#010 [-] #010#010#010#010#010 Dec 11 06:35:08 server solr[6897]: Still not seeing Solr listening on 8983 after 180 seconds! --------- There was a warning about Ulimits, which doesn't seem to occur under Java 8: Dec 11 06:30:32 solr-dev solr[6266]: *** [WARN] *** Your open file limit is currently 1024. Dec 11 06:30:32 solr-dev solr[6266]: It should be set to 65000 to avoid operational disruption. Dec 11 06:30:32 solr-dev solr[6266]: If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh But I set that in /etc/defaults/solr.in.sh and it didn't help.
Jim On Tue, Dec 12, 2023 at 8:10 AM Chris Hostetter <hossman_luc...@fucit.org> wrote: > > can you be more specific about " It just waits and eventually fails after > about 2 minutes." ... what message does it print to the consolr? what > does the solr log file say? > > > > : Date: Mon, 11 Dec 2023 11:36:15 +0800 > : From: Jim Morgan <jim.mor...@nknews.org.invalid> > : Reply-To: users@solr.apache.org > : To: users@solr.apache.org > : Subject: Java Upgrade process > : > : A few months back, I had a question about upgrading Solr. I was trying to > : upgrade from 8.5 to 9.3. That introduced a few errors into our website > : search that we were not able to resolve, so we've figured we'll just > : upgrade to the latest 8.x version, ie. 8.11. > : > : We've successfully upgraded the underlying OS, and we're happy 8.11 > returns > : the same search results as 8.5. So far so good. > : > : Now we're looking at java. Its currently running on openjdk-8. I've tried > : upgrading to openjdk-11 and openjdk-13. The process, as this is Ubuntu is > : basically. > : apt install openjdk-13-jdk > : update-alternatives --list java > : update-alternatives --set java > /usr/lib/jvm/java-13-openjdk-amd64/bin/java > : On doing that, solr will fail to start. It just waits and eventually > fails > : after about 2 minutes. So I can do > : update-alternatives --set java > : /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java > : To set it back to java 8 and it runs again. > : > : I've tried regenerating the init script with the new java, but the > scripts > : are identical. I've tried rebooting the server with the new java active > in > : case its an environment thing. But to no avail. > : > : Any ideas what's going on here? > : > : I notice java 8 is still getting updates, so maybe the path of least > : resistance is to stay on that. > : > : Jim > : > > -Hoss > http://www.lucidworks.com/ >