It's the correct, and I just tried:

jbonofre@latitude:~/Downloads/apache-karaf-4.0.0/bin$ ./start
jbonofre@latitude:~/Downloads/apache-karaf-4.0.0/bin$ ./status
Running ...
jbonofre@latitude:~/Downloads/apache-karaf-4.0.0/bin$ ./stop

Is the user who runs Karaf has write permission on etc/config.properties file (where the shutdown command is written) and in the data folder (to write the port file) ?

Regards
JB

On 06/29/2015 08:18 PM, rcbandit wrote:
I tried to start Karaf in background mode

[root@ip-172-31-30-204 bin]# ./start
[root@ip-172-31-30-204 bin]# ./status
karaf: JAVA_HOME not set; results may vary
/opt/apache-karaf-4.0.0/data/port shutdown port file doesn't exist. The
container is not running.
[root@ip-172-31-30-204 bin]#


But for some reason it's not working. What is the proper way to start Karaf
in background mode?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Start-Karaf-4-0-0-in-background-tp4041166.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to