how could this happen:Error occurred during initialization of VM Unable to load native library: /usr/local/libjava.so: cannot open shared object file: No such file or directory

496 views
Skip to first unread message

air

unread,
Jan 5, 2012, 4:59:25 AM1/5/12
to scribe...@googlegroups.com
I want to use scribe to send data directly to the hdfs ,but in the log, it said:


Error occurred during initialization of VM
Unable to load native library: /usr/local/libjava.so: cannot open shared object file: No such file or directory


what cause it ? why it search /usr/local for libjava.so, my java_home is /usr/java/default int the /etc/profile !!, thank you very much in advance !!
--
Knowledge Mangement .

air

unread,
Jan 5, 2012, 5:09:53 AM1/5/12
to scribe...@googlegroups.com


2012/1/5 air <cnw...@gmail.com>

I want to use scribe to send data directly to the hdfs ,but in the log, it said:


Error occurred during initialization of VM
Unable to load native library: /usr/local/libjava.so: cannot open shared object file: No such file or directory
and then scribe down, I need to start it again ! why ?


what cause it ? why it search /usr/local for libjava.so, my java_home is /usr/java/default int the /etc/profile !!, thank you very much in advance !!
--
Knowledge Mangement .




--
Knowledge Mangement .

air

unread,
Jan 5, 2012, 8:41:50 PM1/5/12
to scribe...@googlegroups.com
this is a class issue , adding . to the classpath will solve this problem.


2012/1/5 air <cnw...@gmail.com>



--
Knowledge Mangement .

johnson...@gmail.com

unread,
Jul 24, 2012, 2:02:09 AM7/24/12
to scribe...@googlegroups.com

riseam...@gmail.com

unread,
Jul 8, 2017, 1:02:04 PM7/8/17
to Scribe Server
Hi, What is the solution to this?
Even I'm facing same issue.
Reply all
Reply to author
Forward
0 new messages