[Zope] Zope 2.1.6 test - login problem.

Brian Lloyd Brian@digicool.com
Fri, 24 Mar 2000 09:20:37 -0500


Eddie,

I seems from your traceback that the user you are using to
_run_ your Zope process does not have permission to read 
some (or all) of the Zope files from the filesystem:

> IOError: [Errno 13] Permission denied: 
> '/usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/App/manage.dtml'

You need to make sure that either you run Zope as the same 
user you used to install it, or change the filesystem permissions 
so that the user you are using has read access to all of the 
Zope files (and write access to the /var directory and any files
in the /var directory).

Hope this helps!

Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com 




> -----Original Message-----
> From: Eddie Maddox [mailto:eddie@mngovsci.com]
> Sent: Friday, March 24, 2000 5:43 AM
> To: Zope List
> Subject: [Zope] Zope 2.1.6 test - login problem.
> 
> 
> I downloaded Zope-2.1.6-linux2-x86.tgz. I unpacked it in 
> /usr/local/bin,
> then ./install, then ./start. Please see below and advise.
> 
> I tried logging in several times. I even used python 
> zpasswd.py access and
> picked a real simple password and cleartext. No joy.
> 
> --------------------------------------------------------------
> ----------------
> Compiling python modules
> --------------------------------------------------------------
> ----------------
> --------------------------------------------------------------
> ----------------
> creating default access file
> Note:
>         The super user name and password are 'superuser'
>         and '********'.
> 
>         You can change the superuser name and password with the
>         zpasswd script.  To find out more, type:
> 
>         /usr/local/bin/Zope-2.1.6-linux2-x86/bin/python zpasswd.py
>         
> chmod 0600 /usr/local/bin/Zope-2.1.6-linux2-x86/access
> chmod 0711 /usr/local/bin/Zope-2.1.6-linux2-x86/var
> --------------------------------------------------------------
> ----------------
> setting dir permissions
> --------------------------------------------------------------
> ----------------
> creating default database
> chmod 0600 /usr/local/bin/Zope-2.1.6-linux2-x86/var/Data.fs
> --------------------------------------------------------------
> ----------------
> Writing the pcgi resource file (ie cgi script), 
> /usr/local/bin/Zope-2.1.6-linux2-x86/Zope.cgi
> chmod 0755 /usr/local/bin/Zope-2.1.6-linux2-x86/Zope.cgi
> --------------------------------------------------------------
> ----------------
> Creating start script, start
> chmod 0711 /usr/local/bin/Zope-2.1.6-linux2-x86/start
> --------------------------------------------------------------
> ----------------
> Creating stop script, stop
> chmod 0711 /usr/local/bin/Zope-2.1.6-linux2-x86/stop
> --------------------------------------------------------------
> ----------------
> 
> Done!
> ==============================================================
> ================
> 
>    
>    
> Zope Error
> 
>    Zope has encountered an error while publishing this resource.
>    
>    IOError
>    Sorry, a Zope error occurred.
>    
> Traceback (innermost last):
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Pub
> lish.py, l
> ine 214, in publish_module
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Pub
> lish.py, l
> ine 179, in publish
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.
> py, line 2
> 02, in zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Pub
> lish.py, l
> ine 165, in publish
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/map
> ply.py, li
> ne 160, in mapply
>     (Object: manage)
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Pub
> lish.py, l
> ine 102, in call_object
>     (Object: manage)
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/App/special_dt
> ml.py, lin
> e 117, in __call__
>     (Object: manage)
>     (Info: 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/App/manage.dtml)
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/DocumentTempla
> te/DT_Stri
> ng.py, line 381, in cook
>     (Object: manage)
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/DocumentTempla
> te/DT_Stri
> ng.py, line 374, in read
>     (Object: manage)
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/DocumentTempla
> te/DT_Stri
> ng.py, line 538, in read_raw
>     (Object: manage)
> IOError: [Errno 13] Permission denied: 
> '/usr/local/bin/Zope-2.1.6-linux2-x86/li
> b/python/App/manage.dtml'
>      _________________________________________________________________
>    
>    Troubleshooting Suggestions
>      * The URL may be incorrect.
>      * The parameters passed to this resource may be incorrect.
>      * A resource that this resource relies on may be encountering an
>        error.
>        
>    For more detailed information about the error, please refer to the
>    HTML source for this page.
>    
>    If the error persists please contact the site maintainer. Thank you
>    for your patience.
> ======================================================================
> <!-- X-URL: http://209.32.157.185:8080/manage -->
> <!-- Date: Fri, 24 Mar 2000 09:25:36 GMT -->
> <BASE HREF="http://209.32.157.185:8080/manage">
> <HTML>
> <HEAD><TITLE>Zope Error</TITLE></HEAD>
> <BODY>
> 
> <TABLE BORDER="0" WIDTH="100%">
> <TR VALIGN="TOP">
> 
> <TD WIDTH="10%" ALIGN="CENTER">
> &nbsp;
> </TD>
> 
> <TD WIDTH="90%">
>   <H2>Zope Error</H2>
>   <P>Zope has encountered an error while publishing this resource.
>   </P>
>   <P><STRONG>IOError</STRONG></P>
>   
>   Sorry, a Zope error occurred.<p>
> <PRE>
> Traceback (innermost last):
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 214, in publish_module
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 179, in publish
> 
>   File 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py,
> line 202, in zpublisher_exception_hook
>     (Object: ApplicationDefaultPermissions)
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 165, in publish
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/map
> ply.py, line
> 160, in mapply
>     (Object: manage)
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py,
> line 102, in call_object
>     (Object: manage) 
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/App/special_dt
> ml.py, line
> 117, in __call__
>     (Object: manage)
>     (Info: 
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/App/manage.dtml)
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/DocumentTempla
> te/DT_String.py,
> line 381, in cook
>     (Object: manage)
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/DocumentTempla
> te/DT_String.py,
> line 374, in read
>     (Object: manage)
> 
>   File
> /usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/DocumentTempla
> te/DT_String.py,
> line 538, in read_raw
>     (Object: manage)
> 
> IOError: [Errno 13] Permission denied:
> '/usr/local/bin/Zope-2.1.6-linux2-x86/lib/python/App/manage.dtml'
> 
> </PRE>
>   <HR NOSHADE>
> 
>   <P>Troubleshooting Suggestions</P>
> 
>   <UL>
>   <LI>The URL may be incorrect.</LI>
>   <LI>The parameters passed to this resource may be incorrect.</LI>
>   <LI>A resource that this resource relies on may be 
> encountering an error.</LI>
>   </UL>
> 
>   <P>For more detailed information about the error, please
>   refer to the HTML source for this page.
>   </P>
> 
>   <P>If the error persists please contact the site maintainer.
>   Thank you for your patience.
>   </P>
> </TD></TR>
> </TABLE>
> 
> </BODY>
> </HTML>
> 
> ------------------
> Eddie Maddox
> eddie@mngovsci.com
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>