OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cloudtack manager UI returns Error 404


Hi Natalia,

Any changes in the java version or system configuration?

-Suresh

On Thu, May 17, 2018 at 4:14 AM, Dag Sonstebo <Dag.Sonstebo@xxxxxxxxxxxxx>
wrote:

> Hi Natalia,
>
> My guess is you have some sort of corruption on your original host. Since
> the management service itself is stateless it’s generally much quicker just
> building a new one than trying to recover the old one.
>
> So my suggestions would be:
> - Recover your DB to a dedicated DB host if you haven’t done so already.
> - Build a new management server and just point this to the original DB as
> described in http://docs.cloudstack.apache.org/projects/cloudstack-
> installation/en/4.9/management-server/index.html#
> additional-management-servers
> NOTE: do not use the “–deploy-as” option as this will write a new blank
> database. If you used encryption keys during the original setup you also
> need to specify these.
>
> Once you have these two speaking you should in theory be back up and
> running again.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
>
> Dag.Sonstebo@xxxxxxxxxxxxx
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
> On 16/05/2018, 16:44, "Natalia Costas Lago" <natalia@xxxxxxxx> wrote:
>
>
>     Dear all,
>
>     For some reason our cloudstack manager died and now we are not able to
>     make it work. Our cloudstack version is 4.9.0.
>
>     We tried to do a clean install of the manager and recover the database
>     from the last backup, but we were not able to recover the service.
>
>     At present we can see in the logs that it almost boot, but at the end
> we
>     get this error:
>
>     May 16 17:33:51 cldmanager.srv.cesga.es server: INFO
>     [o.a.c.e.o.NetworkOrchestrator] (localhost-startStop-1:null) (logid:)
>     Network Manager will run the NetworkGarbageCollector every '600'
> seconds.
>     May 16 17:33:51 cldmanager.srv.cesga.es server: INFO
> [c.c.a.ApiServer]
>     (Thread-12:null) (logid:) ApiServer listening on port 8096
>     May 16 17:33:51 cldmanager.srv.cesga.es server: INFO
>     [o.a.c.s.SecondaryStorageManagerImpl] (localhost-startStop-1:null)
>     (logid:) Start secondary storage vm manager
>     May 16 17:33:52 cldmanager.srv.cesga.es server: log4j:WARN No
> appenders
>     could be found for logger (com.cloud.utils.db.ConnectionConcierge).
>     May 16 17:33:52 cldmanager.srv.cesga.es server: log4j:WARN Please
>     initialize the log4j system properly.
>     May 16 17:33:52 cldmanager.srv.cesga.es server: log4j:WARN See
>     http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
>     May 16 17:34:20 cldmanager.srv.cesga.es server: Exception in thread
>     "CapacityChecker" java.lang.NoClassDefFoundError:
>     org/apache/cloudstack/managed/context/ManagedContextTimerTask$1
>     May 16 17:34:20 cldmanager.srv.cesga.es server: at
>     org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(
> ManagedContextTimerTask.java:27)
>     May 16 17:34:20 cldmanager.srv.cesga.es server: at
>     java.util.TimerThread.mainLoop(Timer.java:555)
>     May 16 17:34:20 cldmanager.srv.cesga.es server: at
>     java.util.TimerThread.run(Timer.java:505)
>     May 16 17:34:20 cldmanager.srv.cesga.es server: Caused by:
>     java.lang.ClassNotFoundException:
>     org.apache.cloudstack.managed.context.ManagedContextTimerTask$1
>     May 16 17:34:20 cldmanager.srv.cesga.es server: at
>     org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1892)
>     May 16 17:34:20 cldmanager.srv.cesga.es server: at
>     org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
> WebappClassLoaderBase.java:1735)
>     May 16 17:34:20 cldmanager.srv.cesga.es server: ... 3 more
>     May 16 17:34:24 cldmanager.srv.cesga.es server: Exception in thread
>     "Timer-1" java.lang.NoClassDefFoundError:
>     org/apache/cloudstack/managed/context/ManagedContextTimerTask$1
>     May 16 17:34:24 cldmanager.srv.cesga.es server: at
>     org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(
> ManagedContextTimerTask.java:27)
>     May 16 17:34:24 cldmanager.srv.cesga.es server: at
>     java.util.TimerThread.mainLoop(Timer.java:555)
>     May 16 17:34:24 cldmanager.srv.cesga.es server: at
>     java.util.TimerThread.run(Timer.java:505)
>
>     Any help is appreciated..
>
>     Kind regards,
>
>     NOTA: Para cualquier incidencia/consulta/petición que requiera
>     seguimiento por favor enviar a helpdesk_comunicaciones@xxxxxxxx
>
>     --
>     ====================================================
>     Natalia Costas Lago
>     Senior Communications Technician
>     Galicia Supercomputing Centre (CESGA)
>     (CESGA on Twitter  |  CESGA on Facebook)
>
>     Avenida de Vigo, s/n (Campus Vida)
>     15705 Santiago de Compostela - SPAIN
>
>     E-mail: natalia@xxxxxxxx
>     Cell: +34 981 56 98 10 (ext. 237)
>     Fax: +34 981 59 46 16
>     Web: https://www.cesga.es/
>     ====================================================
>     [IMPORTANTE] La información contenida en este mensaje y
>     sus posibles documentos adjuntos es privada y confidencial
>     y está dirigida únicamente a su destinatario/a. Si usted no
>     es el/la destinatario/a original de este mensaje, por favor
>     elimínelo. La distribución o copia de este mensaje no está
>     autorizada.
>
>
>
>