Ask Your Question
0

unable to bring up karaf console on ubuntu machine."INFO: Lock failed"

asked 2015-11-25 01:28:48 -0700

srik1782 gravatar image

Hi, I am new to opendaylight. I installed Opendaylight Lithium-SR1.

./bin/karaf

I am not getting the display : "OPEN DAYLIGHT" or the command prompt. Initially it gave error as JAVA_HOME not set.

I did export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

ps -ef | grep karaf

I did see a 'java -server ...' process running.

when I see karaf logs in '../data/log/karaf.log', the following is showing:

Nov 25, 2015 3:50:40 PM org.apache.karaf.main.lock.SimpleFileLock lock INFO: Lock failed.

Can you please let me know, how can I fix this?

Regards, Srikanth.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-12-30 00:46:16 -0700

a66766676 gravatar image

I have the same problem, too!

edit flag offensive delete publish link more
0

answered 2016-01-02 12:27:36 -0700

Mai gravatar image

check if there is an environment variable for java in .bashrc file at home folder

edit flag offensive delete publish link more

Comments

Thanks,after i add an environment variable for java in .bashrc file, the error is solved successfully. Thanks a lot!

a66766676 ( 2016-01-03 19:34:32 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-11-25 01:28:48 -0700

Seen: 574 times

Last updated: Jan 02 '16