Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • Good afternoon,

    I have a new install of the 3.5.0-beta.3 running on a brand new install of CentOS 7.
    Oracle's JDK 1.8 is installed and running. JAVA_HOME directory is correctly set.

    [root@localhost Mango]# $JAVA_HOME
    -bash: /usr/local/java/jdk1.8.0_181: Is a directory
    

    I can run the ./ma.sh start and Mango will start with no errors and no issues. However, I can't access the html page running on port 8080. I did not change the default port. The browser's built-in Network analyzer tool simply says unable to establish a connection.

    Any ideas what could be causing this? The OS shows the process running with no issues.

    [root@localhost ~]# /Mango/bin/./ma.sh start
    MA_HOME is /Mango
    [root@localhost ~]# ma-start: MA started with Process ID:  20420
    
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                            
    20420 root      20   0 5680408 459504  20408 S   0.7  5.7   0:46.49 java
    

    Below is a copy-paste of the latest ma.log file.

    INFO  2018-09-28T14:51:05,809 (com.serotonin.m2m2.Main.main:101) - Starting Mango 3.5.0-beta.3 with Schema Version: 26 
    INFO  2018-09-28T14:51:06,714 (com.serotonin.m2m2.Lifecycle.loadLic:581) - Checking license... 
    INFO  2018-09-28T14:51:06,714 (com.serotonin.m2m2.Lifecycle.loadLic:667) - License file not found 
    INFO  2018-09-28T14:51:06,982 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:42) - Initializing H2 connection manager 
    INFO  2018-09-28T14:51:08,267 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:38) - Starting instance with core version 3.5.0-beta.3, db 26 
    INFO  2018-09-28T14:51:09,829 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:99) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@4e4c3a38 
    INFO  2018-09-28T14:51:09,832 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:113) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@4e4c3a38 
    INFO  2018-09-28T14:51:09,907 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:156) - Starting 0 Publishers... 
    INFO  2018-09-28T14:51:09,907 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:168) - 0 Publisher's started in 2ms 
    INFO  2018-09-28T14:51:10,712 (com.serotonin.m2m2.web.M2M2ContextListener.contextInitialized:32) - Mango Automation context starting 
    INFO  2018-09-28T14:51:10,712 (com.serotonin.m2m2.web.M2M2ContextListener.contextInitialized:40) - Mango Automation context started 
    INFO  2018-09-28T14:51:11,912 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:99) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext 
    WARN  2018-09-28T14:51:12,505 (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers:114) - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping 
    INFO  2018-09-28T14:51:12,521 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:99) - Spring context 'jspDispatcherContext' refreshed: WebApplicationContext for namespace 'JSP_DISPATCHER-servlet' 
    INFO  2018-09-28T14:51:13,071 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:99) - Spring context 'restDispatcherContext' refreshed: WebApplicationContext for namespace 'REST_DISPATCHER-servlet' 
    INFO  2018-09-28T14:51:13,082 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/data_point_details.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,082 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/events.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,082 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/pending_alarms.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/event_handlers.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/data_sources.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/point_hierarchy.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/mailing_lists.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/publishers.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/system_settings.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/modules.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/emport.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/error.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/not-found.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/unauthorized.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,083 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/upload.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/mobile_data_point_details.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/data_point_edit.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.DataPointEditController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/data_source_properties.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.DataSourcePropertiesController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/data_source_edit.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.DataSourceEditController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/data_source_properties_error.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.DataSourceEditController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/help.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.HelpController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/startup.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.StartupController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/shutdown.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.ShutdownController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/publisher_edit.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.PublisherEditController] 
    INFO  2018-09-28T14:51:13,084 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:373) - Mapped URL path [/users.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.controller.UsersController]
    

  • Hi ddiezperez,

    Have you checked for an env.properties file that could be setting it to a different port? Mango/overrides/properties/env.properties and Mango/classes/env.properties

    If you have accessed a Mango over SSL that had the same HTTP port (could have a different SSL port) you would need to delete your cookies for the host. But, that would manifest as no ability to login, not an inability to load the login page. I just did an upgrade and am certain the Mango/classes/env.properties file is set to port 8080 (as it always was) and that no env.properties files are errant on the classpath. I would advise checking all files you find in

    find /Mango -name env.properties

    But theoretically it is possible for an env.properties file to be in a jar and cause issues. Having just upgraded an instance, I am confident that is not what is happening.

    Your log looks like a successful boot. You could probably see open ports owned by java with netstat -tap | grep java

    After that we can start wondering about firewalls. It looks like you started it as the root user, so I wouldn't expect any Linux permissions issues.


  • Hi Phil - thanks for the prompt response.

    I have a new finding. I now get a response when accessing the http page via command line from the server ( using the wget -p http://localhost:8080 command), but can't access it from any of our other servers running in the same LAN. So now I no longer think this is an issue with the Mango instance, but rather a network/firewall issue most likely.

    I will look further into it and report back with my findings after the weekend. Thanks again for the prompt response!