Re: [Zope] Socket.error problem

2000-10-16 Thread Manuel Amador (Rudd-O)


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):

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 <[EMAIL PROTECTED]>
À : <[EMAIL PROTECTED]>
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 ?
>
>
>

  
[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 
@00d9
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   
@001d
unix  1  [ ]
STREAM CONNECTED 26259 
@00cb
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 
@00ce
unix  1  [ ]
STREAM CONNECTED 26253 
@00c8
unix  0  [ ACC ]
STREAM LISTENING 2848  
/tmp/.X11-unix/X0
unix  0  [ ACC ]
STREAM L

Re: [Zope] Socket.error problem

2000-10-08 Thread Tino Wildenhain

Hi Ronald,

"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):
> 
> 
> 
> 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 <[EMAIL PROTECTED]>
> À : <[EMAIL PROTECTED]>
> 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 ?
> >
tcp0  0 *:8021  *:*
LISTEN   

I suspect this line to be the offending one. IIRC the number "98" isnt
actually
a port number but a error number of the socket-lib.
Your zope-ftp-server probably tries to bind 8021 which is not possible.

HTH
Tino Wildenhain

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Socket.error problem

2000-10-07 Thread Ronald L. Chichester

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):



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 <[EMAIL PROTECTED]>
À : <[EMAIL PROTECTED]>
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 ?
>
>
>




[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  
tcp0  0 *:6000  *:* LISTEN  
tcp0  0 *:3053  *:* LISTEN  
tcp0  0 *:8021  *:* LISTEN  
tcp0  0 *:postgres  *:* LISTEN  
tcp0  0 *:www   *:* LISTEN  
tcp0  0 *:smtp  *:* LISTEN  
tcp0  0 *:printer   *:* LISTEN  
tcp0  0 *:pop3  *:* LISTEN  
tcp0  0 *:telnet*:* LISTEN  
tcp0  0 *:ftp   *:* LISTEN  
tcp0  0 *:auth  *:* LISTEN  
tcp0  0 *:sunrpc*:* LISTEN  
udp0  0 *:xdmcp *:* 
udp0  0 *:sunrpc*:* 
raw0  0 *:icmp  *:* 7   
raw0  0 *:tcp   *:* 7   
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags   Type   State I-Node Path
unix  1  [ ] STREAM CONNECTED 26342  @00d9
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@001d
unix  1  [ ] STREAM CONNECTED 26259  @00cb
unix  0  [ ACC ] STREAM LISTENING 2816   /var/run/pcgi.soc
unix  0  [ ACC ] STREAM LISTENING 1406   private/error
unix  9  [ ] DGRAM382/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  @00ce
unix  1  [ ] STREAM CONNECTED 26253  @00c8
unix  0  [ ACC ] STREAM LISTENING 2848   /tmp/.X11-unix/X0
unix  0  [ ACC ] STREAM LISTENING 1418   private/uucp
unix  1  [ ] STRE