python -m SimpleHTTPServer crashed

Solution Verified - Updated -


  • python -m SimpleHTTPServer 8080 crashed with following error
abrt_version:   2.0.8
cmdline:        python -m SimpleHTTPServer 8080
executable:     /usr/lib64/python2.6/
kernel:         2.6.32-642.11.1.el6.x86_64
last_occurrence: 1482429222
machineid:      sosreport_uploader-dmidecode=39d99a2306495bcd53b0ab2fef9ef7dfc1cd26cd9bbb894c8b5ac45b51492e08
pkg_arch:       x86_64
pkg_epoch:      0
pkg_fingerprint: 199E 2F91 FD43 1D51
pkg_name:       python-libs
pkg_release:    66.el6_8
pkg_vendor:     Red Hat, Inc.
pkg_version:    2.6.6
time:           Thu 22 Dec 2016 09:53:42 AM PST
uid:            0
username:       root

sosreport.tar.xz: Binary file, 1880908 bytes

:<string>:1:bind:error: [Errno 98] Address already in use
:Traceback (most recent call last):
:  File "/usr/lib64/python2.6/", line 122, in _run_module_as_main
:    "__main__", fname, loader, pkg_name)
:  File "/usr/lib64/python2.6/", line 34, in _run_code
:    exec code in run_globals
:  File "/usr/lib64/python2.6/", line 220, in <module>
:    test()
:  File "/usr/lib64/python2.6/", line 216, in test
:    BaseHTTPServer.test(HandlerClass, ServerClass)
:  File "/usr/lib64/python2.6/", line 584, in test
:    httpd = ServerClass(server_address, HandlerClass)
:  File "/usr/lib64/python2.6/", line 412, in __init__
:    self.server_bind()
:  File "/usr/lib64/python2.6/", line 108, in server_bind
:    SocketServer.TCPServer.server_bind(self)
:  File "/usr/lib64/python2.6/", line 423, in server_bind
:    self.socket.bind(self.server_address)
:  File "<string>", line 1, in bind
:error: [Errno 98] Address already in use
:Local variables in innermost frame:
:self: <socket._socketobject object at 0x1018a60>
:args: (('', 8080),)


  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content