That's strange The agent talks to the management server, not the database. Did you install cloudstack-management on the kvm host ?
-Wei On Fri, 9 Feb 2024 at 08:29, Bharat Bhushan Saini <[email protected]> wrote: > Hi Wei, > > > > The configuration of database is done and GUI is up and running but the > issue is with agent. > > > > Thanks and Regards, > > Bharat Saini > > > > [image: signature_4116628861] > > > > *From: *Wei ZHOU <[email protected]> > *Date: *Friday, 9 February 2024 at 12:57 PM > *To: *[email protected] <[email protected]> > *Subject: *Re: Agent Stuck in Activating State > > EXTERNAL EMAIL: Please verify the sender email address before taking any > action, replying, clicking any link or opening any attachment. > > > Hi, > > Have you set up the database yet? > If not, please refer to the "Set up the database." step on > > https://docs.cloudstack.apache.org/en/latest/installguide/management-server/_database.html > If you have already set up the database (please check the tables in "cloud" > database), and want to regenerate the db.properties, just ignore the > "--deploy-as" parameter in the command line > > -Wei > > On Fri, 9 Feb 2024 at 07:07, Bharat Bhushan Saini > <[email protected]> wrote: > > > Hi All, > > > > > > > > I install cloudstack on a bare metal and after all set up the agent > > service is not coming in the running state on ubuntu 22.04.3 with > > cloudstack 4.18.1 version. > > > > Some information I am sharing for your reference as below, > > > > > > > > Unable to load db configuration, using defaults with 5 connections. > > Falling back on assumed datasource on localhost:3306 using > > username:password=cloud:cloud. Please check your configuration > > > > > > > > It is taking default password but when I configure mysql my password is > > different. > > Please guide me to change the configuration as the db password is ENC > > encrypted in configuration file. > > > > > > > > Thanks and Regards, > > > > Bharat Saini > > > > > > > > [image: signature_1047304043] > > > > --------------------------- Disclaimer: ------------------------------ > > This message and its contents are intended solely for the designated > > addressee and are proprietary to Kloudspot. The information in this email > > is meant exclusively for Kloudspot business use. Any use by individuals > > other than the addressee constitutes misuse and an infringement of > > Kloudspot's proprietary rights. If you are not the intended recipient, > > please return this email to the sender. Kloudspot cannot guarantee the > > security or error-free transmission of e-mail communications. Information > > could be intercepted, corrupted, lost, destroyed, arrive late or > > incomplete, or contain viruses. Therefore, Kloudspot shall not be liable > > for any issues arising from the transmission of this email. > > > > --------------------------- Disclaimer: ------------------------------ > This message and its contents are intended solely for the designated > addressee and are proprietary to Kloudspot. The information in this email > is meant exclusively for Kloudspot business use. Any use by individuals > other than the addressee constitutes misuse and an infringement of > Kloudspot's proprietary rights. If you are not the intended recipient, > please return this email to the sender. Kloudspot cannot guarantee the > security or error-free transmission of e-mail communications. Information > could be intercepted, corrupted, lost, destroyed, arrive late or > incomplete, or contain viruses. Therefore, Kloudspot shall not be liable > for any issues arising from the transmission of this email. >
