[Zope] 2.6.0 errors

Chris McDonough chrism@zope.com
Fri, 1 Nov 2002 11:24:13 -0500


Robert,

Start the system as the 'zope' user (instead of root) and try this.
Zope's "effective user" support is not really up to snuff at this
point.  I hope to be able to fix this soon.

- C


----- Original Message -----
From: "Boyd, Robert, CTR, OSD-PA&E" <Robert.H.Boyd@osd.mil>
To: <zope@zope.org>
Sent: Friday, November 01, 2002 11:17 AMSubject: [Zope] 2.6.0 errors


> Classification: UNCLASSIFIED
>
> Hi,
>
> I'm trying out Zope 2.6.0 on Solaris, using the binary distro.
I've been
> using 2.5.1 successfully. I set up 2.6.0 to start as root, then
switch to
> user 'zope'.  I can start Zope, but when I try to add the
tutorial, I get
> this error:
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 98, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 39, in call_object
>   Module Products.ZopeTutorial.TutorialTopic, line 163, in
addTutorial
> Bad Request: The ZGadflyDA product must be installed!
>
> I look in Products and see ZGadflyDA is installed, not broken.  So
I try to
> add a ZGadfly connection and get:
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 98, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 39, in call_object
>   Module Products.ZGadflyDA, line 59, in
manage_addZGadflyConnectionForm
>   Module App.special_dtml, line 61, in __call__
>   Module DocumentTemplate.DT_String, line 474, in __call__
>   Module Products.ZGadflyDA.db, line 32, in manage_DataSources
> Gadfly Error:
>                 The Zope Gadfly Database Adapter requires the
>                 existence of the directory,
> <code>/usr/local/zope/2.6.0/var/gadfly</code>.  An error
>                 occurred  while trying to create this directory.
>
> So is this merely a permissions problem?  I followed the
instructions: var
> owned by root, then chmod 1775 to set the sticky bit (chmod o+t
didn't work
> in Solaris).  Thus I wind up with var having permissions of
drwxrwxr-t.
>
> Any help is appreciated, thanks.
>
> Rob
>
> _______________________________________________
> 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 )
>