[Zope] Pack problem

Francois Chalaoux fchalaou@strasbourg.synthelabo.fr
Mon, 13 Sep 1999 16:01:35 +0200


This is a multi-part message in MIME format.
--------------54FC0420EC6CAFBC173CC232
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

With RH6.0, Zope2.0 I tried to pack ZODB3 and I obtain thje following
message.
Zope is started by root.

Any idea ?

System Unavailable

          This site is currently experiencing technical difficulties.
Please contact the site administrator for more information. For
          additional technical information, please refer to the HTML
source for this page. Thank you for your patience.


Traceback (innermost last):
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 214, in
publish_module
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 179, in
publish
  File /usr/local/Zope-2/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
    (Object: Fake)
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 165, in
publish
  File /usr/local/Zope-2/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: manage_pack)
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 102, in
call_object
    (Object: manage_pack)
  File /usr/local/Zope-2/lib/python/App/ApplicationManager.py, line 337,
in manage_pack
    (Object: ElementWithAttributes)
  File /usr/local/Zope-2/lib/python/ZODB/DB.py, line 514, in pack
  File /usr/local/Zope-2/lib/python/ZODB/FileStorage.py, line 755, in
pack
    (Object: /usr/local/Zope-2/var/Data.fs)
IOError: (see above)


Permissions informations
==================

srchocolat 176% ls -l  zope2
total 326
drwxr-xr-x   2 root     root         1024 Sep  2 13:39 Extensions
-rw-r--r--   1 root     root         3479 Mar 10  1999 LICENSE.txt
-rw-r--r--   1 root     root          987 Apr 29 20:12 README.txt
-rw-r--r--   1 root     root       232011 Sep  6 18:20
Squishdot-0-1-5b.tgz
-rw-r--r--   1 chalaoux bioinf      11376 Sep  2 13:35
TinyTableB2.tar.gz
drwxr-xr-x   4 root     root         1024 Sep  2 11:53 ZServer
-rwx--x--x   1 root     root          447 Sep  2 11:54 Zope.cgi
-rw-------   1 root     root           38 Sep  2 12:03 access
drwxr-xr-x   2 root     root         1024 Sep  1 20:50 bin
-rw-r--r--   1 root     root        22827 Sep  2 13:40 confera.tgz
drwxr-xr-x   3 root     root         1024 Sep  1 20:50 doc
drwxr-xr-x   2 root     root         1024 Sep  2 11:53 inst
-rwxr-xr-x   1 root     root          225 Jul 23 19:48 install
drwxr-xr-x   4 511      users        1024 Feb 23  1999 lib
drwxr-xr-x   7 root     root         1024 Sep  2 11:54 pcgi
drwxr-xr-x   2 root     root         1024 Sep  1 20:50 sbin
-rwx--x--x   1 root     root          152 Sep  2 11:54 start
-rwx--x--x   1 root     root           50 Sep  2 11:54 stop
drwxr-xr-x   2 root     root         1024 Sep  2 11:54 utilities
drwxrwxrwx   3 root     root         1024 Sep  7 08:56 var
drwxr-xr-x   3 root     root         1024 Sep  2 12:08 var_org
-rw-r--r--   1 root     root        15538 Aug  5 17:16 z2.py
-rw-r--r--   1 root     root         8822 Sep  2 11:54 z2.pyc
-rwxr-xr-x   1 root     root         8776 Aug  9 16:23 zpasswd.py
-rw-r--r--   1 root     root         5277 Sep  2 11:54 zpasswd.pyc

root%ls -l var
-rwxr-xr-x   1 root     root      4776659 Sep  2 13:37 Data.bbb
-rw-r--r--   1 root     root      5634764 Sep 13 15:52 Data.fs
-rwxr-xr-x   1 root     root        76750 Sep  2 13:37 Data.fs.in
-rw-r--r--   1 root     root            5 Sep  7 08:56 Data.fs.lock
-rw-r--r--   1 root     root      2963033 Sep  2 13:37 Data.fs.old
-rw-r--r--   1 root     root       359381 Sep 13 15:50 Data.fs.tmp
-rw-r--r--   1 root     root       808772 Sep 13 15:54 Z2.log
-rw-r--r--   1 nobody   root           11 Sep  7 08:56 Z2.pid
drwxrwxrwx   4 root     root         1024 Sep  2 13:37 gadfly
-rw-r--r--   1 root     root            5 Sep  7 08:56 pcgi.pid
srwxrwxrwx   1 root     root            0 Sep  7 08:56 pcgi.soc
-rw-r--r--   1 root     root            5 Sep  7 08:56
zProcessManager.pid


--------------54FC0420EC6CAFBC173CC232
Content-Type: text/html; charset=iso-8859-1;
 name="manage_pack"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="manage_pack"
Content-Base: "http://srchocolat.strasbourg.synthelab
	o.fr:8080/Control_Panel/Database/ma
	nage_pack"
Content-Location: "http://srchocolat.strasbourg.synthelab
	o.fr:8080/Control_Panel/Database/ma
	nage_pack"

<HTML><HEAD><TITLE>Database Management</TITLE></HEAD><BODY BGCOLOR="#FFFFFF">
<TABLE BORDER="0" WIDTH="100%">
<TR>
  <TD WIDTH="10%" ALIGN="CENTER">
  <STRONG><FONT SIZE="+6" COLOR="#77003B">!</FONT></STRONG>
  </TD>
  <TD WIDTH="90%"><BR>
  <FONT SIZE="+2">System Unavailable</FONT>
  <P>This site is currently experiencing technical difficulties. 
Please contact the site administrator for more information.  For
additional technical information, please refer to the HTML source for this
page.  Thank you for your patience.</P>
  </TD>
</TR>
</TABLE>
<!--
 Error type:  IOError
 Error value: [Errno 13] Permission non accordée: '/usr/local/Zope-2/var/Data.fs'
 -->
</BODY></HTML>
<PRE>
Traceback (innermost last):
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /usr/local/Zope-2/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook
    (Object: Fake)
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /usr/local/Zope-2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_pack)
  File /usr/local/Zope-2/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: manage_pack)
  File /usr/local/Zope-2/lib/python/App/ApplicationManager.py, line 337, in manage_pack
    (Object: ElementWithAttributes)
  File /usr/local/Zope-2/lib/python/ZODB/DB.py, line 514, in pack
  File /usr/local/Zope-2/lib/python/ZODB/FileStorage.py, line 755, in pack
    (Object: /usr/local/Zope-2/var/Data.fs)
IOError: (see above)

</PRE>
--------------54FC0420EC6CAFBC173CC232--