Keerthiraja created CLOUDSTACK-8836:
---------------------------------------

             Summary: Cloudstack 4.5.2 Not starting on Fresh install
                 Key: CLOUDSTACK-8836
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8836
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup
    Affects Versions: 4.5.2
         Environment: CentOS 6.7 with MariaDB-server-10.0.21-1.el6.x86_64.
            Reporter: Keerthiraja
            Priority: Blocker
             Fix For: 4.5.3


After the successful installation along with cloudstack-setup-database.

I tried to start the cloudstack services. During the time I could see the 
tomcat fails to start. Pasted the ERROR below.

Kindly can some address this as soon as possible. I am right now in client 
place to implement production setup.

Error
====
ERROR

ERROR [c.c.u.d.ScriptRunner] (main:null) Error executing: UPDATE 
`cloud`.`configuration` SET value = CONCAT("*.",(SELECT `temptable`.`value` 
FROM (SELECT * FROM `cloud`.`configuration` WHERE 
`name`="consoleproxy.url.domain") AS `temptable` WHERE 
`temptable`.`name`="consoleproxy.url.domain")) WHERE 
`name`="consoleproxy.url.domain"
ERROR [c.c.u.d.ScriptRunner] (main:null) 
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 
failure

The last packet successfully received from the server was 25 milliseconds ago.  
The last packet sent successfully to the server was 25 milliseconds ago.
ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) Unable to execute upgrade 
script: /usr/share/cloudstack-management/setup/db/schema-421to430.sql
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 
failure


Caused by: java.net.SocketException: Broken pipe
        ... 61 more
ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) Unable to upgrade the database
com.cloud.utils.exception.CloudRuntimeException: Unable to execute upgrade 
script: /usr/share/cloudstack-management/setup/db/schema-421to430.sql
        at 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:311)

ERROR [c.c.u.d.DbUtil] (main:null) RELEASE_LOCK() throws exception
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link 
failure


I did this test number of times by allocating fresh box.

Thanks,
Keerthi



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to