Issue resolved.

After CS 4.3.2 was removed (yum erase cloudstack-*) i removed all
/usr/share/cloudstack* directories - that solve issue with CS start. There was symlink loop

/usr/share/cloudstack-bridge/webapps/webapps/webapps

Upload the complete log that will help us to debug and tell reason for failure.

That’s is common exception which we see whenever  we restart ms .


Regards
sadhu

-----Original Message-----
From: Marcus [mailto:shadow...@gmail.com]
Sent: 14 March 2015 05:15
To: dev@cloudstack.apache.org
Subject: Re: failed to start CS 4.5

look in the catalina log as well.

On Fri, Mar 13, 2015 at 4:11 PM, ilya musayev <ilya.mailing.li...@gmail.com> wrote:
Post the complete log, we cant help with few lines..


On 3/13/15 1:35 PM, d...@soleks.com wrote:


Hi Ilya,

Yes, system VM were imported into CS. If that error with unzip can be
ignored, then the last log entry in managment-server.log what i see is:

2015-03-13 13:18:26,792 INFO  [c.c.u.c.ComponentContext] (main:null)
Starting
com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_c995
b789
2015-03-13 13:18:26,793 INFO  [c.c.u.c.ComponentContext] (main:null)
Starting
com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByClou
dStack_f4c651fe

after that nothing. getting 404 in webui

description The requested resource () is not available.


Dan,

Thats not an issue, its just means java was unable to unzip a jar,
but its really not impacting.

I've upgraded several test environments to 4.5 and while i see this
information error, everything works. We should investigate why we
see this, but as mentioned earlier - its non impacting.

Did you import the systemvm 4.5 template beforehand?

Regards,
ilya

On 3/13/15 9:16 AM, d...@soleks.com wrote:

Hi Devs,

I've downloaded 4.5-RC4, build RPM without issues (centos 6.6).
Database conversion went smoothly, but eventually wasn't able to
start cloudstack-management, only one error that i found in the
log, not sure if it's road-blocker or easy-to-fix issue, however here is some log:


2015-03-12 17:35:57,110 DEBUG [o.a.c.f.s.OnwireClassRegistry]
(main:null) Encountered IOException
java.io.IOException: Stream closed
       at
java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
       at
java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
       at
java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
       at
java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
       at
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARFile(OnwireClassRegistry.java:162)
       at
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:119)
       at
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(OnwireClassRegistry.java:95)
       at
org.apache.cloudstack.framework.serializer.OnwireClassRegistry.scan(OnwireClassRegistry.java:76)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:606)
       at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
       at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1549)
       at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
       at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
       at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
       at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
       at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
       at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
       at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
       at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
       at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
       at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
       at
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
       at
org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
       at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70)
       at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57)
       at
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61)
       at
org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
       at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
       at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
       at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
       at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.j
ava:1041)










Reply via email to