incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chip Childers (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-266) On initial start of the management server within devcloud: java.io.IOException: Cannot run program "/bin/bash": java.io.IOException: error=12, Cannot allocate memory
Date Sat, 06 Oct 2012 00:30:04 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chip Childers resolved CLOUDSTACK-266.
--------------------------------------

    Resolution: Invalid

This was my local environment.
                
> On initial start of the management server within devcloud: java.io.IOException: Cannot
run program "/bin/bash": java.io.IOException: error=12, Cannot allocate memory
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-266
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-266
>             Project: CloudStack
>          Issue Type: Bug
>    Affects Versions: pre-4.0.0
>         Environment: devcloud, following the steps outlined here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.0+test+procedure
> Tested with source build 4.0.0.beta6
>            Reporter: Chip Childers
>
> Following the source code package testing process, the following warning appears in the
log during the "ant rdebug" step.  Is this expected?
> [sshexec]      [java] WARN  [utils.script.Script] (main:) Exception: /bin/bash -c /sbin/route
| grep default 
>   [sshexec] 
>   [sshexec]      [java] java.io.IOException: Cannot run program "/bin/bash": java.io.IOException:
error=12, Cannot allocate memory
>   [sshexec] 
>   [sshexec]      [java] 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
>   [sshexec] 
>   [sshexec]      [java] 	at com.cloud.utils.script.Script.execute(Script.java:181)
>   [sshexec] 
>   [sshexec]      [java] 	at com.cloud.utils.script.Script.runSimpleBashScript(Script.java:433)
>   [sshexec] 
>   [sshexec]      [java] 	at com.cloud.utils.net.NetUtils.getDefaultEthDevice(NetUtils.java:193)
>   [sshexec] 
>   [sshexec]      [java] 	at com.cloud.utils.net.NetUtils.getDefaultHostIp(NetUtils.java:175)
>   [sshexec] 
>   [sshexec]      [java] 	at com.cloud.utils.net.NetUtils.getLocalCidrs(NetUtils.java:122)
>   [sshexec] 
>   [sshexec]      [java] 	at com.cloud.configuration.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:297)
>   [sshexec]      [java] 	at com.cloud.utils.component.ComponentLocator.startManagers(ComponentLocator.java:530)
>   [sshexec]      [java] 	at com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:254)
>   [sshexec]      [java] 	at com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836)
>   [sshexec]      [java] 	at com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874)
>   [sshexec]      [java] 	at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:48)
>   [sshexec]      [java] 	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
>   [sshexec]      [java] 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>   [sshexec]      [java] 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>   [sshexec]      [java] 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
>   [sshexec] 
>   [sshexec]      [java] 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
>   [sshexec] 
>   [sshexec]      [java] 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
>   [sshexec] 
>   [sshexec]      [java] 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
>   [sshexec]      [java] 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>   [sshexec]      [java] 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>   [sshexec]      [java] 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>   [sshexec]      [java] 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
>   [sshexec]      [java] 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>   [sshexec]      [java] 	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>   [sshexec]      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   [sshexec]      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   [sshexec]      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   [sshexec]      [java] 	at java.lang.reflect.Method.invoke(Method.java:616)
>   [sshexec] 
>   [sshexec]      [java] 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>   [sshexec] 
>   [sshexec]      [java] 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>   [sshexec] 
>   [sshexec]      [java] Caused by: java.io.IOException: java.io.IOException: error=12,
Cannot allocate memory
>   [sshexec]      [java] 	at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
>   [sshexec]      [java] 	at java.lang.ProcessImpl.start(ProcessImpl.java:81)
>   [sshexec]      [java] 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
>   [sshexec]      [java] 	... 38 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message