What Did I Do To My Server?!
rachel_florentine at yahoo.com
Wed Nov 29 15:57:14 PST 2006
----- Original Message ----
From: "illoai at gmail.com" illoai at gmail.com
> Could you please show the actual out-put when zope fails
> to install?
It's long. I'll put it at the end.
> Even better might be to know what commands you issued
> and the output of your failed backup, which might let on
> what is actually wrong, since simple pax/tar/dump operations
> rarely (never) go "haywire" for _no_ reason.
cp -R /* /ad2
> At a guess, you still have zope listed in /var/db/pkg and need
> to make deinstall or pkg_delete before you can reinstall it.
I tried everything I could think of...that and a whole lot more. I got my clients' sites up and running, thank goodness, but now I'm trying to get my site up (on another instance). Here's the error, and I don't understand it, because there is no Data.fs.lock and the permissions should be just fine (always worked before, same permissions as the other instance, same effective-user):
Traceback (most recent call last):
File "/usr/local/zope/278/lib/python/Zope/Startup/run.py", line 50, in ?
File "/usr/local/zope/278/lib/python/Zope/Startup/run.py", line 19, in run
File "/usr/local/zope/278/lib/python/Zope/Startup/__init__.py", line 52, in start_zope
File "/usr/local/zope/278/lib/python/Zope/Startup/__init__.py", line 231, in startZope
File "/usr/local/zope/278/lib/python/Zope/__init__.py", line 47, in startup
File "/usr/local/zope/278/lib/python/Zope/App/startup.py", line 57, in startup
DB = configuration.dbtab.getDatabase('/', is_root=1)
File "/usr/local/zope/278/lib/python/DBTab/DBTab.py", line 96, in getDatabase
db = self._createDatabase(name, is_root)
File "/usr/local/zope/278/lib/python/DBTab/DBTab.py", line 113, in _createDatabase
db = factory.open()
File "/usr/local/zope/278/lib/python/Zope/Startup/datatypes.py", line 175, in open
DB = self.createDB()
File "/usr/local/zope/278/lib/python/Zope/Startup/datatypes.py", line 172, in createDB
File "/usr/local/zope/278/lib/python/ZODB/config.py", line 97, in open
File "/usr/local/zope/278/lib/python/ZODB/config.py", line 128, in open
File "/usr/local/zope/278/lib/python/ZODB/FileStorage.py", line 227, in __init__
self._lock_file = LockFile(file_name + '.lock')
File "/usr/local/zope/278/lib/python/ZODB/lock_file.py", line 60, in __init__
self._fp = open(path, 'w+')
IOError: [Errno 13] Permission denied: '/usr/local/zope/instance2/var/Data.fs.lock'
Want to start your own business?
Learn how on Yahoo! Small Business.
More information about the freebsd-questions