After security Ubuntu upgrade Mango service is returning this error as started: ERROR Null object returned for RollingRandomAccessFile in Appenders
-
After security upgrade Mango service is returning this error as started: ERROR Null object returned for RollingRandomAccessFile in Appenders
The HOST is Linux Ubuntu: "Ubuntu 18.04.6 LTS"root@gotsvl1933:/etc/systemd/system# systemctl status mango ● mango.service - Mango Automation Loaded: loaded (/etc/systemd/system/mango.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2022-03-26 11:46:57 CET; 1s ago Process: 27540 ExecStart=/opt/mango/bin/start-mango.sh (code=exited, status=0/SUCCESS) Main PID: 27551 (java) Tasks: 19 (limit: 9473) CGroup: /system.slice/mango.service └─27551 java -server -Dma.home=/opt/mango com.serotonin.m2m2.Main Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at org.apache.logging.log4j.jcl.LogAdapter.getContext(LogAdapter.java:40) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:40) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:55) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at com.serotonin.m2m2.util.DocumentationManifest.<clinit>(DocumentationManifest.java:27) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at com.serotonin.m2m2.Common.<clinit>(Common.java:157) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: at com.serotonin.m2m2.Main.<clinit>(Main.java:93) Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: 2022-03-26 11:46:58,187 main ERROR Null object returned for RollingRandomAccessFile in Appenders. Mar 26 11:46:58 gotsvl1933 start-mango.sh[27540]: 2022-03-26 11:46:58,195 main ERROR Unable to locate appender "logfile" for logger config "root"
after a couple of minutes, the system is restarting.
Any idea where is the problem?
I am logged as root.if I stop the service and run /opt/mango/bin/ma.sh start
system stops at the :nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 #5.1.0 Address rejected.at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:490) ~[spring-context-support-5.1.7.RELEASE.jar:5.1.7.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:360) ~[spring-context-support-5.1.7.RELEASE.jar:5.1.7.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:377) ~[spring-context-support-5.1.7.RELEASE.jar:5.1.7.RELEASE] at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:365) ~[spring-context-support-5.1.7.RELEASE.jar:5.1.7.RELEASE] at com.serotonin.web.mail.EmailSender.send(EmailSender.java:179) ~[mango-3.7.11.jar:?] at com.serotonin.web.mail.EmailSender.send(EmailSender.java:170) ~[mango-3.7.11.jar:?] at com.serotonin.web.mail.EmailSender.send(EmailSender.java:123) ~[mango-3.7.11.jar:?] at com.serotonin.m2m2.rt.maint.work.EmailWorkItem.execute(EmailWorkItem.java:91) ~[mango-3.7.11.jar:?] at com.serotonin.m2m2.rt.maint.BackgroundProcessingImpl$WorkItemRunnable.run(BackgroundProcessingImpl.java:671) ~[mango-3.7.11.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?] at java.lang.Thread.run(Thread.java:829) [?:?]