[tahoe-lafs-trac-stream] [tahoe-lafs] #1377: "tahoe start" claims to have started when it didn't (due to port number conflict)

tahoe-lafs trac at tahoe-lafs.org
Thu Jun 6 20:03:20 UTC 2013


#1377: "tahoe start" claims to have started when it didn't (due to port number
conflict)
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:  davidsarah
         Type:  defect   |     Status:  assigned
     Priority:  major    |  Milestone:  1.11.0
    Component:  code-    |    Version:  1.8.2
  nodeadmin              |   Keywords:  cli tahoe-start error usability
   Resolution:           |  port conflict
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Old description:

> The problem that I reported in #1376 was caused by the gateway failing to
> start due to the port number already being taken. From its
> {{{twistd.log}}}:
> {{{
> 2011-03-11 11:57:37-0500 [-]   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/tcp.py",
> line 858, in startListening
> 2011-03-11 11:57:37-0500 [-]     raise CannotListenError,
> (self.interface, self.port, le)
> 2011-03-11 11:57:37-0500 [-] twisted.internet.error.CannotListenError:
> Couldn't listen on any:9996: [Errno 48] Address already in use.
> }}}
> Looking back through my screen buffer, I see that it misled me into
> thinking that it had started:
> {{{
> $ tahoe start .
> STARTING '/Users/zooko/tmp/d/tmp_create'
> $
> }}}

New description:

 The problem that I reported in #1376 was caused by the gateway failing to
 start due to the port number already being taken. From its
 {{{twistd.log}}}:
 {{{
 2011-03-11 11:57:37-0500 [-]   File
 "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/twisted/internet/tcp.py",
 line 858, in startListening
 2011-03-11 11:57:37-0500 [-]     raise CannotListenError, (self.interface,
 self.port, le)
 2011-03-11 11:57:37-0500 [-] twisted.internet.error.CannotListenError:
 Couldn't listen on any:9996: [Errno 48] Address already in use.
 }}}
 Looking back through my screen buffer, I see that it misled me into
 thinking that it had started:
 {{{
 $ tahoe start .
 STARTING '/Users/zooko/tmp/d/tmp_create'
 $
 }}}

--

Comment (by daira):

 We're at a hack fest in Berlin and a new user is also having this problem.
 Now I'm annoyed enough to fix it :-)

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1377#comment:4>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list