Hi JB, I found there is duplicated karaf instance issue in linux ENV. I used karaf 2.3.3.
It will create karaf instance for each time executing command "start". for instance, execute the command "start" twice and I can see 2 instance. And the command "stop" only can stop one instance. Log as below. *[gravity@cfnyps2d bin]$ start [gravity@cfnyps2d bin]$ start [gravity@cfnyps2d bin]$ ps -aux | grep karaf Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ gravity 31863 66.6 2.5 806516 98760 pts/5 Sl 02:48 0:04 /xenv/java/X/1.6.0_31l64/bin/java -server -Xms128M -Xmx512M -Dcom.sun.management.jmxremote -Dhttp.nonProxyHosts=cfnyps1d.nam.nsroot.net|cfnyps2d.nam.nsroot.net|169.193.170.86|169.193.187.231 -Dhttp.proxyHost=webproxy.wlb.nsroot.net -Dhttp.proxyPort=8080 -Djava.endorsed.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/endorsed:/xenv/java/X/1.6.0_31l64/lib/endorsed:/opt/gravity/apache-karaf-2.3.3/lib/endorsed -Djava.ext.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/ext:/xenv/java/X/1.6.0_31l64/lib/ext:/opt/gravity/apache-karaf-2.3.3/lib/ext -Dkaraf.instances=/opt/gravity/apache-karaf-2.3.3/instances -Dkaraf.home=/opt/gravity/apache-karaf-2.3.3 -Dkaraf.base=/opt/gravity/apache-karaf-2.3.3 -Dkaraf.data=/opt/gravity/apache-karaf-2.3.3/data -Djava.io.tmpdir=/opt/gravity/apache-karaf-2.3.3/data/tmp -Djava.util.logging.config.file=/opt/gravity/apache-karaf-2.3.3/etc/java.util.logging.properties -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /opt/gravity/apache-karaf-2.3.3/lib/karaf-jaas-boot.jar:/opt/gravity/apache-karaf-2.3.3/lib/karaf.jar org.apache.karaf.main.Main gravity 31912 27.2 1.5 777824 58832 pts/5 Sl 02:48 0:01 /xenv/java/X/1.6.0_31l64/bin/java -server -Xms128M -Xmx512M -Dcom.sun.management.jmxremote -Dhttp.nonProxyHosts=cfnyps1d.nam.nsroot.net|cfnyps2d.nam.nsroot.net|169.193.170.86|169.193.187.231 -Dhttp.proxyHost=webproxy.wlb.nsroot.net -Dhttp.proxyPort=8080 -Djava.endorsed.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/endorsed:/xenv/java/X/1.6.0_31l64/lib/endorsed:/opt/gravity/apache-karaf-2.3.3/lib/endorsed -Djava.ext.dirs=/xenv/java/X/1.6.0_31l64/jre/lib/ext:/xenv/java/X/1.6.0_31l64/lib/ext:/opt/gravity/apache-karaf-2.3.3/lib/ext -Dkaraf.instances=/opt/gravity/apache-karaf-2.3.3/instances -Dkaraf.home=/opt/gravity/apache-karaf-2.3.3 -Dkaraf.base=/opt/gravity/apache-karaf-2.3.3 -Dkaraf.data=/opt/gravity/apache-karaf-2.3.3/data -Djava.io.tmpdir=/opt/gravity/apache-karaf-2.3.3/data/tmp -Djava.util.logging.config.file=/opt/gravity/apache-karaf-2.3.3/etc/java.util.logging.properties -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /opt/gravity/apache-karaf-2.3.3/lib/karaf-jaas-boot.jar:/opt/gravity/apache-karaf-2.3.3/lib/karaf.jar org.apache.karaf.main.Main gravity 31950 0.0 0.0 61204 744 pts/5 R+ 02:48 0:00 grep karaf* my question: Do you know how to avoid duplicated instance when multi-execute command "start"? -- View this message in context: http://karaf.922171.n3.nabble.com/duplicated-karaf-instance-issue-in-karaf-2-3-3-tp4031739.html Sent from the Karaf - User mailing list archive at Nabble.com.