You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Thomas Feng (Commented) (JIRA)" <ji...@apache.org> on 2011/12/29 22:58:30 UTC

[jira] [Commented] (KARAF-1133) Error executing command 'start' when starting a child instance

    [ https://issues.apache.org/jira/browse/KARAF-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177419#comment-13177419 ] 

Thomas Feng commented on KARAF-1133:
------------------------------------

It seems like the karaf installation requires data/tmp to be created. After I do "mkdir -p data/tmp", I'm able to start the child instance, and libjansi.so is generated in data/tmp.
                
> Error executing command 'start' when starting a child instance
> --------------------------------------------------------------
>
>                 Key: KARAF-1133
>                 URL: https://issues.apache.org/jira/browse/KARAF-1133
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.5
>            Reporter: Thomas Feng
>            Priority: Critical
>
> From 2.2.5, the admin script can no longer start a child instance with the "start" command. This works perfectly fine in 2.2.4, however.
> $bin/admin create test
> Creating new instance on SSH port 8102 and RMI ports 1100/44445 at: /tmp/apache-karaf-2.2.5/instances/test
> Creating dir:  /tmp/apache-karaf-2.2.5/instances/test/bin
> Creating dir:  /tmp/apache-karaf-2.2.5/instances/test/etc
> Creating dir:  /tmp/apache-karaf-2.2.5/instances/test/system
> Creating dir:  /tmp/apache-karaf-2.2.5/instances/test/deploy
> Creating dir:  /tmp/apache-karaf-2.2.5/instances/test/data
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/config.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/jre.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/custom.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/java.util.logging.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.felix.fileinstall-deploy.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.log.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.features.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.ops4j.pax.logging.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.ops4j.pax.url.mvn.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/startup.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/users.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/system.properties
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.shell.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.management.cfg
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/bin/karaf
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/bin/start
> Creating file: /tmp/apache-karaf-2.2.5/instances/test/bin/stop
> $bin/admin start test
> [org.apache.karaf.admin.internal.InstanceImpl] : Starting instance test with command: /usr/lib/jvm/java-6-openjdk/jre/bin/java -server -Xmx512M -Dcom.sun.management.jmxremote  -Djava.util.logging.config.file="/tmp/apache-karaf-2.2.5/instances/test/etc/java.util.logging.properties" -Djava.endorsed.dirs="/usr/lib/jvm/java-6-openjdk/jre/jre/lib/endorsed:/usr/lib/jvm/java-6-openjdk/jre/lib/endorsed:/tmp/apache-karaf-2.2.5/lib/endorsed" -Djava.ext.dirs="/usr/lib/jvm/java-6-openjdk/jre/jre/lib/ext:/usr/lib/jvm/java-6-openjdk/jre/lib/ext:/tmp/apache-karaf-2.2.5/lib/ext" -Dkaraf.home="/tmp/apache-karaf-2.2.5" -Dkaraf.base="/tmp/apache-karaf-2.2.5/instances/test" -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /tmp/apache-karaf-2.2.5/lib/karaf.jar:/tmp/apache-karaf-2.2.5/lib/karaf-jaas-boot.jar org.apache.karaf.main.Main
> Error execution command 'start': No such file or directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira