[Zope] Re: Re: Newbie: running Zope for the first time - Linux
Alberto Odor
aodor@cnr.gob.mx
Wed, 26 Mar 2003 19:49:52 -0600
OK Sean:
As you told me I did the following:
logged as root
Installed Python2.1 from source and its working fine
Installed Zope 2.6.1 from source using Python 2.1
I chmod o+t var
If I try to ./start being logged as root
I get a message: A user was not specified to setuid to;
I also get a message saying that /usr/local/Zope/var directory isn't owned
by root
(I have read the SETUID.txt document but could not come out with an answer)
If I try to ./start being logged as aodor (./start -u aodor)
I get a message: access denied
Can you tell me what's missing?
Can ZServer and Apache run together or do I have to shutdown Apache to start
ZServer?
What should the permissions, Owner and Group for the var directory be?
Alberto
<sean.upton@uniontrib.com> escribió en el mensaje
news:AA7A72A46469D411B8B300508BE329500AE4D622@desi2...
They will definitely co-exist - install Python 2.1.3 from source in
/usr/local, and change the binary name for /usr/local/bin/python to
/usr/local/bin/python2.1. Install Zope from source by using that python:
e.g. 'cd [zope-src-dir]; python2.1 wo_pcgi.py'
Sean
-----Original Message-----
From: Alberto Odor [mailto:aodor@cnr.gob.mx]
Sent: Wednesday, March 26, 2003 4:04 PM
To: zope@zope.org
Subject: [Zope] Re: Newbie: running Zope for the first time - Linux
"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
>
_______________________________________________
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 )
_______________________________________________
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 )