Page 1 of 1

SMTP Mailer said: Language string failed to load

Posted: Mon Sep 09, 2013 10:13 am
by cbaranec
Email notifications cannot send. I have configured email notifications to be sent via SMTP. I have verified that the SMTP settings within the web interface in system config\manage email settings\mail settings page. When I send a test email, I receive the following error: Mailer said: Language string failed to load.
I am using the Nagios XI installation downloaded as a Windows Hyper-V VHD image.
Any help would be greatly appreciated, thanks.

Re: SMTP Mailer said: Language string failed to load

Posted: Mon Sep 09, 2013 2:33 pm
by sreinhardt
Just to verify, you are using english as the language? Also if you could run the following:

Code: Select all

rpm -qa | grep php

Re: SMTP Mailer said: Language string failed to load

Posted: Mon Sep 09, 2013 2:36 pm
by abrist
This error is usually related to the authentication strings. Do you use any non standard ascii characters for your smtp password? Have you completely filled out the smtp settings?

Re: SMTP Mailer said: Language string failed to load

Posted: Tue Sep 10, 2013 6:39 am
by cbaranec
@SReinhardt: I am using English. I ran the code you provided (Thank you) and I believe the code ran successfully, but it did not resolve the issue.
@Abrist: There are only letters and numbers in the SMTP password. I have only configured the email/SMTP settings within the web interface of Nagios which has been completely filled out.
Nagios and CentOS were preinstalled from the downloaded VHD image, so I have done nothing within the Linux environment itself (except for SReinhardt code) . Everything I have done to Nagios has been through the web interface of Nagios.
Thank you both for your advice and help.

Re: SMTP Mailer said: Language string failed to load

Posted: Tue Sep 10, 2013 10:27 am
by abrist
Just out of curiosity, what do the maillogs look like?

Code: Select all

tail -25 /var/log/maillog

Re: SMTP Mailer said: Language string failed to load

Posted: Thu Sep 12, 2013 7:22 am
by cbaranec
The following is from "tail -25 /var/log/maillog" as suggested:

[root@ssc-ups /]# tail -25 /var/log/maillog
Sep 12 08:00:04 ssc-ups postfix/pickup[1385]: 4903646F6: uid=0 from=<root>
Sep 12 08:00:04 ssc-ups postfix/cleanup[4468]: 4903646F6: message-id=<[email protected]>
Sep 12 08:00:04 ssc-ups postfix/qmgr[1386]: 4903646F6: from=<[email protected]>, size=610, nrcpt=1 (queue active)
Sep 12 08:00:04 ssc-ups postfix/local[4470]: 43C2C46F7: to=<[email protected]>, orig_to=<root@localhost>, relay=local, delay=0.21, delays=0.14/0.04/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 08:00:04 ssc-ups postfix/qmgr[1386]: 43C2C46F7: removed
Sep 12 08:00:05 ssc-ups postfix/local[4471]: 4903646F6: to=<[email protected]>, orig_to=<root>, relay=local, delay=2.9, delays=1.9/0.01/0/1, dsn=2.0.0, status=sent (delivered to mailbox)
Sep 12 08:00:05 ssc-ups postfix/qmgr[1386]: 4903646F6: removed
Sep 12 08:03:36 ssc-ups postfix/qmgr[1386]: 4906F40CD: from=<>, size=3944, nrcpt=1 (queue active)
Sep 12 08:03:36 ssc-ups postfix/qmgr[1386]: 8FBF81073: from=<>, size=3939, nrcpt=1 (queue active)
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:03:36 ssc-ups postfix/smtp[5711]: 8FBF81073: to=<[email protected]>, relay=none, delay=84684, delays=84684/0.03/0.01/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
Sep 12 08:03:36 ssc-ups postfix/smtp[5710]: 4906F40CD: to=<[email protected]>, relay=none, delay=126687, delays=126687/0.04/0.01/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
Sep 12 08:08:36 ssc-ups postfix/qmgr[1386]: CD8642D99: from=<>, size=3289, nrcpt=1 (queue active)
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5a1.psmtp.com[64.18.4.10]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5a2.psmtp.com[64.18.4.11]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5b1.psmtp.com[64.18.4.13]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused
Sep 12 08:08:36 ssc-ups postfix/smtp[7374]: CD8642D99: to=<[email protected]>, relay=none, delay=156087, delays=156087/0.03/0.09/0, dsn=4.4.1, status=deferred (connect to xxxxxx.com.s5b2.psmtp.com[64.18.4.14]:25: Connection refused)
[root@ssc-ups /]#

I apologize for the delay as I am a Windows Admin, but Linux Noob. Thanks again for your assistance and time.

Re: SMTP Mailer said: Language string failed to load

Posted: Thu Sep 12, 2013 10:07 am
by sreinhardt
Hey no problem at all. It looks like you are being rejected by postini. Do you have a username and password set in the authentication settings of the smtp configuration? Also you should make sure your IP that nagios is sending from is not on a blacklist. Finally, do you house an internal mail server that you use postini to filtering for? If so, you could send directly there instead and avoid this issue.

Re: SMTP Mailer said: Language string failed to load

Posted: Wed Sep 18, 2013 6:56 am
by cbaranec
There was an authentication issue when Nagios was sending through the SMTP replay. The issue was not related to Nagios at all. The error messages when sending test emails through Nagios were Language string failed to load which threw me off. Thank you all for your help and advice. This issue was been resolved.

Re: SMTP Mailer said: Language string failed to load

Posted: Wed Sep 18, 2013 10:23 am
by abrist
Glad to hear it is resolved. Enjoy the rest of the week!