Newbie: running Zope for the first time - Linux
I have installed and runned Zope and Plone under Windows. However I'm new to Linux and Zope under Linux. I have done this: 1) installed Linux 8.0 which is working OK. 2) d/l zope-2.6.1-linux2-i386.tgz 3) decompiled and installed zope with directions of the Zope Book and the Zope Bible 4) mv the installation to: /usr/local/Zope if I run the ./start script I get: 1) ZServer HTTP host:AomServidor port:8080 2) ZServer FTP host:AomServidor port:8021 3) ZServer PCGI usr/local/Zope/var/pcgi.soc 4) z2 STARTUP EXEPTION: file /usr/local/Zope/z2.py line 84 - a user was not specified to set uid to; fix this to start as root If I try to access Zope Management console with http://localhost:8080 or http://127.0.0.1:8080 or http://AomServidor:8080 i get: 1) The connection was refused when attempting to connect to http://........:8080 I'm sure it must be some permissions or config problem, but my Linux knowledge doesn't let me fix it. If you can help me, it will save me hours of trial and error. Alberto Odor, MD Mexico City
On Wed, 2003-03-26 at 21:24, Alberto Odor wrote:
4) z2 STARTUP EXEPTION: file /usr/local/Zope/z2.py line 84 - a user was not specified to set uid to; fix this to start as root
There's your problem. Unless you want to run Zope as root (you don't) you'll need to specify a user to run Zope as. I'd suggest making a username called zope, but you can also run as nobody if this isn't a highly secured production server. To specify a user, pass -u USERNAME to z2.py in your start script. HTH, Dylan
if I run the ./start script I get: 1) ZServer HTTP host:AomServidor port:8080 2) ZServer FTP host:AomServidor port:8021 3) ZServer PCGI usr/local/Zope/var/pcgi.soc 4) z2 STARTUP EXEPTION: file /usr/local/Zope/z2.py line 84 - a user was not specified to set uid to; fix this to start as root
If I try to access Zope Management console with http://localhost:8080 or http://127.0.0.1:8080 or http://AomServidor:8080 i get: 1) The connection was refused when attempting to connect to http://........:8080
In order to start Zope as root (necessary to use port 80 on many unixish setups) you have to specify a normal system user to drop into when Zope is done using root powers -- it will not run as root for security reasons. If you do not start it as root this is not a problem. Please see docs/SETUID.txt for more information. --jcc
"J Cameron Cooper" <jccooper@jcameroncooper.com> escribió en el mensaje news:3E82364E.20707@jcameroncooper.com...
if I run the ./start script I get: 1) ZServer HTTP host:AomServidor port:8080 2) ZServer FTP host:AomServidor port:8021 3) ZServer PCGI usr/local/Zope/var/pcgi.soc 4) z2 STARTUP EXEPTION: file /usr/local/Zope/z2.py line 84 - a user was
not
specified to set uid to; fix this to start as root
If I try to access Zope Management console with http://localhost:8080 or http://127.0.0.1:8080 or http://AomServidor:8080 i get: 1) The connection was refused when attempting to connect to http://........:8080
In order to start Zope as root (necessary to use port 80 on many unixish setups) you have to specify a normal system user to drop into when Zope is done using root powers -- it will not run as root for security reasons.
If you do not start it as root this is not a problem.
Please see docs/SETUID.txt for more information.
--jcc
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
I tried that and it didn't work. Could the problem be that my RedHat 8 installation has python 2.2.1? If so, would I solve the problem installing python 2.1.3? can 2.2.1 and 2.1.3 coexist in the same server? Alberto
participants (3)
-
Alberto Odor -
Dylan Reinhardt -
J Cameron Cooper