Saturday, March 17, 2018

FW: Problem encountered upon starting Solr after improper exit

-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com]
Sent: 15 March 2018 20:45
To: solr-user <solr-user@lucene.apache.org>
Subject: Re: Problem encountered upon starting Solr after improper exit

I've never heard fo killing a Java doing this. These
lines:

dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib
Referenced from: /usr/local/bin/awk

indicate what I expect is the root of your problem, _somehow_ files were
deleted. I'd be _very_ surprised if killing the Java process had anything to
do with it, probably files were deleted and the first time you noticed was
when the start script tried to use awk and failed to load that file.

My bet is that you can't use awk at all anywhere, even withougy trying to
invoke Solr.

Best,
Erick

On Wed, Mar 14, 2018 at 9:47 PM, YIFAN LI <yifanli123@berkeley.edu> wrote:
> To whom it may concern,
>
> I am running Solr 7.1.0 and encountered a problem starting Solr after
> I killed the Java process running Solr without proper cleanup. The
> error message that I received is as following:
>
> solr-7.1.0 liyifan$ bin/solr run
>
>
> dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib
>
> Referenced from: /usr/local/bin/awk
>
> Reason: image not found
>
> Your current version of Java is too old to run this version of Solr
>
> We found version , using command 'java -version', with response:
>
> java version "1.8.0_45"
>
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
>
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
>
>
> Please install latest version of Java 1.8 or set JAVA_HOME properly.
>
>
> Debug information:
>
> JAVA_HOME: N/A
>
> Active Path:
>
> /Users/liyifan/anaconda3/bin:/Library/Frameworks/Python.framework/Vers
> ions/3.5/bin:/opt/local/bin:/opt/local/sbin:/usr/Documents/2016\
> Spring/appcivist-mobilization/activator-dist-1.3.9/bin:/usr/local/bin:
> /usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/usr/lo
> cal/git/bin
>
> After I reset the JAVA_HOME variable, it still gives me the error:
>
> bin/solr start
>
> dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib
>
> Referenced from: /usr/local/bin/awk
>
> Reason: image not found
>
> Your current version of Java is too old to run this version of Solr
>
> We found version , using command
> '/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/j
> ava
> -version', with response:
>
> java version "1.8.0_45"
>
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
>
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
>
>
> Please install latest version of Java 1.8 or set JAVA_HOME properly.
>
>
> Debug information:
>
> JAVA_HOME:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
>
> Active Path:
>
> /Users/liyifan/anaconda3/bin:/Library/Frameworks/Python.framework/Vers
> ions/3.5/bin:/opt/local/bin:/opt/local/sbin:/usr/Documents/2016\
> Spring/appcivist-mobilization/activator-dist-1.3.9/bin:/usr/local/bin:
> /usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/usr/lo
> cal/git/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents
> /Home/bin
>
> and the director /usr/local/opt/mpfr/lib/ only contains the following
files:
>
> ls /usr/local/opt/mpfr/lib/
>
> libmpfr.6.dylib libmpfr.a libmpfr.dylib pkgconfig
>
> Do you think this problem is caused by killing the Java process
> without proper cleanup? Could you suggest some solution to this
> problem? Thank you very much!
>
> Best,
> Yifan

No comments:

Post a Comment