[Zope] Zope won't start: "Protocol wrong type for socket"
David
dpnsw@optushome.com.au
Mon, 24 Sep 2001 14:37:59 +1000
I have recently upgraded my zope installation.
I use redhat 7.0 but will a number of packages from rawhide to bring me a bit
more up to date.
Kernel 2.4.3
Zope 2.4.1
python 2.1.1
I have tried both zserver and pcgi using the packages from
http://www.taupro.com/Downloads/Zope/
Zope fails to start with the following message
Sep 21 01:08:50 CO3011387-A z2[4335]: Startup exception : error: (91,
'Protocol wrong type for socket')
So I did a little investigation and found that the following command
/usr/bin/env python2.1 z2.py
-u zope
-z /usr/share/zope
-Z /var/run/zwatchdog.pid
-w 8080
-f 8021
-m ''
-D
-l /var/log/zope >> /var/log/zope 2>&1 &
returns
------
2001-09-24T03:44:38 PANIC(300) z2 Startup exception
Traceback (innermost last):
File z2.py, line 606, in ?
File /usr/share/zope/ZServer/medusa/logger.py, line 163, in __init__
File /usr/share/zope/ZServer/medusa/m_syslog.py, line 144, in __init__
error: (91, 'Protocol wrong type for socket')
Yet when I include the -r flag for read only on the log files I get
------
2001-09-24T03:45:10 INFO(0) ZServer HTTP server started at Mon Sep 24
13:45:10 2001
Hostname: CO3011387-A
Port: 8080
------
2001-09-24T03:45:10 INFO(0) ZServer FTP server started at Mon Sep 24 13:45:10
2001
Hostname: CO3011387-A
Port: 8021
So what is going on here?
Is my installation at fault or the program?
--
Best Regards,
David Price