[Zope] Help with Zope Install Errors?

Michael Thomas mthomas@ttsd.k12.or.us
Thu, 4 Oct 2001 12:32:52 -0700


--============_-1209898523==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

I am running into errors while trying to install Zope on a RedHat 7.1 
servers.  I have tried installing Zope on two servers and get the 
same errors on both servers.  I want to run Zserver as a separate 
server apart from the Apache web server which is running on port 80. 
I am installing the Zope-2.4.1-linux2-x86.tgz binary.

Can anyone help me?

When I run ./install, I get the following errors:

Compiling python modules
File "/usr/local/zope/lib/python2.1/test/nocaret.py", line 2
       [x for x in x] = x

SyntaxError: can't assign to list comprehension
SyntaxError: from __future__imports must occur at the beginning of 
the file (test_future3.py, line 3)
SyntaxError: from __future__imports must occur at the beginning of 
the file (test_future4.py, line 3)
SyntaxError: from __future__imports must occur at the beginning of 
the file (test_future5.py, line 4)
SyntaxError: from __future__imports must occur at the beginning of 
the file (test_future6.py, line 3)
SyntaxError: from __future__imports must occur at the beginning of 
the file (test_future7.py, line 3)

Then, it seems to creates the inituser, default database, pcgi 
resource file, start script, and stop script without error. 

When I run ./start, the Zserver seems to start.  I receive 
instructions about :8080 and :8021 ports, but then I get the 
following error:

PANIC (300) x2 Startup Exception
Traceback (innermost last):

File /usr/local/zope/z2.py. line 757, in ?
IOError: [Errno 13] Permission Denied: '/usr/local/zope/var/Z2.pid'

I have doubled check the permissions.  Every file under 
/usr/local/zope/ is owned by root:users. 

What might be going on?  Of course, when I try to open the zope 
program via a web browser, the error says that the server was not 
located.

Thanks for any help you may offer.

-- 
Michael Thomas					District Webmaster
Tigard-Tualatin School District			Phone: 503.431.4053
6960 SW Sandburg Street				Fax:503.431.4075
Tigard, OR 97223				E-mail: mthomas@ttsd.k12.or.us
--============_-1209898523==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Help with Zope Install Errors?</title></head><body>
<div><font face="Geneva" size="+2" color="#000000">I am running into
errors while trying to install Zope on a RedHat 7.1 servers.&nbsp; I
have tried installing Zope on two servers and get the same errors on
both servers.&nbsp; I want to run Zserver as a separate server apart
from the Apache web server which is running on port 80.&nbsp; I am
installing the Zope-2.4.1-linux2-x86.tgz binary.</font></div>
<div><font face="Geneva" size="+2" color="#000000"><br>
Can anyone help me?<br>
<br>
When I run ./install, I get the following errors:<br>
<br>
Compiling python modules<br>
File &quot;/usr/local/zope/lib/python2.1/test/nocaret.py&quot;, line
2<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [x for x in x] = x<br>
<br>
SyntaxError: can't assign to list comprehension<br>
SyntaxError: from __future__imports must occur at the beginning of the
file (test_future3.py, line 3)<br>
SyntaxError: from __future__imports must occur at the beginning of the
file (test_future4.py, line 3)<br>
SyntaxError: from __future__imports must occur at the beginning of the
file (test_future5.py, line 4)<br>
SyntaxError: from __future__imports must occur at the beginning of the
file (test_future6.py, line 3)<br>
SyntaxError: from __future__imports must occur at the beginning of the
file (test_future7.py, line 3)<br>
</font></div>
<div><font face="Geneva" size="+2" color="#000000">Then, it seems to
creates the inituser, default database, pcgi resource file, start
script, and stop script without error.&nbsp;</font></div>
<div><font face="Geneva" size="+2" color="#000000"><br></font></div>
<div><font face="Geneva" size="+2" color="#000000">When I run ./start,
the Zserver seems to start.&nbsp; I receive instructions about :8080
and :8021 ports, but then I get the following error:</font></div>
<div><font face="Geneva" size="+2" color="#000000"><br>
PANIC (300) x2 Startup Exception<br>
Traceback (innermost last):<br>
<br>
File /usr/local/zope/z2.py. line 757, in ?<br>
IOError: [Errno 13] Permission Denied:
'/usr/local/zope/var/Z2.pid'<br>
</font></div>
<div><font face="Geneva" size="+2" color="#000000">I have doubled
check the permissions.&nbsp; Every file under /usr/local/zope/ is
owned by root:users.&nbsp;<br>
<br>
What might be going on?&nbsp; Of course, when I try to open the zope
program via a web browser, the error says that the server was not
located.</font></div>
<div><font face="Geneva" size="+2" color="#000000"><br></font></div>
<div><font face="Geneva" size="+2" color="#000000">Thanks for any help
you may offer.</font><br>
<font face="Geneva" size="+2" color="#000000"></font></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>Michael Thomas<x-tab>&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>District Webmaster<br>
Tigard-Tualatin School District<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Phone: 503.431.4053<br>
6960 SW Sandburg Street<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Fax:503.431.4075<br>
Tigard, OR 97223<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>E-mail: mthomas@ttsd.k12.or.us</div>
</body>
</html>
--============_-1209898523==_ma============--