Bug 1047080 - [abrt] radicale: socket.py:224:meth:error: [Errno 98] Address already in use
Summary: [abrt] radicale: socket.py:224:meth:error: [Errno 98] Address already in use
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: radicale
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Juan Orti
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1bca930468f65efde944134f2d0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-28 21:52 UTC by Raphos
Modified: 2018-04-11 09:14 UTC (History)
5 users (show)

Fixed In Version: radicale-0.9-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-27 01:35:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.12 KB, text/plain)
2013-12-28 21:52 UTC, Raphos
no flags Details
File: environ (2.34 KB, text/plain)
2013-12-28 21:52 UTC, Raphos
no flags Details

Description Raphos 2013-12-28 21:52:18 UTC
Description of problem:
Try to launch in a terminal as root  "radicale"

Version-Release number of selected component:
radicale-0.8-7.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /bin/radicale
dso_list:       python-libs-2.7.5-9.fc20.x86_64
executable:     /bin/radicale
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
socket.py:224:meth:error: [Errno 98] Address already in use

Traceback (most recent call last):
  File "/bin/radicale", line 32, in <module>
    radicale.__main__.run()
  File "/usr/lib/python2.7/site-packages/radicale/__main__.py", line 136, in run
    server_class, RequestHandler))
  File "/usr/lib64/python2.7/wsgiref/simple_server.py", line 144, in make_server
    server = server_class((host, port), handler_class)
  File "/usr/lib/python2.7/site-packages/radicale/__init__.py", line 83, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/wsgiref/simple_server.py", line 48, in server_bind
    HTTPServer.server_bind(self)
  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

Local variables in innermost frame:
self: <socket._socketobject object at 0x1f61bb0>
args: (('127.0.0.1', 5232),)
name: 'bind'

Comment 1 Raphos 2013-12-28 21:52:23 UTC
Created attachment 842790 [details]
File: backtrace

Comment 2 Raphos 2013-12-28 21:52:25 UTC
Created attachment 842791 [details]
File: environ

Comment 3 Juan Orti 2014-01-02 16:31:23 UTC
Do you get any SELinux denial? 
You can check it with:
grep radicale /var/log/audit/audit.log

Please, try this build to see if it fixes your problems:
https://admin.fedoraproject.org/updates/FEDORA-2013-24007/radicale-0.8-7.fc20

Comment 4 Juan Orti 2014-01-17 11:37:19 UTC
Radicale 0.8-7 has been pushed to stable. Does it fix the problem for you?

https://admin.fedoraproject.org/updates/FEDORA-2013-24007/radicale-0.8-7.fc20

Comment 5 Matěj Cepl 2014-02-15 07:32:05 UTC
If you are able to reproduce this with the latest update of radicale, could you please post as the output of the command

lsof -i :5232

(don't miss that colon before the port number), please?

Comment 6 Raphos 2014-02-18 13:58:04 UTC
This problem appears only when i use the xfce application launcher.

Using the command "radicale" in a terminal as root report me no error.

# radicale
Starting Radicale

# lsof -i :5232
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
radicale 1839 root    5u  IPv4  33659      0t0  TCP localhost:sgi-dgl (LISTEN)

Comment 7 Juan Orti 2014-03-12 11:57:32 UTC
Start the server with:

systemctl start radicale.service

If you get the error "Address already in use", please, attach /etc/radicale/config and the output of:

netstat -putan

If you see any AVC in /var/log/audit/audit.log, include them too.

Comment 8 Mathieu Dupuy 2014-07-22 12:57:19 UTC
Hi.
I see no progress has been made on this bug.

It's probably related to this one : https://bugzilla.redhat.com/show_bug.cgi?id=1122049. Radicale fails to create its pid file and carry on anyway, and thus is unable to detect it already has a running instance. Fixing the aforementioned bug, which I'm set out to fix, should somewhat fix this one.

Comment 9 Fedora Update System 2014-08-14 10:12:48 UTC
radicale-0.9-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/radicale-0.9-1.fc20

Comment 10 Fedora Update System 2014-08-16 00:32:38 UTC
Package radicale-0.9-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing radicale-0.9-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9470/radicale-0.9-1.fc20
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-08-27 01:35:41 UTC
radicale-0.9-1.fc20 has been pushed to the Fedora 20 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.