Giter VIP home page Giter VIP logo

Comments (4)

h-mdm avatar h-mdm commented on June 12, 2024

Did you build the software prior to installation? See BUILD.txt for details.

from hmdm-server.

ycal4269 avatar ycal4269 commented on June 12, 2024

indeed, i didn't see i didn't succeed in the mvn install step. So, I re-checked every step and I'm still getting an "ERROR: failed to deploy WAR file!"
So i checked catalina.out and i see

[2022-12-20 12:29:07] [info] 2022-12-20 12:29:07 [INFO] liquibase.lockservice.StandardLockService : Successfully released change log lock
[2022-12-20 12:29:08] [info] 2022-12-20 12:29:08 [INFO] com.hmdm.persistence.ConfigurationDAO : Base URL: https://mydomain.com:8443
[2022-12-20 12:29:08] [info] [HMDM-INITIALIZER]: Application initialization was successful
[2022-12-20 12:29:08] [info] [HMDM-INITIALIZER]: Created a signal file for application initialization completion: /var/lib/tomcat9/work/
hmdm_install_flag
[2022-12-20 12:29:08] [info] 2022-12-20 12:29:08 [ERROR] com.hmdm.notification.guice.module.NotificationMqttTaskModule : Failed to create MQTT broker
service
[2022-12-20 12:29:08] [info] java.io.IOException: Failed to bind to server socket: mqtt://mydomain.com:31000 due to: java.net.BindException:
Cannot assign requested address (Bind failed)

*mydomain.com faked for privacy

Is it because port 31000 isn't publicly opened?
I understand I should open more ports than I am now. 8080, 8443, 31000 and ...? I'm missing other ports?

Thanks

from hmdm-server.

h-mdm avatar h-mdm commented on June 12, 2024

Here's how to fix the bind issue: https://qa.h-mdm.com/1714/failed-to-create-mqtt-broker-service
List of open ports: https://qa.h-mdm.com/16781/which-ports-should-be-opened-to-make-headwind-mdm-working

Try to fix the issues, then run hmdm_install.sh and reinstall everything. Notice: run script as root, otherwise you may get the access denied issues.

from hmdm-server.

ycal4269 avatar ycal4269 commented on June 12, 2024

Thank you, indeed opening ports solved everything.

I'm juste having now an issue with uploading files on devices (although already try https://qa.h-mdm.com/1925/) but everything else is working fine

from hmdm-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.