<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mango 3 will not start after recent upgrade]]></title><description><![CDATA[<p dir="auto">Hello All,<br />
I had Mango 3.3.1 running on a Centos 7.4 web server with Java 1.8.0_161 until yesterday.<br />
I started a mango update and now cannot get Mango to start. I have restarted the server several times in my attempts to get things going again. but I am going in ever decreasing circles with the problem.</p>
<p dir="auto">Here are the last few lines from ma.log from the time of the upgrade attempt:</p>
<p dir="auto">INFO  2018-03-05T16:22:45,983 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:407) - UpgradeDownloader started<br />
INFO  2018-03-05T16:22:45,984 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:411) - UpgradeDownloader: BACKUP<br />
INFO  2018-03-05T16:22:45,984 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:424) - UpgradeDownloader: DOWNLOAD<br />
INFO  2018-03-05T16:22:45,984 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.execute:109) - Starting database backup WorkItem.<br />
INFO  2018-03-05T16:22:45,984 (com.serotonin.m2m2.rt.maint.work.BackupWorkItem.execute:101) - Starting backup WorkItem.<br />
ERROR 2018-03-05T16:22:46,045 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
INFO  2018-03-05T16:22:46,139 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.backupMysqlWithOutDatabase:442) - Backup created successfully forMango3 in localhost:3306<br />
ERROR 2018-03-05T16:22:47,132 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:48,204 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:49,263 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:50,322 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:51,387 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:52,448 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:53,511 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:54,570 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:55,646 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:56,705 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:57,770 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:58,829 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:22:59,887 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:23:00,947 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:23:02,008 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:23:03,068 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:23:04,126 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:23:05,188 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
ERROR 2018-03-05T16:23:06,248 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
INFO  2018-03-05T16:23:07,259 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:497) - UpgradeDownloader: INSTALL<br />
INFO  2018-03-05T16:23:07,260 (com.serotonin.m2m2.web.dwr.ModulesDwr$UpgradeDownloader.run:548) - UpgradeDownloader: RESTART<br />
ERROR 2018-03-05T16:23:07,307 (com.serotonin.m2m2.web.dwr.util.BlabberConverterManager.convertOutbound:188) - No converter found for 'com.serotonin.m2m2.module.ModuleNotificationListener$UpgradeState'<br />
INFO  2018-03-05T16:23:12,267 (com.serotonin.m2m2.Lifecycle.terminate:382) - Mango Lifecycle terminating...<br />
INFO  2018-03-05T16:23:13,741 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:72) - Terminating 1 LAST priority data sources in 8 threads.<br />
INFO  2018-03-05T16:23:13,766 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:450) - Data source '- Demo 2 Meta' stopped<br />
INFO  2018-03-05T16:23:13,841 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:102) - Termination of 1 LAST priority data sources took 100ms<br />
INFO  2018-03-05T16:23:13,842 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:72) - Terminating 1 NORMAL priority data sources in 8 threads.<br />
INFO  2018-03-05T16:23:13,861 (com.serotonin.m2m2.rt.RuntimeManagerImpl.stopDataSourceShutdown:450) - Data source '- Demo 2  raw' stopped<br />
INFO  2018-03-05T16:23:13,942 (com.serotonin.m2m2.rt.DataSourceGroupTerminator.terminate:102) - Termination of 1 NORMAL priority data sources took 100ms<br />
INFO  2018-03-05T16:23:13,946 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:548) - All high priority tasks exited gracefully.<br />
INFO  2018-03-05T16:23:13,946 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:554) - All medium priority tasks exited gracefully.<br />
INFO  2018-03-05T16:23:13,946 (com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl.joinTermination:559) - All low priority tasks exited gracefully.<br />
INFO  2018-03-05T16:23:13,946 (com.serotonin.m2m2.db.BasePooledProxy.terminateImpl:117) - Stopping database<br />
INFO  2018-03-05T16:23:13,947 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:115) - Terminating NoSQL Batch Write Manager.<br />
INFO  2018-03-05T16:23:13,947 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:242) - Terminating NoSQL Point Value Mover.<br />
INFO  2018-03-05T16:23:13,947 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:249) - Terminating 1 Batch Writer Tasks.<br />
INFO  2018-03-05T16:23:13,948 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:258) - 1 Batch Writer Tasks awaiting termination.<br />
INFO  2018-03-05T16:23:14,446 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehind.joinTermination:173) - Batch Writer Task 0 Terminated.<br />
INFO  2018-03-05T16:23:14,446 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:266) - Terminating NoSQL Stale Point Cleaner.<br />
INFO  2018-03-05T16:23:14,446 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:269) - Terminating NoSQL Status Provider.<br />
WARN  2018-03-05T16:23:14,447 (com.infiniteautomation.nosql.MangoNoSqlBatchWriteBehindManager.terminate:274) - 10 queued point values discarded due to shutdown.<br />
INFO  2018-03-05T16:23:14,447 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:123) - Closing NoSQL Database: Point Values<br />
INFO  2018-03-05T16:23:14,458 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:131) - Closing NoSQL Database: Point Data<br />
INFO  2018-03-05T16:23:14,466 (com.infiniteautomation.nosql.MangoNoSqlProxy.shutdown:145) - Closing Auxilary NoSQL Database: com.infiniteautomation.tsdb.impl.IasTsdbImpl<br />
INFO  2018-03-05T16:23:14,473 (com.serotonin.m2m2.Lifecycle.terminate:491) - Mango Lifecycle terminated.</p>
<p dir="auto">There were no further entries in that log since Mango would not restart.</p>
<p dir="auto">I have copied here the lines from ma-script log since it is the only log updating from my attempts to restart:</p>
<p dir="auto">Mon 5 Mar 16:23:14 GMT 2018 ma-start: upgrading core...<br />
Mon 5 Mar 16:34:51 GMT 2018 ma.stop: No PID file found. Java process not stopped...<br />
Mon 5 Mar 16:43:53 GMT 2018 ma-start: upgrading core...<br />
Mon 5 Mar 17:05:47 GMT 2018 ma-start: upgrading core...<br />
Tue 6 Mar 09:16:18 GMT 2018 ma-start: upgrading core...<br />
Tue 6 Mar 11:43:37 GMT 2018 ma-start: upgrading core...<br />
Tue 6 Mar 12:25:28 GMT 2018 ma-start: upgrading core...<br />
Tue 6 Mar 12:37:49 GMT 2018 ma-start: upgrading core...</p>
<p dir="auto">When I looked at this log early this morning, I thought maybe the Java process is causing the problem. I have been trying all morning here to verify if the Java process is running properly. Which is weird because I have another Java app running on this server just fine.</p>
<p dir="auto">I went back to the basics of setting up Java as described under the IA Help-Linux Installation.</p>
<p dir="auto">All the commands and check for the java install seem to be fine.</p>
<p dir="auto">java -version<br />
java version "1.8.0_161"<br />
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)<br />
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)</p>
<p dir="auto">echo $JAVA_HOME<br />
/usr/local/java/jdk1.8.0_161</p>
<p dir="auto">But if I check with systemctl:</p>
<p dir="auto">systemctl status java<br />
Unit java.service could not be found.</p>
<p dir="auto">If I check the Mango service:</p>
<p dir="auto">ystemctl status mango<br />
â mango.service - Mango Daemon Service<br />
Loaded: loaded (/etc/systemd/system/mango.service; enabled; vendor preset: disabled)<br />
Active: failed (Result: resources) since Tue 2018-03-06 12:25:28 GMT; 11min ago<br />
Process: 1079 ExecStart=/opt/mango/bin/ma.sh start (code=exited, status=0/SUCCESS)</p>
<p dir="auto">Mar 06 12:25:27 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> systemd[1]: Starting Mango Daemon Service...<br />
Mar 06 12:25:27 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> <a href="http://ma.sh" rel="nofollow ugc">ma.sh</a>[1079]: MA_HOME is /opt/mango<br />
Mar 06 12:25:28 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> systemd[1]: PID file /opt/mango/bin/ma.pid not readable (yet?) after start.<br />
Mar 06 12:25:28 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> <a href="http://ma.sh" rel="nofollow ugc">ma.sh</a>[1079]: /opt/mango/bin/ma-start.sh: line 25: /opt/mango/bin/upgrade.sh: Permission denied<br />
Mar 06 12:25:28 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> systemd[1]: mango.service never wrote its PID file. Failing.<br />
Mar 06 12:25:28 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> systemd[1]: Failed to start Mango Daemon Service.<br />
Mar 06 12:25:28 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> systemd[1]: Unit mango.service entered failed state.<br />
Mar 06 12:25:28 <a href="http://m-2-m.com" rel="nofollow ugc">m-2-m.com</a> systemd[1]: mango.service failed.</p>
<p dir="auto">When I try to restart Mango I get:</p>
<p dir="auto">systemctl restart mango<br />
Job for mango.service failed because a configured resource limit was exceeded. See "systemctl status mango.service" and "journalctl -xe" for details.</p>
<p dir="auto">Any advice would be greatly appreciated.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Brian</p>
]]></description><link>https://forum.mango-os.com/topic/3328/mango-3-will-not-start-after-recent-upgrade</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 14:51:57 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3328.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Mar 2018 12:58:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mango 3 will not start after recent upgrade on Tue, 06 Mar 2018 14:43:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello Phil,<br />
Thank you very much for your advice.  The first command:</p>
<p dir="auto">sudo chmod +x /opt/mango/bin/*.sh</p>
<p dir="auto">is the one that did the trick. It is strange that this is not the first time that I have performed the updates on the Mango 3 server.</p>
<p dir="auto">But that is up and running again./</p>
<p dir="auto">Cheers  :)</p>
<p dir="auto">Brian</p>
]]></description><link>https://forum.mango-os.com/post/17583</link><guid isPermaLink="true">https://forum.mango-os.com/post/17583</guid><dc:creator><![CDATA[BG]]></dc:creator><pubDate>Tue, 06 Mar 2018 14:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to Mango 3 will not start after recent upgrade on Tue, 06 Mar 2018 14:29:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi Brian,</p>
<p dir="auto">That,<br />
<code>Mar 06 12:25:28 m-2-m.com ma.sh[1079]: /opt/mango/bin/ma-start.sh: line 25: /opt/mango/bin/upgrade.sh: Permission denied</code></p>
<p dir="auto">probably reveals the issue. Somehow, <code>/opt/mango/bin/upgrade.sh</code> must be owned by the wrong user or not executable for your mango user. So, you should either</p>
<p dir="auto"><code>sudo chmod +x /opt/mango/bin/*.sh</code> or<br />
<code>sudo chown -R mango-user:group /opt/mango</code></p>
<p dir="auto">You will also need unzip installed.</p>
]]></description><link>https://forum.mango-os.com/post/17582</link><guid isPermaLink="true">https://forum.mango-os.com/post/17582</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 06 Mar 2018 14:29:59 GMT</pubDate></item></channel></rss>