Article Number: 000208896
WARNING: com.avamar.asn.service.ServiceException: Unable to send email notification: Could not connect to SMTP host: <smtpserver>, port: 587; nested exception is: java.net.ConnectException: Connection timed out (Connection timed out) at com.avamar.mc.event.EmailEventNotification.fire(EmailEventNotification.java:882) at com.avamar.mc.event.EventProfileHandler$EmailDatabaseThread.run(EventProfileHandler.java:443) at java.lang.Thread.run(Unknown Source) Caused by: javax.mail.MessagingException: Could not connect to SMTP host: <smtpserver>, port: 587; nested exception is: java.net.ConnectException: Connection timed out (Connection timed out) We might also see the following errors:
WARNING: com.avamar.asn.service.ServiceException: Unable to send email notification: null at com.avamar.mc.event.EmailEventNotification.fire(EmailEventNotification.java:882) at com.avamar.mc.event.EventProfileHandler$EmailDatabaseThread.run(EventProfileHandler.java:443) at java.lang.Thread.run(Unknown Source) Caused by: javax.mail.AuthenticationFailedException
There are new features or entries in the 19.8 /usr/local/avamar/var/mc/server_data/prefs/mcserver.xmlFrom the mcserver.xml we see:
<entry key="email_smtp_port" value="587" /> <entry key="enable_smtp_authentication" value="true" />
Before upgrade
admin@AVE:/usr/local/avamar/var/mc/server_data/prefs/>: grep -i smtp mcserver.xml <entry key="smtpHost" value="mail" /> admin@AVE:/usr/local/avamar/var/mc/server_data/prefs/>:
After upgrade
admin@AVE:/usr/local/avamar/var/mc/server_data/prefs/>: grep -i smtp mcserver.xml <entry key="smtpHost" value="mail.emc.com" /> <entry key="email_smtp_socketFactory_class" value="javax.net.ssl.SSLSocketFactory" /> <entry key="email_smtp_starttls_enable" value="true" /> <entry key="email_smtp_socketFactory_port" value="" /> <entry key="email_smtp_port" value="587" /> <entry key="email_smtp_startssl_enable" value="false" /> <entry key="enable_smtp_authentication" value="true" /> admin@AVE:/usr/local/avamar/var/mc/server_data/prefs/>:
<entry key="email_smtp_port" value="25" /> <entry key="enable_smtp_authentication" value="false" />Restart MCS
admin@AVE~: mcserver.sh --restart
26 Jun 2023
5
Solution