Quantcast

Cannot fix Solr in Debian8 with Koha 3.16 stable installed

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot fix Solr in Debian8 with Koha 3.16 stable installed

Demian Katz
That is strange -- if I'm understanding correctly, is the command-line tool outputting HTML as if it were serving a web page? Is that normal? I wonder if it may be helpful to take this question to a Koha group as well -- we do seem to have some good Koha support on this list (thanks, everyone, for helping!) but since this appears to be primarily a Koha issue, you may get even more suggestions in a Koha forum.

Good luck!

- Demian
________________________________________
From: frsumer [[hidden email]]
Sent: Tuesday, October 18, 2016 1:12 AM
To: [hidden email]
Subject: Re: [VuFind-Tech] Cannot fix Solr in Debian8 with Koha 3.16 stable     installed

Hi all,
I set perl5 without the C4 and ran export. this is what i got.
root@library:/home/librarian#
/usr/share/koha/intranet/cgi-bin/tools/export.pl --filename=kohabibs.mrc
Set-Cookie: CGISESSID=bc080990358d2e76112adcac858d7bed; path=/; HttpOnly
Date: Tue, 18 Oct 2016 05:18:34 GMT
X-frame-options: SAMEORIGIN
Content-Type: text/html; charset=utf-8

<!DOCTYPE html>





<html lang="en">
<head>

<title>Koha &rsaquo;




    Log in to Koha
</title>



<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

AND SO ON.......

THEN I DID
root@library:/usr/local/vufind# ./import-marc.sh kohabibs.mrc
Now Importing kohabibs.mrc ...
Oct 18, 10:50:34 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m
-DentityExpansionLimit=0 -Duser.timezone=UTC  -jar
/usr/local/vufind/import/solrmarc_core.jar
/usr/local/vufind/local/import/import.properties -solrj
/usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
0 [main] DEBUG org.solrmarc.driver.ConfigDriver  - Using config
/usr/local/vufind/local/import/import.properties to initialize SolrMarc
1 [main] DEBUG org.solrmarc.tools.PropertyUtils  - Opening file:
/usr/local/vufind/local/import/import.properties
2 [main] INFO org.solrmarc.driver.ConfigDriver  - Effective Command Line is:
2 [main] INFO org.solrmarc.driver.ConfigDriver  -    java -jar
solrmarc_core.jar IndexDriver -reader_opts
/usr/local/vufind/local/import/import.properties -dir
/usr/local/vufind/local/import|/usr/local/vufind/import -config
"marc.properties, marc_local.properties" -solrURL
http://localhost:8083/solr/biblio/update -solrj
/usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
 INFO [main] (ValueIndexerFactory.java:116) - Using directory:
/usr/local/vufind/import/index_java as location of java sources
DEBUG [main] (SolrCoreLoader.java:80) - Found Solrj class
org.apache.solr.client.solrj.impl.HttpSolrClient
 INFO [main] (IndexDriver.java:107) - Reading and compiling index
specifications: marc.properties, marc_local.properties
 INFO [main] (PropertyUtils.java:311) - Opening file (instead of 1 other
options): /usr/local/vufind/local/import/marc.properties
 INFO [main] (IndexDriver.java:66) - Opening input files:
[/usr/local/vufind/kohabibs.mrc]
ERROR [main] (MarcReaderFactory.java:103) - Fatal error: Exception opening
InputStream: /usr/local/vufind/kohabibs.mrc
FATAL [main] (Boot.java:91) - ERROR: Error while invoking main method in
specified class: org.solrmarc.driver.IndexDriver
FATAL [main] (Boot.java:92) - java.lang.IllegalArgumentException: Fatal
error: Exception opening InputStream/usr/local/vufind/kohabibs.mrc

Koha version:   16.05.04.000

Suggesstion please

FRSumer






--
View this message in context: http://vufind.2307425.n4.nabble.com/Cannot-fix-Solr-in-Debian8-with-Koha-3-16-stable-installed-tp4670564p4670635.html
Sent from the vufind-tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot fix Solr in Debian8 with Koha 3.16 stable installed

frsumer
Friends,
I had upgraded my Koha to 16.11 on Debian 8.1. Everything seems to work out fine with vufind installation and setup. However, lastly while importing kohabibs.mrc into koha i got the following error. Please suggest.

root@library:/usr/local/vufind# ./import-marc.sh kohabibs.mrc
Now Importing kohabibs.mrc ...
Feb 28, 21:15:59 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -DentityExpansionLimit=0 -Duser.timezone=UTC  -jar /usr/local/vufind/import/solrmarc_core.jar /usr/local/vufind/local/import/import.properties -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
0 [main] DEBUG org.solrmarc.driver.ConfigDriver  - Using config /usr/local/vufind/local/import/import.properties to initialize SolrMarc
2 [main] DEBUG org.solrmarc.tools.PropertyUtils  - Opening file: /usr/local/vufind/local/import/import.properties
19 [main] INFO org.solrmarc.driver.ConfigDriver  - Effective Command Line is:
19 [main] INFO org.solrmarc.driver.ConfigDriver  -    java -jar solrmarc_core.jar IndexDriver -reader_opts /usr/local/vufind/local/import/import.properties -dir /usr/local/vufind/local/import|/usr/local/vufind/import -config "marc.properties, marc_local.properties" -solrURL http://localhost:8083/solr/biblio/update -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
 INFO [main] (ValueIndexerFactory.java:116) - Using directory: /usr/local/vufind/import/index_java as location of java sources
DEBUG [main] (SolrCoreLoader.java:80) - Found Solrj class org.apache.solr.client.solrj.impl.HttpSolrClient
 INFO [main] (IndexDriver.java:107) - Reading and compiling index specifications: marc.properties, marc_local.properties
 INFO [main] (PropertyUtils.java:311) - Opening file (instead of 1 other options): /usr/local/vufind/local/import/marc.properties
 INFO [main] (IndexDriver.java:66) - Opening input files: [/usr/local/vufind/kohabibs.mrc]
ERROR [main] (MarcReaderFactory.java:103) - Fatal error: Exception opening InputStream: /usr/local/vufind/kohabibs.mrc
FATAL [main] (Boot.java:91) - ERROR: Error while invoking main method in specified class: org.solrmarc.driver.IndexDriver
FATAL [main] (Boot.java:92) - java.lang.IllegalArgumentException: Fatal error: Exception opening InputStream/usr/local/vufind/kohabibs.mrc
root@sclibrary:/usr/local/vufind# ./import-marc.sh kohabibs.mrc
Now Importing kohabibs.mrc ...
Feb 28, 21:16:47 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m -DentityExpansionLimit=0 -Duser.timezone=UTC  -jar /usr/local/vufind/import/solrmarc_core.jar /usr/local/vufind/local/import/import.properties -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
0 [main] DEBUG org.solrmarc.driver.ConfigDriver  - Using config /usr/local/vufind/local/import/import.properties to initialize SolrMarc
1 [main] DEBUG org.solrmarc.tools.PropertyUtils  - Opening file: /usr/local/vufind/local/import/import.properties
2 [main] INFO org.solrmarc.driver.ConfigDriver  - Effective Command Line is:
2 [main] INFO org.solrmarc.driver.ConfigDriver  -    java -jar solrmarc_core.jar IndexDriver -reader_opts /usr/local/vufind/local/import/import.properties -dir /usr/local/vufind/local/import|/usr/local/vufind/import -config "marc.properties, marc_local.properties" -solrURL http://localhost:8083/solr/biblio/update -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
 INFO [main] (ValueIndexerFactory.java:116) - Using directory: /usr/local/vufind/import/index_java as location of java sources
DEBUG [main] (SolrCoreLoader.java:80) - Found Solrj class org.apache.solr.client.solrj.impl.HttpSolrClient
 INFO [main] (IndexDriver.java:107) - Reading and compiling index specifications: marc.properties, marc_local.properties
 INFO [main] (PropertyUtils.java:311) - Opening file (instead of 1 other options): /usr/local/vufind/local/import/marc.properties
 INFO [main] (IndexDriver.java:66) - Opening input files: [/usr/local/vufind/kohabibs.mrc]
ERROR [main] (MarcReaderFactory.java:103) - Fatal error: Exception opening InputStream: /usr/local/vufind/kohabibs.mrc
FATAL [main] (Boot.java:91) - ERROR: Error while invoking main method in specified class: org.solrmarc.driver.IndexDriver
FATAL [main] (Boot.java:92) - java.lang.IllegalArgumentException: Fatal error: Exception opening InputStream/usr/local/vufind/kohabibs.mrc
root@library:/usr/local/vufind#

FRSumer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot fix Solr in Debian8 with Koha 3.16 stable installed

Demian Katz
Which version of VuFind are you using? Can you try the import process with just a single bib record to see if it happens for all files, or if the issue has something to do with the full bibs file? If you can reproduce the problem with a single record, can you send a copy of that record so I can attempt to reproduce the problem on this end?

thanks,
Demian

-----Original Message-----
From: frsumer [mailto:[hidden email]]
Sent: Tuesday, February 28, 2017 10:55 AM
To: [hidden email]
Subject: Re: [VuFind-Tech] Cannot fix Solr in Debian8 with Koha 3.16 stable installed

Friends,
I had upgraded my Koha to 16.11 on Debian 8.1. Everything seems to work out fine with vufind installation and setup. However, lastly while importing kohabibs.mrc into koha i got the following error. Please suggest.

root@library:/usr/local/vufind# ./import-marc.sh kohabibs.mrc Now Importing kohabibs.mrc ...
Feb 28, 21:15:59 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m
-DentityExpansionLimit=0 -Duser.timezone=UTC  -jar /usr/local/vufind/import/solrmarc_core.jar
/usr/local/vufind/local/import/import.properties -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
0 [main] DEBUG org.solrmarc.driver.ConfigDriver  - Using config /usr/local/vufind/local/import/import.properties to initialize SolrMarc
2 [main] DEBUG org.solrmarc.tools.PropertyUtils  - Opening file:
/usr/local/vufind/local/import/import.properties
19 [main] INFO org.solrmarc.driver.ConfigDriver  - Effective Command Line
is:
19 [main] INFO org.solrmarc.driver.ConfigDriver  -    java -jar
solrmarc_core.jar IndexDriver -reader_opts /usr/local/vufind/local/import/import.properties -dir /usr/local/vufind/local/import|/usr/local/vufind/import -config "marc.properties, marc_local.properties" -solrURL http://localhost:8083/solr/biblio/update -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc  INFO [main] (ValueIndexerFactory.java:116) - Using directory:
/usr/local/vufind/import/index_java as location of java sources DEBUG [main] (SolrCoreLoader.java:80) - Found Solrj class org.apache.solr.client.solrj.impl.HttpSolrClient
 INFO [main] (IndexDriver.java:107) - Reading and compiling index
specifications: marc.properties, marc_local.properties  INFO [main] (PropertyUtils.java:311) - Opening file (instead of 1 other
options): /usr/local/vufind/local/import/marc.properties
 INFO [main] (IndexDriver.java:66) - Opening input files:
[/usr/local/vufind/kohabibs.mrc]
ERROR [main] (MarcReaderFactory.java:103) - Fatal error: Exception opening
InputStream: /usr/local/vufind/kohabibs.mrc FATAL [main] (Boot.java:91) - ERROR: Error while invoking main method in specified class: org.solrmarc.driver.IndexDriver FATAL [main] (Boot.java:92) - java.lang.IllegalArgumentException: Fatal
error: Exception opening InputStream/usr/local/vufind/kohabibs.mrc
root@sclibrary:/usr/local/vufind# ./import-marc.sh kohabibs.mrc Now Importing kohabibs.mrc ...
Feb 28, 21:16:47 /usr/lib/jvm/default-java/bin/java -Xms512m -Xmx512m
-DentityExpansionLimit=0 -Duser.timezone=UTC  -jar /usr/local/vufind/import/solrmarc_core.jar
/usr/local/vufind/local/import/import.properties -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc
0 [main] DEBUG org.solrmarc.driver.ConfigDriver  - Using config /usr/local/vufind/local/import/import.properties to initialize SolrMarc
1 [main] DEBUG org.solrmarc.tools.PropertyUtils  - Opening file:
/usr/local/vufind/local/import/import.properties
2 [main] INFO org.solrmarc.driver.ConfigDriver  - Effective Command Line is:
2 [main] INFO org.solrmarc.driver.ConfigDriver  -    java -jar
solrmarc_core.jar IndexDriver -reader_opts /usr/local/vufind/local/import/import.properties -dir /usr/local/vufind/local/import|/usr/local/vufind/import -config "marc.properties, marc_local.properties" -solrURL http://localhost:8083/solr/biblio/update -solrj /usr/local/vufind/solr/vendor/dist/solrj-lib /usr/local/vufind/kohabibs.mrc  INFO [main] (ValueIndexerFactory.java:116) - Using directory:
/usr/local/vufind/import/index_java as location of java sources DEBUG [main] (SolrCoreLoader.java:80) - Found Solrj class org.apache.solr.client.solrj.impl.HttpSolrClient
 INFO [main] (IndexDriver.java:107) - Reading and compiling index
specifications: marc.properties, marc_local.properties  INFO [main] (PropertyUtils.java:311) - Opening file (instead of 1 other
options): /usr/local/vufind/local/import/marc.properties
 INFO [main] (IndexDriver.java:66) - Opening input files:
[/usr/local/vufind/kohabibs.mrc]
ERROR [main] (MarcReaderFactory.java:103) - Fatal error: Exception opening
InputStream: /usr/local/vufind/kohabibs.mrc FATAL [main] (Boot.java:91) - ERROR: Error while invoking main method in specified class: org.solrmarc.driver.IndexDriver FATAL [main] (Boot.java:92) - java.lang.IllegalArgumentException: Fatal
error: Exception opening InputStream/usr/local/vufind/kohabibs.mrc
root@library:/usr/local/vufind#

FRSumer



--
View this message in context: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvufind.2307425.n4.nabble.com%2FCannot-fix-Solr-in-Debian8-with-Koha-3-16-stable-installed-tp4670564p4671123.html&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cb413b5275d4f4120403408d45ff552eb%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636238954661824944&sdata=MtX27rDeDqXWU74QbtDvQuKn1fh3CkCD1%2FHk8VNQhqg%3D&reserved=0
Sent from the vufind-tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cb413b5275d4f4120403408d45ff552eb%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636238954661824944&sdata=8VdF4vCz0tuyYBx92Nhjs1xsVItmvWucCbEO9rDZLaw%3D&reserved=0
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fvufind-tech&data=02%7C01%7Cdemian.katz%40villanova.edu%7Cb413b5275d4f4120403408d45ff552eb%7C765a8de5cf9444f09cafae5bf8cfa366%7C1%7C0%7C636238954661824944&sdata=2zzilrvYxddpE1Tc7NSiP1c6UYqQrCt18kxynMe6UWU%3D&reserved=0

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vufind-tech mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/vufind-tech
12
Loading...