Ask Your Question
0

Running ODL as daemon

asked 2016-10-23 07:14:05 -0700

pcolomes gravatar image

This must be a very common question but I haven't yet found the answer so far. We have a remote controller (cloud based) connected via VPN to our infrastructure, therefore we log in via SSH to start ODL by running ./bin/karaf from the CLI.

The problem is that ODL runs as long as the SSH session is open, but if I logout the karaf process is then closed and the controller stops working.

I have tried running "./bin/karaf &" (ampersand) but this doesn't seem to work because startup reaches up to 9% and then the process is stoped

Normally I would expect an /etc/init.d/ script to control the whole ODL platform but this is not the case. What is then the proper way to run ODL as daemon on a Linux system?

Thank you

edit retag flag offensive close merge delete

Comments

The same behaviour occurs if I run "./bin/karaf server" from the CLI and I close the SSH session. Karaf stops running.

pcolomes ( 2016-10-23 08:03:12 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-10-23 10:27:29 -0700

pcolomes gravatar image

Nevermind, I've found that ./bin/start sent the process to background.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-10-23 07:14:05 -0700

Seen: 354 times

Last updated: Oct 23 '16