[Zope] Socket.error problem
Manuel Amador (Rudd-O)
amador@alomega.com
Tue, 17 Oct 2000 00:17:53 -0500
--------------3F0FD8D006732218DB5BA327
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
user processes cannot bind to ports lower than 1024. Never forget dat.
"Ronald L. Chichester" wrote:
> I'm getting the exact same socket.error message that appeared on this
> list in March, 2000. (See the attached problem.txt file.)
> Specifically, this is the error message that I get when I start zope.
> The person who kindly identified the problem didn't provide a solution.
> I have my netstat -a results attached as netstat.txt. Could someone
> tell me how I can resolve this port conflict?
>
> Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration.
>
> Thanks in advance,
>
> Ron
> ./.
>
> This is the reply that was provided to the first person who encountered
> this problem (and submitted it to the list):
>
> <MESSAGE>
>
> You have another process that is "bind" to port 98...
>
> this is the registered port for "tacnews".
>
> try "netstat -a" under the shell...
>
> ----- Message d'origine -----
> De : Ulf Byskov <ulf.byskov@comptel.com>
> À : <zope@zope.org>
> Envoyé : lundi 13 mars 2000 11:28
> Objet : [Zope] socket problem
>
> > When I try to start Z Server i get the following error messages:
> >
> > File
> >
> "/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a
>
> syncore.py",
> > line 205, in bind
> > return self.socket.bind (addr)
> > socket.error: (98, 'Address already in use')
> >
> >
> > I don't use the number 98 in any address or port (http=80, ftp='' and
> > monitor='')
> > so what could this error be about ?
> >
> >
> >
>
> </MESSAGE>
>
> ------------------------------------------------------------------------
> [nobody@localhost Zope-2.2.2-linux2-x86]$ ./start
> ------
> 2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname
> ------
> 2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun OCt 8 00:31:03 2000
> Hostname: localhost.localdomain
> Port:8080
>
> Traceback (innermost last):
> File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?, line 634, in ?
> logger_object=lg)
> File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?, line 619, in __init__
> apply(ftp_server.__init__, (self, None) + args, kw)
> File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?, line 725, in __init__ self.bind ((self.ip, self.port))
> File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?, line 242, in bind return self.socket.bind (addr)
> socket.error: (98, ?Address already in use?)
>
> ------------------------------------------------------------------------
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address Foreign Address State
> tcp 0 0 *:6000 *:* LISTEN
> tcp 0 0 *:3053 *:* LISTEN
> tcp 0 0 *:8021 *:* LISTEN
> tcp 0 0 *:postgres *:* LISTEN
> tcp 0 0 *:www *:* LISTEN
> tcp 0 0 *:smtp *:* LISTEN
> tcp 0 0 *:printer *:* LISTEN
> tcp 0 0 *:pop3 *:* LISTEN
> tcp 0 0 *:telnet *:* LISTEN
> tcp 0 0 *:ftp *:* LISTEN
> tcp 0 0 *:auth *:* LISTEN
> tcp 0 0 *:sunrpc *:* LISTEN
> udp 0 0 *:xdmcp *:*
> udp 0 0 *:sunrpc *:*
> raw 0 0 *:icmp *:* 7
> raw 0 0 *:tcp *:* 7
> Active UNIX domain sockets (servers and established)
> Proto RefCnt Flags Type State I-Node Path
> unix 1 [ ] STREAM CONNECTED 26342 @000000d9
> unix 0 [ ACC ] STREAM LISTENING 1402 public/showq
> unix 0 [ ACC ] STREAM LISTENING 1398 private/smtp
> unix 0 [ ACC ] STREAM LISTENING 1389 private/bounce
> unix 0 [ ] STREAM CONNECTED 194 @0000001d
> unix 1 [ ] STREAM CONNECTED 26259 @000000cb
> unix 0 [ ACC ] STREAM LISTENING 2816 /var/run/pcgi.soc
> unix 0 [ ACC ] STREAM LISTENING 1406 private/error
> unix 9 [ ] DGRAM 382 /dev/log
> unix 0 [ ACC ] STREAM LISTENING 2792 /tmp/.font-unix/fs-1
> unix 0 [ ACC ] STREAM LISTENING 1687 /dev/gpmctl
> unix 0 [ ACC ] STREAM LISTENING 1410 private/local
> unix 0 [ ACC ] STREAM LISTENING 1414 private/cyrus
> unix 1 [ ] STREAM CONNECTED 26267 @000000ce
> unix 1 [ ] STREAM CONNECTED 26253 @000000c8
> unix 0 [ ACC ] STREAM LISTENING 2848 /tmp/.X11-unix/X0
> unix 0 [ ACC ] STREAM LISTENING 1418 private/uucp
> unix 1 [ ] STREAM CONNECTED 26269 @000000cf
> unix 0 [ ACC ] STREAM LISTENING 1422 private/ifmail
> unix 1 [ ] STREAM CONNECTED 26263 @000000cc
> unix 0 [ ACC ] STREAM LISTENING 1427 private/bsmtp
> unix 1 [ ] STREAM CONNECTED 26265 @000000cd
> unix 1 [ N ] STREAM CONNECTED 26277 @000000d1
> unix 0 [ ACC ] STREAM LISTENING 473 /dev/printer
> unix 1 [ ] STREAM CONNECTED 26292 @000000d2
> unix 0 [ ACC ] STREAM LISTENING 26275 /tmp//kfm_501_1753localhost.localdomain_0
> unix 1 [ ] STREAM CONNECTED 26247 @000000c6
> unix 1 [ ] STREAM CONNECTED 26177 @000000b5
> unix 1 [ N ] STREAM CONNECTED 26271 @000000d0
> unix 1 [ ] STREAM CONNECTED 26180 @000000b6
> unix 0 [ ACC ] STREAM LISTENING 1378 private/cleanup
> unix 1 [ ] STREAM CONNECTED 26312 @000000d5
> unix 0 [ ACC ] STREAM LISTENING 1385 private/rewrite
> unix 0 [ ACC ] STREAM LISTENING 26273 /tmp//kio_501_1753localhost.localdomain_0
> unix 0 [ ACC ] STREAM LISTENING 2749 /tmp/.s.PGSQL.5432
> unix 0 [ ACC ] STREAM LISTENING 1393 private/defer
> unix 0 [ ] DGRAM 26354
> unix 1 [ ] STREAM CONNECTED 26343 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26313 /tmp/.X11-unix/X0
> unix 1 [ N ] STREAM CONNECTED 26293 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26278 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26272 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26270 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26268 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26266 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26264 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26260 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26254 /tmp/.X11-unix/X0
> unix 1 [ ] STREAM CONNECTED 26248 /tmp/.X11-unix/X0
> unix 1 [ N ] STREAM CONNECTED 26181 /tmp/.font-unix/fs-1
> unix 1 [ ] STREAM CONNECTED 26182 /tmp/.X11-unix/X0
> unix 0 [ ] DGRAM 2813
> unix 0 [ ] DGRAM 2812
> unix 0 [ ] DGRAM 1464
> unix 1 [ ] STREAM CONNECTED 1430
> unix 1 [ ] STREAM CONNECTED 1429
> unix 1 [ ] STREAM CONNECTED 1425
> unix 1 [ ] STREAM CONNECTED 1424
> unix 1 [ ] STREAM CONNECTED 1421
> unix 1 [ ] STREAM CONNECTED 1420
> unix 1 [ ] STREAM CONNECTED 1417
> unix 1 [ ] STREAM CONNECTED 1416
> unix 1 [ ] STREAM CONNECTED 1413
> unix 1 [ ] STREAM CONNECTED 1412
> unix 1 [ ] STREAM CONNECTED 1409
> unix 1 [ ] STREAM CONNECTED 1408
> unix 1 [ ] STREAM CONNECTED 1405
> unix 1 [ ] STREAM CONNECTED 1404
> unix 1 [ ] STREAM CONNECTED 1401
> unix 1 [ ] STREAM CONNECTED 1400
> unix 1 [ ] STREAM CONNECTED 1396
> unix 1 [ ] STREAM CONNECTED 1395
> unix 1 [ ] STREAM CONNECTED 1392
> unix 1 [ ] STREAM CONNECTED 1391
> unix 1 [ ] STREAM CONNECTED 1388
> unix 1 [ ] STREAM CONNECTED 1387
> unix 1 [ ] STREAM CONNECTED 1384
> unix 1 [ ] STREAM CONNECTED 1383
> unix 1 [ ] STREAM CONNECTED 1381
> unix 1 [ ] STREAM CONNECTED 1380
> unix 1 [ ] STREAM CONNECTED 1377
> unix 1 [ ] STREAM CONNECTED 1376
> unix 1 [ ] STREAM CONNECTED 1374
> unix 1 [ ] STREAM CONNECTED 1373
> unix 0 [ ] DGRAM 1355
> unix 0 [ ] DGRAM 486
> unix 0 [ ] DGRAM 469
> unix 0 [ ] DGRAM 403
> unix 0 [ ] DGRAM 392
--
Manuel Amador (Rudd-O)
--------------3F0FD8D006732218DB5BA327
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
user processes cannot bind to ports lower than 1024. Never forget
dat.
<p>"Ronald L. Chichester" wrote:
<blockquote TYPE=CITE>I'm getting the exact same socket.error message that
appeared on this
<br>list in March, 2000. (See the attached problem.txt file.)
<br>Specifically, this is the error message that I get when I start zope.
<br>The person who kindly identified the problem didn't provide a solution.
<br>I have my netstat -a results attached as netstat.txt. Could someone
<br>tell me how I can resolve this port conflict?
<p>Incidentally, I'm using Mandrake 7.1 in a fairly standard configuration.
<p>Thanks in advance,
<p>Ron
<br> ./.
<p>This is the reply that was provided to the first person who encountered
<br>this problem (and submitted it to the list):
<p><MESSAGE>
<p>You have another process that is "bind" to port 98...
<p>this is the registered port for "tacnews".
<p>try "netstat -a" under the shell...
<p>----- Message d'origine -----
<br>De : Ulf Byskov <ulf.byskov@comptel.com>
<br>À : <zope@zope.org>
<br>Envoyé : lundi 13 mars 2000 11:28
<br>Objet : [Zope] socket problem
<p>> When I try to start Z Server i get the following error messages:
<br>>
<br>> File
<br>>
<br>"/WWW/Docs/product_development/teams/AMD_framework/dev/Zope/ZServer/medusa/a
<p>syncore.py",
<br>> line 205, in bind
<br>> return self.socket.bind (addr)
<br>> socket.error: (98, 'Address already in use')
<br>>
<br>>
<br>> I don't use the number 98 in any address or port (http=80, ftp=''
and
<br>> monitor='')
<br>> so what could this error be about ?
<br>>
<br>>
<br>>
<p></MESSAGE>
<p> ------------------------------------------------------------------------
<br>[nobody@localhost Zope-2.2.2-linux2-x86]$ ./start
<br>------
<br>2000-10-08T-5:31:03 PROBLEM(100) ZServer Computing default hostname
<br>------
<br>2000-10-08T-5:31:03 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun
OCt 8 00:31:03 2000
<br> Hostname: localhost.localdomain
<br> Port:8080
<p>Traceback (innermost last):
<br> File ?/usr/local/Zope-2.2.2-linux2-x86/z2.py?,
line 634, in ?
<br>
logger_object=lg)
<br> File "/usr/local/Zope-2.2.2-linux2-x86/ZServer/FTPServer.py?,
line 619, in __init__
<br>
apply(ftp_server.__init__, (self, None) + args, kw)
<br> File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/ftp_server.py?,
line 725, in
__init__ self.bind ((self.ip, self.port))
<br> File ?/usr/local/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py?,
line 242, in bind
return self.socket.bind (addr)
<br>socket.error: (98, ?Address already in use?)
<p> ------------------------------------------------------------------------
<br>Active Internet connections (servers and established)
<br>Proto Recv-Q Send-Q Local Address
Foreign Address State
<br>tcp 0
0 *:6000
*:*
LISTEN
<br>tcp 0
0 *:3053
*:*
LISTEN
<br>tcp 0
0 *:8021
*:*
LISTEN
<br>tcp 0
0 *:postgres
*:*
LISTEN
<br>tcp 0
0 *:www
*:*
LISTEN
<br>tcp 0
0 *:smtp
*:*
LISTEN
<br>tcp 0
0 *:printer
*:*
LISTEN
<br>tcp 0
0 *:pop3
*:*
LISTEN
<br>tcp 0
0 *:telnet
*:*
LISTEN
<br>tcp 0
0 *:ftp
*:*
LISTEN
<br>tcp 0
0 *:auth
*:*
LISTEN
<br>tcp 0
0 *:sunrpc
*:*
LISTEN
<br>udp 0
0 *:xdmcp
*:*
<br>udp 0
0 *:sunrpc
*:*
<br>raw 0
0 *:icmp
*:*
7
<br>raw 0
0 *:tcp
*:*
7
<br>Active UNIX domain sockets (servers and established)
<br>Proto RefCnt Flags Type
State I-Node Path
<br>unix 1 [ ]
STREAM CONNECTED 26342
@000000d9
<br>unix 0 [ ACC ]
STREAM LISTENING 1402
public/showq
<br>unix 0 [ ACC ]
STREAM LISTENING 1398
private/smtp
<br>unix 0 [ ACC ]
STREAM LISTENING 1389
private/bounce
<br>unix 0 [ ]
STREAM CONNECTED 194
@0000001d
<br>unix 1 [ ]
STREAM CONNECTED 26259
@000000cb
<br>unix 0 [ ACC ]
STREAM LISTENING 2816
/var/run/pcgi.soc
<br>unix 0 [ ACC ]
STREAM LISTENING 1406
private/error
<br>unix 9 [ ]
DGRAM
382 /dev/log
<br>unix 0 [ ACC ]
STREAM LISTENING 2792
/tmp/.font-unix/fs-1
<br>unix 0 [ ACC ]
STREAM LISTENING 1687
/dev/gpmctl
<br>unix 0 [ ACC ]
STREAM LISTENING 1410
private/local
<br>unix 0 [ ACC ]
STREAM LISTENING 1414
private/cyrus
<br>unix 1 [ ]
STREAM CONNECTED 26267
@000000ce
<br>unix 1 [ ]
STREAM CONNECTED 26253
@000000c8
<br>unix 0 [ ACC ]
STREAM LISTENING 2848
/tmp/.X11-unix/X0
<br>unix 0 [ ACC ]
STREAM LISTENING 1418
private/uucp
<br>unix 1 [ ]
STREAM CONNECTED 26269
@000000cf
<br>unix 0 [ ACC ]
STREAM LISTENING 1422
private/ifmail
<br>unix 1 [ ]
STREAM CONNECTED 26263
@000000cc
<br>unix 0 [ ACC ]
STREAM LISTENING 1427
private/bsmtp
<br>unix 1 [ ]
STREAM CONNECTED 26265
@000000cd
<br>unix 1 [ N ]
STREAM CONNECTED 26277
@000000d1
<br>unix 0 [ ACC ]
STREAM LISTENING 473
/dev/printer
<br>unix 1 [ ]
STREAM CONNECTED 26292
@000000d2
<br>unix 0 [ ACC ]
STREAM LISTENING 26275
/tmp//kfm_501_1753localhost.localdomain_0
<br>unix 1 [ ]
STREAM CONNECTED 26247
@000000c6
<br>unix 1 [ ]
STREAM CONNECTED 26177
@000000b5
<br>unix 1 [ N ]
STREAM CONNECTED 26271
@000000d0
<br>unix 1 [ ]
STREAM CONNECTED 26180
@000000b6
<br>unix 0 [ ACC ]
STREAM LISTENING 1378
private/cleanup
<br>unix 1 [ ]
STREAM CONNECTED 26312
@000000d5
<br>unix 0 [ ACC ]
STREAM LISTENING 1385
private/rewrite
<br>unix 0 [ ACC ]
STREAM LISTENING 26273
/tmp//kio_501_1753localhost.localdomain_0
<br>unix 0 [ ACC ]
STREAM LISTENING 2749
/tmp/.s.PGSQL.5432
<br>unix 0 [ ACC ]
STREAM LISTENING 1393
private/defer
<br>unix 0 [ ]
DGRAM
26354
<br>unix 1 [ ]
STREAM CONNECTED 26343
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26313
/tmp/.X11-unix/X0
<br>unix 1 [ N ]
STREAM CONNECTED 26293
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26278
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26272
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26270
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26268
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26266
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26264
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26260
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26254
/tmp/.X11-unix/X0
<br>unix 1 [ ]
STREAM CONNECTED 26248
/tmp/.X11-unix/X0
<br>unix 1 [ N ]
STREAM CONNECTED 26181
/tmp/.font-unix/fs-1
<br>unix 1 [ ]
STREAM CONNECTED 26182
/tmp/.X11-unix/X0
<br>unix 0 [ ]
DGRAM
2813
<br>unix 0 [ ]
DGRAM
2812
<br>unix 0 [ ]
DGRAM
1464
<br>unix 1 [ ]
STREAM CONNECTED 1430
<br>unix 1 [ ]
STREAM CONNECTED 1429
<br>unix 1 [ ]
STREAM CONNECTED 1425
<br>unix 1 [ ]
STREAM CONNECTED 1424
<br>unix 1 [ ]
STREAM CONNECTED 1421
<br>unix 1 [ ]
STREAM CONNECTED 1420
<br>unix 1 [ ]
STREAM CONNECTED 1417
<br>unix 1 [ ]
STREAM CONNECTED 1416
<br>unix 1 [ ]
STREAM CONNECTED 1413
<br>unix 1 [ ]
STREAM CONNECTED 1412
<br>unix 1 [ ]
STREAM CONNECTED 1409
<br>unix 1 [ ]
STREAM CONNECTED 1408
<br>unix 1 [ ]
STREAM CONNECTED 1405
<br>unix 1 [ ]
STREAM CONNECTED 1404
<br>unix 1 [ ]
STREAM CONNECTED 1401
<br>unix 1 [ ]
STREAM CONNECTED 1400
<br>unix 1 [ ]
STREAM CONNECTED 1396
<br>unix 1 [ ]
STREAM CONNECTED 1395
<br>unix 1 [ ]
STREAM CONNECTED 1392
<br>unix 1 [ ]
STREAM CONNECTED 1391
<br>unix 1 [ ]
STREAM CONNECTED 1388
<br>unix 1 [ ]
STREAM CONNECTED 1387
<br>unix 1 [ ]
STREAM CONNECTED 1384
<br>unix 1 [ ]
STREAM CONNECTED 1383
<br>unix 1 [ ]
STREAM CONNECTED 1381
<br>unix 1 [ ]
STREAM CONNECTED 1380
<br>unix 1 [ ]
STREAM CONNECTED 1377
<br>unix 1 [ ]
STREAM CONNECTED 1376
<br>unix 1 [ ]
STREAM CONNECTED 1374
<br>unix 1 [ ]
STREAM CONNECTED 1373
<br>unix 0 [ ]
DGRAM
1355
<br>unix 0 [ ]
DGRAM
486
<br>unix 0 [ ]
DGRAM
469
<br>unix 0 [ ]
DGRAM
403
<br>unix 0 [ ]
DGRAM
392</blockquote>
<pre>--
Manuel Amador (Rudd-O)</pre>
</html>
--------------3F0FD8D006732218DB5BA327--