Monitoring notification emails are not being received but emails are received after channel syncronization

Solution Unverified - Updated -

Issue

  • Monitoring notification emails are not being received. Monitoring probes generate the error below:
        ===>>> rhn_taskomatic_daemon.log
        { SNIP }
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       java.net.ConnectException: Connection refused
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.common.messaging.SmtpMail.send(SmtpMail.java:145)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.taskomatic.task.TaskHelper.sendMail(TaskHelper.java:168)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.taskomatic.task.ErrataMailer.sendEmails(ErrataMailer.java:207)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.taskomatic.task.ErrataMailer.execute(ErrataMailer.java:89)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:80)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:168)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
         { SNIP }
        INFO   | jvm 1    | 2011/06/02 02:40:03 | Caused by:
        INFO   | jvm 1    | 2011/06/02 02:40:03 | javax.mail.SendFailedException: Send failed;
        INFO   | jvm 1    | 2011/06/02 02:40:03 |   nested exception is:
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       javax.mail.MessagingException: Connection refused;
        INFO   | jvm 1    | 2011/06/02 02:40:03 |   nested exception is:
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       java.net.ConnectException: Connection refused
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at javax.mail.Transport.doSend(Transport.java:231)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at javax.mail.Transport.send(Transport.java:75)
        INFO   | jvm 1    | 2011/06/02 02:40:03 |       at com.redhat.rhn.common.messaging.SmtpMail.send(SmtpMail.java:139)
  • satellite-sync is not able to send email notifications
:Traceback (most recent call last):
:  File "/usr/bin/satellite-sync", line 176, in <module>
:    systemExit_exception(7, "SYNC ERROR: attempting to display as much
information as possible:", e)
:  File "/usr/bin/satellite-sync", line 126, in systemExit_exception
:    satsync.sendMail(forceEmail=1)
:  File
"/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py",
line 376, in sendMail
:    rhnMail.send(headers, body, sender=sndr)
:  File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnMail.py", line 55, in send
:    server = smtplib.SMTP('localhost')
:  File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
:    (code, msg) = self.connect(host, port)
:  File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
:    self.sock = self._get_socket(host, port, self.timeout)
:  File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
:    return socket.create_connection((port, host), timeout)
:  File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
:    raise error, msg
:error: [Errno 111] Connection refused

Environment

  • Red Hat Network Satellite 5.4
  • Red Hat Network Satellite 5.5
  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.