Hi,

I think you need to at first make sure the management service has been
started successfully. You can check it by "curl
http://localhost:8080/client/api";
If it does not work, please check vmops.log to see what's wrong.

For the error "ENOSPC: System limit for number of file watchers reached",
you can search it on google and get some advice.

-Wei

On Wed, 13 Dec 2023 at 14:05, <ronald.fei...@scsynergy.com> wrote:

> I found this in /var/log/mysqld.log
> "2023-12-13T13:01:40.388380Z 3 [Note] Aborted connection 3 to db:
> 'cloud' user: 'cloud' host: 'localhost' (Got an error reading
> communication packets)"
>
> Since this error can have a multitude of causes I would be grateful for
> any hints to point me in the correct direction.
>
> On 12/12/23 08:42, Ronald Feicht wrote:
> >
> > Hi,
> >
> >
> > no, I do not see any errors like the one you mentioned, only a lot of
> > errors like this from "npm serve run":
> >
> > Error from chokidar (/opt/cloudstack/ui/src/views/storage): Error:
> > ENOSPC: System limit for number of file watchers reached, watch
> > '/opt/cloudstack/ui/src/views/storage/RecurringSnapshotVolume.vue'
> >
> >
> > The IP has changed due to DHCP and a reboot of the virtual machine -
> > it is now http://192.168.17.252 <http://192.168.17.252>:8080.
> >
> >
> > I do not see any _relevant_ error in vmops.log, but maybe the errors
> > in there are actually crucial and I just fail to recognize this fact?
> > I have attached the file to this email.
> >
> >
> > Mit freundlichen Grüßen
> > R. Feicht
> >
> > *sc synergy GmbH*
> > Hilgestrasse 14 | 55294 Bodenheim | Deutschland
> > Fon: +49 6135 71691 - 000 | Fax: +49 6135 71691 - 299
> > http://www.scsynergy.com | ronald.fei...@scsynergy.com
> > Sitz der Gesellschaft Bodenheim, HRB 8830, Amtsgericht Mainz,
> > Geschäftsführer: Christian Reichert
> >
> >
> > ------------------------------------------------------------------------
> > *From:* Pearl d'Silva <pearl.dsi...@shapeblue.com>
> > *Sent:* Monday, December 11, 2023 16:56
> > *To:* dev@cloudstack.apache.org
> > *Subject:* Re: You're in developer mode, please build and run UI using
> > npm. when building CloudStack from source
> > Hi,
> >
> > Do you see any error like:
> >
> > Proxy error: Could not proxy request
> > /client/api/?command=listIdps&response=json from 192.168.xx.xx:5050 to
> > http://xx.xx.xx.xx:8080.
> > See https://nodejs.org/api/errors.html#errors_common_system_errors for
> > more information (ECONNREFUSED).
> >
> > If so, can you please verify the IP of the Management server, in your
> > initial email you mentioned the address to be:
> > http://192.168.17.225:8080/client/ but the IP placed in .env.local is
> > http://192.168.17.252:8080 (unless the IP was changed)
> >
> > Regards,
> >
> >
> > ________________________________
> > From: Wei ZHOU <ustcweiz...@gmail.com>
> > Sent: December 11, 2023 9:03 AM
> > To: dev@cloudstack.apache.org <dev@cloudstack.apache.org>
> > Subject: Re: You're in developer mode, please build and run UI using
> > npm. when building CloudStack from source
> >
> > Hi,
> >
> > You can access vmops.log to get some logs.
> >
> >
> > -Wei
> >
> >
> > On Mon, 11 Dec 2023 at 14:49, Ronald Feicht <ronald.fei...@scsynergy.de>
> > wrote:
> >
> > > Hi,
> > >
> > > I can now open the UI on port 5050, but when I try to log in I get
> > > "Login Failed".  I had done these steps previously with no error
> > messages:
> > > 1. mvn -Pdeveloper,systemvm clean install
> > > 2. mvn -P developer -pl developer -Ddeploydb
> > > output:
> > > ========> WARNING: Provided file does not exist:
> > > /opt/cloudstack/developer/../utils/conf/db.properties.override
> > > ========> WARNING: Provided file does not exist:
> > > /opt/cloudstack/developer/developer-prefill.sql.override
> > > ========> Initializing database=cloud with host=localhost port=3306
> > > username=cloud password=cloud
> > > ============> Running query: drop database if exists `cloud`
> > > ============> Running query: create database `cloud`
> > > ============> Running query: CREATE USER IF NOT EXISTS cloud@
> `localhost`
> > > identified by 'cloud'
> > > ============> Running query: CREATE USER IF NOT EXISTS cloud@`%`
> > > identified by 'cloud'
> > > ============> Running query: GRANT ALL ON cloud.* to 'cloud'@
> `localhost`
> > > ============> Running query: GRANT ALL ON cloud.* to 'cloud'@`%`
> > > ========> Initializing database=cloud_usage with host=localhost
> > > port=3306 username=cloud password=cloud
> > > ============> Running query: drop database if exists `cloud_usage`
> > > ============> Running query: create database `cloud_usage`
> > > ============> Running query: CREATE USER IF NOT EXISTS cloud@
> `localhost`
> > > identified by 'cloud'
> > > ============> Running query: CREATE USER IF NOT EXISTS cloud@`%`
> > > identified by 'cloud'
> > > ============> Running query: GRANT ALL ON cloud_usage.* to
> > > 'cloud'@`localhost`
> > > ============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%`
> > > ========> Processing SQL file at
> > > /opt/cloudstack/developer/target/db/create-schema.sql
> > > ========> Processing SQL file at
> > > /opt/cloudstack/developer/target/db/create-schema-premium.sql
> > > ========> Processing SQL file at
> > > /opt/cloudstack/developer/target/db/templates.sql
> > > ========> Processing SQL file at
> > > /opt/cloudstack/developer/developer-prefill.sql
> > > ========> Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
> > > 3. mvn -pl :cloud-client-ui jetty:run
> > > 4. Then I did what is written here
> > > https://github.com/apache/cloudstack/tree/main/ui#cloudstack-ui
> > >      with echo 'CS_URL=http://192.168.17.252:8080' > .env.local
> > > 5. opened http://192.168.17.252:5050 in Firefox
> > > 6. entered "admin" for Username and "password" for Password, leaving
> > > "Domain" empty
> > > 7. pressed "Login" and received "Login Failed" (firewalld is disabled)
> > >
> > > What am I doing wrong?
> > >
> > >
> > > On 12/4/23 15:37, Pearl d'Silva wrote:
> > > > Hi,
> > > >
> > > > Once you've setup CloudStack and built the UI following the steps
> > > mentionedhttps://
> github.com/apache/cloudstack/tree/main/ui#cloudstack-ui
> > > , you'd be able to access the UI at port 5050.
> > > >
> > > > Regards,
> > > > Pearl
> > > > ________________________________
> > > > From: Ronald Feicht<ronald.fei...@scsynergy.de>
> > > > Sent: December 4, 2023 9:32 AM
> > > > To:dev@cloudstack.apache.org <dev@cloudstack.apache.org>
> > > > Subject: You're in developer mode, please build and run UI using npm.
> > > when building CloudStack from source
> > > >
> > > > Hi,
> > > >
> > > > I have followed
> > > >
> > >
> >
> https://docs.cloudstack.apache.org/en/4.18.1.0/developersguide/developer_guide.html
> > > > to build CloudStack 4.19 from source but when I connect to
> > > > http://192.168.17.225:8080/client/ I only get
> > > >
> > > > "You're in developer mode, please build and run UI using npm."
> > > >
> > > > I built the UI using npm, but that did not change anything. What am I
> > > > doing wrong?
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > *sc synergy GmbH*
> > > Hilgestrasse 14 | 55294 Bodenheim | Deutschland
> > > Fon: +49 6135 71691 - 000 | Fax: +49 6135 71691 - 299
> > > http://www.scsynergy.com | ronald.fei...@scsynergy.com
> > > Sitz der Gesellschaft Bodenheim, HRB 8830, Amtsgericht Mainz,
> > > Geschäftsführer: Christian Reichert
> >
> >
> >
>
> --
>
>
> Mit freundlichen Grüßen,
>
>
> *Ronald Feicht*
>
> sc synergy GmbH
> Am Kümmerling 24-26
>
> 55294 Bodenheim
>
>
> Line
> Tel     Tel:    +49 (0)6135 / 71691-000         Mail1   Email:
> ronald.fei...@scsynergy.com
> Fax     Fax:    +49 (0)6135 / 71691-299         Mail2   Support:
> support.scc...@scsynergy.com
> Facebook <http://www.facebook.com/scsynergy>    Facebook
> <http://www.facebook.com/scsynergy>
>         Mail2   Sales:  sales.scc...@scsynergy.com
> Twitter <http://twitter.com/#%21/scsynergy>     Twitter
> <http://twitter.com/#%21/scsynergy>
>         Teamviewer <
> http://www.scsynergy.com/download/sc_synergyQS_de_8.exe>
> Teamviewer Support
> <http://www.scsynergy.com/download/sc_synergyQS_de_8.exe>
>
> Line
>
> Logo <http://www.scsynergy.com> Sitz der Gesellschaft Nierstein, HRB
> 8830, Amtsgericht Mainz, Geschäftsführer: Christian Reichert (Impressum)
> <http://www.scsynergy.com/impressum>
>
>
>

Reply via email to