Dear Zopers (Zops? Zopians?), This is my first try with Zope. Building on RH Linux 6.0 ( python w_pcgi.py ) went fine, however... --------------------------------------------------------------------------- ---------- [root@nyx Zope-2.0.0b5-src]# ./start ------ 1999-08-20T11:42:05 PROBLEM(100) ZServer Computing default hostname ------ 1999-08-20T11:42:05 INFO(0) ZServer Medusa (V1.10) started at Fri Aug 20 13:42:05 1999 Hostname: nyx.nemesis.se Port:8080 ------ 1999-08-20T11:42:05 INFO(0) ZServer FTP server started at Fri Aug 20 13:42:05 1999 Authorizer:None Hostname: nyx.nemesis.se Port: 8021 ------ 1999-08-20T11:42:05 INFO(0) ZServer Monitor Server (V1.5) started on port 8099 Traceback (innermost last): File "/usr/local/src/Zope-2.0.0b5-src/z2.py", line 494, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/usr/local/src/Zope-2.0.0b5-src/var/Z2.pid' --------------------------------------------------------------------------- -------- This was obviously because 'nobody' could write in '/usr/local/src/Zope-2.0.0b5-src/var/'. 'chmod go+w /usr/local/src/Zope-2.0.0b5-src/var/' solved that. Is this an installation bug? Should I report it somewhere?
It's in the docs already, nobody must have write permissions in the var directory. ----- Original Message ----- From: Svante Kleist <svante+zope@nemesis.se> To: <zope@zope.org> Sent: Friday, August 20, 1999 1:12 PM Subject: [Zope] Installation bug?
Dear Zopers (Zops? Zopians?),
This is my first try with Zope. Building on RH Linux 6.0 ( python w_pcgi.py ) went fine, however...
--------------------------------------------------------------------------
---------- [root@nyx Zope-2.0.0b5-src]# ./start ------ 1999-08-20T11:42:05 PROBLEM(100) ZServer Computing default hostname ------ 1999-08-20T11:42:05 INFO(0) ZServer Medusa (V1.10) started at Fri Aug 20 13:42:05 1999 Hostname: nyx.nemesis.se Port:8080
------ 1999-08-20T11:42:05 INFO(0) ZServer FTP server started at Fri Aug 20 13:42:05 1999 Authorizer:None Hostname: nyx.nemesis.se Port: 8021 ------ 1999-08-20T11:42:05 INFO(0) ZServer Monitor Server (V1.5) started on port 8099 Traceback (innermost last): File "/usr/local/src/Zope-2.0.0b5-src/z2.py", line 494, in ? pf = open(PID_FILE, 'w') IOError: [Errno 13] Permission denied: '/usr/local/src/Zope-2.0.0b5-src/var/Z2.pid' --------------------------------------------------------------------------
- -
--------
This was obviously because 'nobody' could write in '/usr/local/src/Zope-2.0.0b5-src/var/'.
'chmod go+w /usr/local/src/Zope-2.0.0b5-src/var/' solved that.
Is this an installation bug? Should I report it somewhere?
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
It's in the docs already, nobody must have write permissions in the var directory.
<dtml-nitpick> The uid under which your webserver runs, which is often called 'nobody', must be able to read and write the 'var' directory. </dtml-nitpick> As for this being an installation bug, I'm not sure if it is clear what permissions *should* be set on 'var' in the general case, given the possibility that Zope may be served through ZServer, Apache, AOLServer, etc, etc. I've been thinking that it might be a Good Thing to have a zsanity.py script which asks some pertinent questions about how you will be running Zope, and checks for FFECs (Frequently Failed Environment Conditions) such as 'var' permissions, Python version/threading, unset master password, and so on. Guess I just volunteered, hmm? PythonMethods have priority, but once they are ready I'll hit this if nobody else does. Evan Simpson
-- Evan Simpson <evan@tokenexchange.com> wrote: : I've been thinking that it might be a Good Thing to have a zsanity.py : script which asks some pertinent questions about how you will be running : Zope, and checks for FFECs (Frequently Failed Environment Conditions) : such as 'var' permissions, Python version/threading, unset master : password, and so on. As for Python threading: I'm using "python-1.5.2-2.rpm" as in Red Hat 6.0. Is there a way to detect whether it has been compiled with threading or not? Is the fact that Zope starts evidence enough? / Svante Kleist - NEMESIS systemDesign, Stockholm
Ooops, I should have found that myself (doc/SECURITY.txt, last para but one)! But what Zope users calling themselves? / Svante -- Phil Harris <phil@philh.org> wrote: : It's in the docs already, nobody must have write permissions in the var : directory. : : : ----- Original Message ----- : From: Svante Kleist <svante+zope@nemesis.se> : To: <zope@zope.org> : Sent: Friday, August 20, 1999 1:12 PM : Subject: [Zope] Installation bug? : : : > : > Dear Zopers (Zops? Zopians?), : > : > This is my first try with Zope. Building on RH Linux 6.0 : > ( python w_pcgi.py ) went fine, however... : > : > : -------------------------------------------------------------------------- : - : > ---------- : > [root@nyx Zope-2.0.0b5-src]# ./start : > ------ : > 1999-08-20T11:42:05 PROBLEM(100) ZServer Computing default hostname : > ------ : > 1999-08-20T11:42:05 INFO(0) ZServer Medusa (V1.10) started at Fri Aug 20 : > 13:42:05 1999 : > Hostname: nyx.nemesis.se : > Port:8080 : > : > ------ : > 1999-08-20T11:42:05 INFO(0) ZServer FTP server started at Fri Aug 20 : > 13:42:05 1999 : > Authorizer:None : > Hostname: nyx.nemesis.se : > Port: 8021 : > ------ : > 1999-08-20T11:42:05 INFO(0) ZServer Monitor Server (V1.5) started on : port > 8099 : > Traceback (innermost last): : > File "/usr/local/src/Zope-2.0.0b5-src/z2.py", line 494, in ? : > pf = open(PID_FILE, 'w') : > IOError: [Errno 13] Permission denied: : > '/usr/local/src/Zope-2.0.0b5-src/var/Z2.pid' : > : -------------------------------------------------------------------------- : - : > -------- : > : > This was obviously because 'nobody' could write in : > '/usr/local/src/Zope-2.0.0b5-src/var/'. : > : > 'chmod go+w /usr/local/src/Zope-2.0.0b5-src/var/' solved that. : > : > Is this an installation bug? Should I report it somewhere? : > : > : > _______________________________________________ : > Zope maillist - Zope@zope.org : > http://www.zope.org/mailman/listinfo/zope : > : > (To receive general Zope announcements, see: : > http://www.zope.org/mailman/listinfo/zope-announce : > : > For developer-specific issues, zope-dev@zope.org - : > http://www.zope.org/mailman/listinfo/zope-dev ) :
On Fri, 20 Aug 1999, Tony McDonald wrote:
The generally accepted term is Zopistas!
While the word "Zope" sounds dirty in Russian, "zopistas" sounds extremely dirty :((( It's hard to mention Zope in documentation, and it is very hard to pronounce it when I make a presentation :((( Oleg. ---- Oleg Broytmann Netskate/Inter.Net.Ru phd@emerald.netskate.ru Programmers don't die, they just GOSUB without RETURN.
Well come on Oleg, you gotta tell us what it means now! ----- Original Message ----- From: Oleg Broytmann <phd@emerald.netskate.ru> To: Zope Mailing List <zope@zope.org> Sent: Friday, August 20, 1999 4:04 PM Subject: Re: [Zope] Installation bug?
On Fri, 20 Aug 1999, Tony McDonald wrote:
The generally accepted term is Zopistas!
While the word "Zope" sounds dirty in Russian, "zopistas" sounds extremely dirty :((( It's hard to mention Zope in documentation, and it is very hard to pronounce it when I make a presentation :(((
Oleg. ---- Oleg Broytmann Netskate/Inter.Net.Ru phd@emerald.netskate.ru Programmers don't die, they just GOSUB without RETURN.
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
On Fri, 20 Aug 1999, Phil Harris wrote:
Well come on Oleg, you gotta tell us what it means now!
Sorry, I better do not do it here, in loud voice, over the ocean... Oleg. ---- Oleg Broytmann Netskate/Inter.Net.Ru phd@emerald.netskate.ru Programmers don't die, they just GOSUB without RETURN.
On Fri, 20 Aug 1999 19:25:48 +0400 (MSD) Oleg Broytmann <phd@emerald.netskate.ru> wrote:
On Fri, 20 Aug 1999, Phil Harris wrote:
Well come on Oleg, you gotta tell us what it means now!
Sorry, I better do not do it here, in loud voice, over the ocean...
I had same problem with you. In Japanese, Bobo, the ancesor of the Zope, sounds dirty. I wish to tell you what it means, but I don't know the correct word in English. -------------------------- Atsuo Ishimoto gembook@techie.com Homepage:http://hp.vector.co.jp/authors/VA010598/
Well my names Phil, don't know about the rest of them ;) ----- Original Message ----- From: Svante Kleist <svante+zope@nemesis.se> To: <zope@zope.org> Sent: Friday, August 20, 1999 3:21 PM Subject: Re: [Zope] Installation bug?
Ooops, I should have found that myself (doc/SECURITY.txt, last para but one)!
But what Zope users calling themselves? / Svante
-- Phil Harris <phil@philh.org> wrote:
: It's in the docs already, nobody must have write permissions in the var : directory. : : : ----- Original Message ----- : From: Svante Kleist <svante+zope@nemesis.se> : To: <zope@zope.org> : Sent: Friday, August 20, 1999 1:12 PM : Subject: [Zope] Installation bug? : : : > : > Dear Zopers (Zops? Zopians?), : > : > This is my first try with Zope. Building on RH Linux 6.0 : > ( python w_pcgi.py ) went fine, however... : > : >
: --------------------------------------------------------------------------
: - : > ---------- : > [root@nyx Zope-2.0.0b5-src]# ./start : > ------ : > 1999-08-20T11:42:05 PROBLEM(100) ZServer Computing default hostname : > ------ : > 1999-08-20T11:42:05 INFO(0) ZServer Medusa (V1.10) started at Fri Aug 20 : > 13:42:05 1999 : > Hostname: nyx.nemesis.se : > Port:8080 : > : > ------ : > 1999-08-20T11:42:05 INFO(0) ZServer FTP server started at Fri Aug 20 : > 13:42:05 1999 : > Authorizer:None : > Hostname: nyx.nemesis.se : > Port: 8021 : > ------ : > 1999-08-20T11:42:05 INFO(0) ZServer Monitor Server (V1.5) started on : port > 8099 : > Traceback (innermost last): : > File "/usr/local/src/Zope-2.0.0b5-src/z2.py", line 494, in ? : > pf = open(PID_FILE, 'w') : > IOError: [Errno 13] Permission denied: : > '/usr/local/src/Zope-2.0.0b5-src/var/Z2.pid' : >
: --------------------------------------------------------------------------
: - : > -------- : > : > This was obviously because 'nobody' could write in : > '/usr/local/src/Zope-2.0.0b5-src/var/'. : > : > 'chmod go+w /usr/local/src/Zope-2.0.0b5-src/var/' solved that. : > : > Is this an installation bug? Should I report it somewhere? : > : > : > _______________________________________________ : > Zope maillist - Zope@zope.org : > http://www.zope.org/mailman/listinfo/zope : > : > (To receive general Zope announcements, see: : > http://www.zope.org/mailman/listinfo/zope-announce : > : > For developer-specific issues, zope-dev@zope.org - : > http://www.zope.org/mailman/listinfo/zope-dev ) :
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Svante Kleist wrote:
This was obviously because 'nobody' could write in '/usr/local/src/Zope-2.0.0b5-src/var/'.
'chmod go+w /usr/local/src/Zope-2.0.0b5-src/var/' solved that.
Is this an installation bug? Should I report it somewhere?
You should probably report it to the Collector, because so many people keep getting bit with it. Unfortunately the fix may entail changing it from an installation bug to a security bug. ;-) Jeff Bauer Rubicon Research
participants (7)
-
Atsuo Ishimoto -
Evan Simpson -
Jeff Bauer -
Oleg Broytmann -
Phil Harris -
Svante Kleist -
Tony McDonald