Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


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.


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

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

a66766676 gravatar image

I have the same problem, too!

edit flag offensive delete publish link more

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


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

1 follower


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

Seen: 1,117 times

Last updated: Jan 02 '16