English 中文(简体)
IOrror: [rron 13] 在 Plone 4.1.4 eo 中, 与集体. recipe. filestorage 拒绝批准
原标题:IOError: [Errno 13] Permission denied in Plone 4.1.4 zeo with collective.recipe.filestorage
  • 时间:2012-05-25 09:30:29
  •  标签:
  • plone

我有一个4.1.4的"统一Installer"热奥 安装在 debian 5 上, 我想使用多个数据.fs 与集体. recipe. furstorage。

I get this error when I start the zeo server:
IOError: [Errno 13] Permission denied: /home/intranetcfa/intranetcfa/var/filestorage/vanilla/Data.fs.lock

我的建构:

parts =
    filestorage
    ...

[filestorage]
recipe=collective.recipe.filestorage
blob-storage = var/blobstorage-%(fs_part_name)s
location = var/filestorage/%(fs_part_name)s/Data.fs
parts =
    vanilla

其结果为 zeo.conf :

<filestorage vanilla>
    path /home/intranetcfa/intranetcfa/var/filestorage/vanilla/Data.fs
    blob-dir /home/intranetcfa/intranetcfa/var/blobstorage-vanilla
</filestorage>

和zope. conf :

<zodb_db vanilla>
    cache-size 5000
    <zeoclient>
      blob-dir /home/intranetcfa/intranetcfa/var/blobstorage-vanilla
      shared-blob-dir on
      server 127.0.0.1:8102
      storage vanilla
      name vanilla_zeostorage
      var /home/intranetcfa/intranetcfa/parts/client1/var
      cache-size 30MB

    </zeoclient>
    mount-point /vanilla
</zodb_db>

回溯( 最近的最后一个呼叫) :

  File "/home/intranetcfa/buildout-cache/eggs/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZEO/runzeo.py", line 405, in <module>
main()
  File "/home/intranetcfa/buildout-cache/eggs/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZEO/runzeo.py", line 402, in main
s.main()
  File "/home/intranetcfa/buildout-cache/eggs/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZEO/runzeo.py", line 158, in main
self.open_storages()
  File "/home/intranetcfa/buildout-cache/eggs/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZEO/runzeo.py", line 207, in open_storages
self.storages[opener.name] = opener.open()
  File "/home/intranetcfa/buildout-cache/eggs/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/config.py", line 177, in open
return FileStorage(config.path, **options)
  File "/home/intranetcfa/buildout-cache/eggs/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/FileStorage/FileStorage.py", line 125, in __init__
self._lock_file = LockFile(file_name +  .lock )
  File "/home/intranetcfa/buildout-cache/eggs/zc.lockfile-1.0.0-py2.6.egg/zc/lockfile/__init__.py", line 73, in __init__
fp = open(path,  w+ )
IOError: [Errno 13] Permission denied:  /home/intranetcfa/intranetcfa/var/filestorage/vanilla/Data.fs.lock 
最佳回答

您的 var/ filestorage/ vanilla 目录无法被您 ZEO 服务器运行时的用户写入, 或您以前作为不同的用户运行 ZEO, 而它创建的 Data.fs. lock 文件无法被当前用户写入 。

通过调整该目录上的权限来修正此选项, 或者如果 .lock 文件存在, 则锁定文件本身 。

问题回答

暂无回答




相关问题
How to go from uml to app in zope (plone)

I have watched this keynote that talk about develop an app based on an UML model, but I can t find any tutorial or docs about it. Do you know any tutorial or documentation to help me? thanks

Install Plone egg as a Python module on Windows

I have a Plone site (Plone version 3.1.2) that I need to install a product called GrufSpaces on - (http://plone.org/products/grufspaces). However, it is a production site and so I can t easily take it ...

Plone with Apache Proxy

I have a plone zinstance set up through Apache Proxy on OS X Server 10.5. The server is set up with a single vhost on port 80, with Proxy & Proxypass directives to the Plone zinstance: ...

Zope / Plone 3 product uninstsall issue

Hey all, I uninstalled a content type that I d previously added and afterward I m still getting a warning of 2010-01-06 22:43:50 WARNING OFS.Uninstalled Could not import class myclass from module ...

plone.app.blob or z3c.blobfile?

I need a blob file field as part of a content type in plone. plone.app.blob s BlobField should provide this, but I can t find how to get a URL to download the file including the original filename (e.g....

Moving (very old) Zope/Plone Site to Django

I am ask to move data from a (now offline) site driven by Plone to a new Django site. These are the version informations I have: Zope Version (unreleased version, python 2.1.3 ) Python Version 2.1....

热门标签