lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awhosit <awho...@Gmail.com>
Subject Re: Solr fails to start with log file not found error
Date Fri, 23 Oct 2015 04:49:59 GMT
Hi, I'm newbie on solr, but have same issue.

More precisely, only one machine can't start solr with the message, "cannot
open {solr.log} file for reading: No such file or directory." Obviously
there is no file and even I created empty one, it doesn't help.

I've tried also - moving around the directory here and there, changing
owner/group like root/myself/solr:solr, use install_solr_service.sh or just
unzip, etc, but this machine doesn't allow to start.

Not working one is solr 5.2.1/SLES 12. 
But I have working one with solr 5.2.1/SLES 11 and solr 5.2.1/Ubuntu 14.

>From the log left in sol-8983-console.log is as follow.
I'm using OpenJDK 1.7 as follow.

java version "1.7.0_85"
OpenJDK Runtime Environment (IcedTea 2.6.1) (suse-18.2-x86_64)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)


Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/eclipse/jetty/start/Main : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(Unknown Source)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$000(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.eclipse.jetty.start.Main. Program will
exit.





--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-fails-to-start-with-log-file-not-found-error-tp4179130p4236026.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message