From: Demian K. <dem...@vi...> - 2011-09-02 12:56:11
|
Based on the backtrace in the Solr message, it looks like Solr can't even FIND your configuration... that's a pretty severe error. :) My guess is that when you just run "java -jar start.jar" you are excluding some parameters necessary to allow Solr to find its own components. Exactly what happens when you go to /usr/local/vufind and run "./vufind.sh start"? It might be worth logging all the output, which you can do like this: cd /usr/local/vufind export JETTY_CONSOLE=/tmp/jetty.log ./vufind.sh start This will create output in /tmp/jetty.log which you can then send for analysis if it isn't obvious what it means. Also note that I believe you have two completely unrelated problems here - I don't think your Solr startup problems are caused by (or are causing) the config.ini issues I mentioned in the previous email. - Demian From: ward smith [mailto:war...@gm...] Sent: Friday, September 02, 2011 5:02 AM To: vuf...@li... Subject: [VuFind-General] Fwd: Newbie Question hi again, I want to say tl;dr, but i know these things are useful if anyone is interested in helping me out. so sorry for the mailbox stuffing... supplemental information to my previous post. i have got jetty running, but it cannot start solr. jetty shows as automatically starting, but does not respond until i run start.jar manually. jetty is located as per the installation in the /usr/local/vufind/solr/jetty/start.jar (the solr.war file is in the webapps directory and the log indicates that jetty is running on port 8080, not 8983 as the solr site's tutorial suggests) however, going to http://leveller.org:8080/solr/admin gives me a "could not connect" message so i run start.jar manually, that is: java -jar start.jar and get this -- i don't know what errors i have in my solr configuration, but they are "severe." the strange thing is i did the vufind installation from a clean install of 10.04. everything else works, even the installation script ran (unlike my successful efforts with ubuntu 10.10) HTTP ERROR: 500 Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: <abortOnConfigurationError>false</abortOnConfigurationError> in null ------------------------------------------------------------- java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/usr/local/vufind/solr/jetty at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:262) at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:230) at org.apache.solr.core.Config.<init>(Config.java:101) at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:130) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:134) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:512) at org.mortbay.start.Main.main(Main.java:119) RequestURI=/solr/admin Powered by Jetty://<http://jetty.mortbay.org/> Begin forwarded message: From: ward smith <war...@gm...<mailto:war...@gm...>> Date: September 2, 2011 12:16:18 PM GMT+05:30 To: vuf...@li...<mailto:vuf...@li...> Subject: Newbie Question Hi, I'm having trouble with my vufind installation. I have to admit i'm a noob to both unix and vufind, but i am trying! if it is inappropriate to post such questions to this list, kindly direct me to the proper forum. thanks! ward notes: I'm getting an error 500 (internal server error) -- I followed the instructions for installing Vufind at vufind.org.using: ubuntu 10.04 mysql 5.1.41 php 5.3.2-1 ubuntu4.9 apache 2.2.14 The installation went as expected, all files as far as i can tell in the right place, and the proper directory options set: http://leveller.org/vufind (is working correctly, processing php files etc.) here is the apache server log when accessing the directory: [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/index.php on line 37 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/index.php on line 38 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/index.php on line 40 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /usr/local/vufind/web/index.php on line 40 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: System in /usr/local/vufind/web/index.php on line 66 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/Interface.php on line 54 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/Interface.php on line 55 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Warning: mkdir(): No such file or directory in /usr/local/vufind/web/sys/Interface.php on line 95 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Warning: mkdir(): No such file or directory in /usr/local/vufind/web/sys/Interface.php on line 99 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/Interface.php on line 111 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/Interface.php on line 112 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/Interface.php on line 113 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/Interface.php on line 118 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Site in /usr/local/vufind/web/sys/SearchObject/Base.php on line 130 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: System in /usr/local/vufind/web/sys/SearchObject/Base.php on line 133 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Index in /usr/local/vufind/web/sys/ConnectionManager.php on line 138 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Notice: Undefined index: Index in /usr/local/vufind/web/sys/ConnectionManager.php on line 143 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Warning: include_once(sys/.php): failed to open stream: No such file or directory in /usr/local/vufind/web/sys/ConnectionManager.php on line 147 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Warning: include_once(): Failed opening 'sys/.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/vufind/web/sys/ConnectionManager.php on line 147 [Tue Aug 30 13:32:21 2011] [error] [client 122.172.116.214] PHP Fatal error: Class name must be a valid object or a string in /usr/local/vufind/web/sys/ConnectionManager.php on line 151 |