Bug 1055042 - [abrt] yum-cron: socket.py:571:create_connection:error: [Errno 111] Connection refused
Summary: [abrt] yum-cron: socket.py:571:create_connection:error: [Errno 111] Connectio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bf82ab375a3de98cfd957244d11...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-18 08:41 UTC by Bob
Modified: 2014-02-06 03:52 UTC (History)
4 users (show)

Fixed In Version: yum-3.4.3-132.fc19
Clone Of:
Environment:
Last Closed: 2014-01-23 11:09:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.34 KB, text/plain)
2014-01-18 08:41 UTC, Bob
no flags Details
File: environ (213 bytes, text/plain)
2014-01-18 08:41 UTC, Bob
no flags Details

Description Bob 2014-01-18 08:41:32 UTC
Version-Release number of selected component:
yum-cron-3.4.3-129.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python -tt /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
dso_list:       python-libs-2.7.5-9.fc20.x86_64
executable:     /usr/sbin/yum-cron
kernel:         3.12.7-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
socket.py:571:create_connection:error: [Errno 111] Connection refused

Traceback (most recent call last):
  File "/usr/sbin/yum-cron", line 698, in <module>
    main()
  File "/usr/sbin/yum-cron", line 695, in main
    base.updatesCheck()
  File "/usr/sbin/yum-cron", line 606, in updatesCheck
    self.emitMessages()
  File "/usr/sbin/yum-cron", line 681, in emitMessages
    map(lambda x: x.sendMessages(), self.emitters)
  File "/usr/sbin/yum-cron", line 681, in <lambda>
    map(lambda x: x.sendMessages(), self.emitters)
  File "/usr/sbin/yum-cron", line 233, in sendMessages
    s.connect(self.opts.email_host)
  File "/usr/lib64/python2.7/smtplib.py", line 310, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib64/python2.7/smtplib.py", line 285, in _get_socket
    return socket.create_connection((host, port), timeout)
  File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 111] Connection refused

Local variables in innermost frame:
err: error(111, 'Connection refused')
proto: 6
canonname: ''
af: 2
sock: <socket._socketobject object at 0x8171980>
host: 'localhost'
timeout: <object object at 0x7f03211ef0b0>
res: (2, 1, 6, '', ('127.0.0.1', 25))
socktype: 1
address: ('localhost', 25)
sa: ('127.0.0.1', 25)
source_address: None
port: 25
_: error(111, 'Connection refused')

Comment 1 Bob 2014-01-18 08:41:42 UTC
Created attachment 851917 [details]
File: backtrace

Comment 2 Bob 2014-01-18 08:41:52 UTC
Created attachment 851918 [details]
File: environ

Comment 3 Zdeněk Pavlas 2014-01-20 09:34:16 UTC
Please set "email_host" in yum-cron.conf to your smtp server, or make sure smtpd runs on localhost.  Since yum-cron is not interactive, I'd say a traceback in this case is acceptable.

Comment 4 Zdeněk Pavlas 2014-01-20 10:02:15 UTC
Changed my mind.. In general, yum-cron could use many emitters, and failure in any of them should not be fatal; others should run.  Fixed upstream.

Comment 5 Fedora Update System 2014-01-22 10:54:28 UTC
yum-3.4.3-132.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc20

Comment 6 Fedora Update System 2014-01-22 11:08:44 UTC
yum-3.4.3-132.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-132.fc19

Comment 7 Fedora Update System 2014-01-23 11:09:35 UTC
yum-3.4.3-132.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-02-06 03:52:49 UTC
yum-3.4.3-132.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.