Bug 1242133 - [abrt] initial-setup: socket.py:228:meth:error: [Errno 111] Connection refused
Summary: [abrt] initial-setup: socket.py:228:meth:error: [Errno 111] Connection refused
Keywords:
Status: CLOSED DUPLICATE of bug 1218345
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
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:10887c7983f1035e7f580ee860d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-11 09:55 UTC by Naipaul Ojar
Modified: 2015-07-13 10:44 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-13 10:44:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.23 KB, text/plain)
2015-07-11 09:55 UTC, Naipaul Ojar
no flags Details
File: environ (115 bytes, text/plain)
2015-07-11 09:55 UTC, Naipaul Ojar
no flags Details

Description Naipaul Ojar 2015-07-11 09:55:25 UTC
Description of problem:
This is my first use of my upgraded Fedora 22 system. I upgraded from Fedora 20 to 22 last night.
I tried yum update and I was informed that dfn is the appropriate command and to run the plugins migrate:-
dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate

I have attempted this command sequence 2 times andit crashed twice.

Traceback (most recent call last):
  File "/bin/dnf-2", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 185, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 134, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1077, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 126, in run
    self.migrate_groups()
  File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 242, in migrate_groups
    installed = self.get_yum_installed_groups(yum_exec)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 257, in get_yum_installed_groups
    env=env_config))
  File "/usr/lib64/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '[u'/usr/bin/yum-deprecated', u'-q', u'group', u'list', u'installed', u'-C']' returned non-zero exit status 1


Version-Release number of selected component:
initial-setup-0.3.31-1.fc22

Additional info:
reporter:       libreport-2.6.0
cmdline:        python -m initial_setup
dso_list:       python-libs-2.7.10-1.fc22.x86_64
executable:     /usr/lib/python2.7/site-packages/initial_setup/__main__.py
kernel:         3.19.8-100.fc20.x86_64
runlevel:       unknown
type:           Python
uid:            0

Truncated backtrace:
socket.py:228:meth:error: [Errno 111] Connection refused

Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/initial_setup/__main__.py", line 20, in <module>
    initial_setup_log.init()
  File "/usr/lib/python2.7/site-packages/initial_setup/initial_setup_log.py", line 48, in init
    syslogHandler = InitialSetupSyslogHandler('/dev/log', SysLogHandler.LOG_LOCAL1, "initial-setup")
  File "/usr/lib/python2.7/site-packages/initial_setup/initial_setup_log.py", line 34, in __init__
    SysLogHandler.__init__(self, address, facility)
  File "/usr/lib64/python2.7/logging/handlers.py", line 761, in __init__
    self._connect_unixsocket(address)
  File "/usr/lib64/python2.7/logging/handlers.py", line 789, in _connect_unixsocket
    self.socket.connect(address)
  File "/usr/lib64/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused

Local variables in innermost frame:
self: <socket._socketobject object at 0x7fa2b604bbb0>
args: ('/dev/log',)
name: 'connect'

Comment 1 Naipaul Ojar 2015-07-11 09:55:28 UTC
Created attachment 1050869 [details]
File: backtrace

Comment 2 Naipaul Ojar 2015-07-11 09:55:29 UTC
Created attachment 1050870 [details]
File: environ

Comment 3 Honza Silhan 2015-07-13 10:44:35 UTC
Hi, this should have been fixed in dnf-plugins-extras-0.0.9. Run `dnf update dnf dnf-plugins-extras` before `migrate`, please. If the update doesn't help, feel free to reopen and share output of `rpm -q dnf dnf-plugins-extras`.

*** This bug has been marked as a duplicate of bug 1218345 ***


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