From: Demian K. <dem...@vi...> - 2013-04-04 01:33:50
|
This means that your marc.properties is configured correctly, but SolrMarc is having trouble reading your config.ini file and/or connecting to your MySQL database to write the change tracker information. There is a long thread here which covers some troubleshooting of this very problem: http://vufind.2307425.n4.nabble.com/Newitem-Search-td4661038.html Some short suggestions before you start reading through that very long page: - Make sure your VUFIND_HOME is set. - Make sure your config.ini file doesn't have any strange characters in it (non-ASCII characters may cause problems for SolrMarc's parsing). - Make sure your database connection string in the [Database] section doesn't have quotes around it (though this shouldn't matter if you have a very new version of SolrMarc). I believe there's a mention in the troubleshooting thread of a special copy of SolrMarc with extra debugging turned on that may offer some more clues; that should still be available for download if you need it (and if you can't find it in the other thread, let me know and I'll dig up the URL for you). Good luck! - Demian ________________________________________ From: Steffi_136 [ste...@gm...] Sent: Wednesday, April 03, 2013 4:16 PM To: vuf...@li... Subject: [VuFind-General] [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] Re: [SPAM] Using the new releases function without ILS Now Importing marc62test.mrc ... /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -Dsolrmarc.solr.war.path=/usr/local/vufind/solr/jetty/webapps/solr.war -Dsolr.core.name=biblio -Dsolrmarc.path=/usr/local/vufind/import -Dsolr.path=/usr/local/vufind/solr -Dsolr.solr.home=/usr/local/vufind/solr -jar /usr/local/vufind/import/SolrMarc.jar import.properties /usr/local/vufind/marc62test.mrc 03.04.2013 20:14:14 org.solrmarc.marc.MarcImporter main INFO: Starting SolrMarc indexing. 03.04.2013 20:14:14 org.solrmarc.tools.Utils getPropertyFileInputStream INFO: Opening file: /usr/local/vufind/import/import.properties 03.04.2013 20:14:14 org.solrmarc.marc.MarcImporter getSolrServerProxy INFO: Updating to Solr index at /usr/local/vufind/solr 03.04.2013 20:14:14 org.solrmarc.marc.MarcImporter getSolrServerProxy INFO: Using Solr core biblio 03.04.2013 20:14:14 org.solrmarc.solr.SolrCoreLoader loadEmbeddedCore INFO: Using the multicore schema file at : /usr/local/vufind/solr/solr.xml 03.04.2013 20:14:14 org.solrmarc.solr.SolrCoreLoader loadEmbeddedCore INFO: Using the biblio core 03.04.2013 20:14:14 org.solrmarc.solr.SolrCoreLoader loadEmbeddedCore INFO: Using the data directory of: /usr/local/vufind/solr/biblio 03.04.2013 20:14:16 org.apache.solr.core.SolrCore initIndex WARNUNG: [biblio] Solr index directory '/usr/local/vufind/solr/biblio/index' doesn't exist. Creating new index... 03.04.2013 20:14:19 org.solrmarc.marc.MarcHandler loadReader INFO: Attempting to open data file: /usr/local/vufind/marc62test.mrc 03.04.2013 20:14:19 org.solrmarc.index.VuFindIndexer dieWithError SCHWERWIEGEND: Unable to connect to VuFind database 03.04.2013 20:14:19 org.solrmarc.index.SolrIndexer map SCHWERWIEGEND: Unable to index record 1 due to field last_indexed -- Unable to connect to VuFind database org.solrmarc.tools.SolrMarcIndexerException: Unable to connect to VuFind database at org.solrmarc.index.VuFindIndexer.dieWithError(VuFindIndexer.java:94) at org.solrmarc.index.VuFindIndexer.connectToDatabase(VuFindIndexer.java:158) at org.solrmarc.index.VuFindIndexer.loadUpdateDateTracker(VuFindIndexer.java:203) at org.solrmarc.index.VuFindIndexer.updateTracker(VuFindIndexer.java:877) at org.solrmarc.index.VuFindIndexer.getLastIndexed(VuFindIndexer.java:943) at org.solrmarc.index.VuFindIndexer.getLastIndexed(VuFindIndexer.java:956) 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.solrmarc.index.SolrIndexer.handleCustom(SolrIndexer.java:856) at org.solrmarc.index.SolrIndexer.map(SolrIndexer.java:709) at org.solrmarc.marc.MarcImporter.addToIndex(MarcImporter.java:382) at org.solrmarc.marc.MarcImporter.importRecords(MarcImporter.java:304) at org.solrmarc.marc.MarcImporter.handleAll(MarcImporter.java:572) at org.solrmarc.marc.MarcImporter.main(MarcImporter.java:832) 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 com.simontuffs.onejar.Boot.run(Boot.java:334) at com.simontuffs.onejar.Boot.main(Boot.java:170) 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter importRecords INFO: Serious Error flagged in record 1 (record count 1) 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Exception occurred while Indexing: Unable to connect to VuFind database 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Setting Solr closed flag 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Adding 0 of 1 documents to index 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Deleting 0 documents from index 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter signalServer INFO: Connecting to solr server at URL: http://localhost:8080/solr/biblio/update 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter signalServer WARNUNG: Unable to establish connection to solr server at URL: http://localhost:8080/solr/biblio/update 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Finished indexing in 0:00,00 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Indexed 0 at a rate of about 0.0 per sec 03.04.2013 20:14:19 org.solrmarc.marc.MarcImporter handleAll INFO: Deleted 0 records ----- Stephanie Funk M.A. Library and Information Science http://www.katzenbibliothek.de -- View this message in context: http://vufind.2307425.n4.nabble.com/Using-the-new-releases-function-without-ILS-tp4661005p4661872.html Sent from the vufind-general mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |