cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <terbol...@gmail.com>
Subject Re: [URGENT] cannot access management server after restarting service
Date Tue, 03 Jun 2014 07:22:49 GMT
Great to hear that :-)


-- 
Erik Weber


On Tue, Jun 3, 2014 at 8:52 AM, dimas yoga pratama <smidh.d@gmail.com>
wrote:

> It works! Many thanks Erik.
>
> Thanks all.
> On Jun 3, 2014 1:13 PM, "Erik Weber" <terbolous@gmail.com> wrote:
>
> > Would that be max.account.user.vms?
> >
> > If so; this would fix it. Run on your mysql server:
> >
> > mysql -p -e 'UPDATE configuration SET value = "20" WHERE name =
> > "max.account.user.vms"' cloud
> >
> > enter mysql root password when prompted
> >
> > To see all the values with their defaults, you can run this:
> > mysql -p -e 'SELECT name,value,default_value FROM configuration' cloud
> >
> >
> > Hope that helps.
> >
> > --
> > Erik Weber
> >
> >
> > On Tue, Jun 3, 2014 at 12:04 AM, dimas yoga pratama <smidh.d@gmail.com>
> > wrote:
> >
> > > I accidentally unset vm limit in global settings, how to restore it? is
> > it
> > > possible to change it via database?
> > >
> > >
> > > On Tue, Jun 3, 2014 at 4:38 AM, dimas yoga pratama <smidh.d@gmail.com>
> > > wrote:
> > >
> > > > Ok I found the error now, How I revert back my configuration?
> > > >
> > > >
> > > > 2014-06-03 04:13:41,608 ERROR [c.c.r.ResourceLimitManagerImpl]
> > > (main:null)
> > > > NumberFormatException during configuration
> > > > java.lang.NumberFormatException: null
> > > >         at java.lang.Long.parseLong(Long.java:404)
> > > >         at java.lang.Long.parseLong(Long.java:483)
> > > >         at
> > > >
> > >
> >
> com.cloud.resourcelimit.ResourceLimitManagerImpl.configure(ResourceLimitManagerImpl.java:231)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with(CloudStackExtendedLifeCycle.java:117)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(CloudStackExtendedLifeCycle.java:156)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.configure(CloudStackExtendedLifeCycle.java:113)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:59)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:143)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:108)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:945)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
> > > >
> > > > 2014-06-03 04:13:41,609 ERROR [o.a.c.s.l.CloudStackExtendedLifeCycle]
> > > > (main:null) Failed to configure ResourceLimitManagerImpl
> > > > javax.naming.ConfigurationException: Configuration failed due to
> > > > NumberFormatException, see log for the stacktrace
> > > >         at
> > > >
> > >
> >
> com.cloud.resourcelimit.ResourceLimitManagerImpl.configure(ResourceLimitManagerImpl.java:241)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with(CloudStackExtendedLifeCycle.java:117)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(CloudStackExtendedLifeCycle.java:156)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.configure(CloudStackExtendedLifeCycle.java:113)
> > > >         at
> > > >
> > >
> >
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:59)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
> > > >         at
> > > >
> > >
> >
> org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339)
> > > >
> > > >
> > > >
> > > > On Tue, Jun 3, 2014 at 4:22 AM, Bret Mette <
> bret.mette@dbihosting.com>
> > > > wrote:
> > > >
> > > >> You should probably start by including what parameter(s) you changed
> > and
> > > >> any relavent log entries.
> > > >>
> > > >> > On Jun 2, 2014, at 2:20 PM, dimas yoga pratama <smidh.d@gmail.com
> >
> > > >> wrote:
> > > >> >
> > > >> > Hi,
> > > >> > Ok this is my problem, I change parameter in global settings,
and
> I
> > > >> unset
> > > >> > some value and I restarted the management server using "service
> > > >> > cloudstack-management restart".
> > > >> > I tried to access the MS back in http://10.151.32.51:8080/client/
> > and
> > > >> no
> > > >> > luck, it returned 404 resource not available.
> > > >> > Is it a bug or something? How I can get my MS back?
> > > >> >
> > > >> > looking forward for your answer,
> > > >>
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message