[Zope] My Sad Tale Of Woe
757575Hi; Is anybody out there reading this list? Third question today, no responses, and boy am I in trouble. I went to backup my server's working HD on my new .5 teraflop HD and for some reason that wiped out the /var dirs in my Zope instances. I have backups of the Data.fs that aren't too old, but for some reason I can't get a working copy of Zope installed! I follow the tar, configure, make, make install, make instance without throwing anything special at the configure, then I edit zope.conf to enter the correct effective-user, but when I go to runzope, it throws a cPersistence error. Well, I yahoo'd that and found out I had to run python setup.py build_ext -if to knock it out. But why should I have to do that at all? That's not standard procedure. Anyway, I got past that point, but now when I try runzope I get the error that follows. And I've tried every way I can think of to get around it. All the permissions are correct. Once I actually got to the point where it said Zope was ready to serve, could surf to the 111.222.333.444:8080 page, but try to get into the manage page and it won't accept my username/password. I ran zpasswd.py and still couldn't get in! Guys, I'm exhausted. I've been at this for 10 hours! Any help would really be appreciated. Nancy [EMAIL PROTECTED]:local/www/clients (103) ./bin/runzope Traceback (most recent call last): File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py, line 56, in ? run() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py, line 21, in run starter.prepare() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py, line 98, in prepare self.startZope() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py, line 257, in startZope Zope2.startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/__init__.py, line 47, in startup _startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/App/startup.py, line 60, in startup DB = dbtab.getDatabase('/', is_root=1) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 280, in getDatabase db = factory.open(name, self.databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 178, in open DB = self.createDB(database_name, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 175, in createDB return ZODBDatabase.open(self, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 97, in open storage = section.storage.open() File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 135, in open quota=self.config.quota) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/FileStorage/FileStorage.py, line 112, in __init__ self._lock_file = LockFile(file_name + '.lock') File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/lock_file.py, line 60, in __init__ self._fp = open(path, 'w+') IOError: [Errno 13] Permission denied: '/usr/local/www/clients/var/Data.fs.lock' Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] My Sad Tale Of Woe
Did you build the exact same type of Zope (version, python, etc) with all the products? Have you run the utilities on your ZODB to make sure it is ok? Jake ___ http://www.ZopeZone.com On Wed, November 29, 2006 2:59 pm, Nancy Donnelly said: 757575Hi; Is anybody out there reading this list? Third question today, no responses, and boy am I in trouble. I went to backup my server's working HD on my new .5 teraflop HD and for some reason that wiped out the /var dirs in my Zope instances. I have backups of the Data.fs that aren't too old, but for some reason I can't get a working copy of Zope installed! I follow the tar, configure, make, make install, make instance without throwing anything special at the configure, then I edit zope.conf to enter the correct effective-user, but when I go to runzope, it throws a cPersistence error. Well, I yahoo'd that and found out I had to run python setup.py build_ext -if to knock it out. But why should I have to do that at all? That's not standard procedure. Anyway, I got past that point, but now when I try runzope I get the error that follows. And I've tried every way I can think of to get around it. All the permissions are correct. Once I actually got to the point where it said Zope was ready to serve, could surf to the 111.222.333.444:8080 page, but try to get into the manage page and it won't accept my username/password. I ran zpasswd.py and still couldn't get in! Guys, I'm exhausted. I've been at this for 10 hours! Any help would really be appreciated. Nancy [EMAIL PROTECTED]:local/www/clients (103) ./bin/runzope Traceback (most recent call last): File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py, line 56, in ? run() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py, line 21, in run starter.prepare() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py, line 98, in prepare self.startZope() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py, line 257, in startZope Zope2.startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/__init__.py, line 47, in startup _startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/App/startup.py, line 60, in startup DB = dbtab.getDatabase('/', is_root=1) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 280, in getDatabase db = factory.open(name, self.databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 178, in open DB = self.createDB(database_name, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 175, in createDB return ZODBDatabase.open(self, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 97, in open storage = section.storage.open() File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 135, in open quota=self.config.quota) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/FileStorage/FileStorage.py, line 112, in __init__ self._lock_file = LockFile(file_name + '.lock') File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/lock_file.py, line 60, in __init__ self._fp = open(path, 'w+') IOError: [Errno 13] Permission denied: '/usr/local/www/clients/var/Data.fs.lock' Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] My Sad Tale Of Woe
Put a file named access in your Zope instance home with the content: emergency:123 You should be able to log in as the emergency user at that point and change the admin user's password. - C On Nov 29, 2006, at 2:59 PM, Nancy Donnelly wrote: 757575 Hi; Is anybody out there reading this list? Third question today, no responses, and boy am I in trouble. I went to backup my server's working HD on my new .5 teraflop HD and for some reason that wiped out the /var dirs in my Zope instances. I have backups of the Data.fs that aren't too old, but for some reason I can't get a working copy of Zope installed! I follow the tar, configure, make, make install, make instance without throwing anything special at the configure, then I edit zope.conf to enter the correct effective- user, but when I go to runzope, it throws a cPersistence error. Well, I yahoo'd that and found out I had to run python setup.py build_ext -if to knock it out. But why should I have to do that at all? That's not standard procedure. Anyway, I got past that point, but now when I try runzope I get the error that follows. And I've tried every way I can think of to get around it. All the permissions are correct. Once I actually got to the point where it said Zope was ready to serve, could surf to the 111.222.333.444:8080 page, but try to get into the manage page and it won't accept my username/password. I ran zpasswd.py and still couldn't get in! Guys, I'm exhausted. I've been at this for 10 hours! Any help would really be appreciated. Nancy [EMAIL PROTECTED]:local/www/clients (103) ./bin/runzope Traceback (most recent call last): File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ run.py, line 56, in ? run() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ run.py, line 21, in run starter.prepare() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ __init__.py, line 98, in prepare self.startZope() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ __init__.py, line 257, in startZope Zope2.startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/ __init__.py, line 47, in startup _startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/App/ startup.py, line 60, in startup DB = dbtab.getDatabase('/', is_root=1) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ datatypes.py, line 280, in getDatabase db = factory.open(name, self.databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ datatypes.py, line 178, in open DB = self.createDB(database_name, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/ datatypes.py, line 175, in createDB return ZODBDatabase.open(self, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 97, in open storage = section.storage.open() File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 135, in open quota=self.config.quota) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/FileStorage/ FileStorage.py, line 112, in __init__ self._lock_file = LockFile(file_name + '.lock') File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/ lock_file.py, line 60, in __init__ self._fp = open(path, 'w+') IOError: [Errno 13] Permission denied: '/usr/local/www/clients/var/ Data.fs.lock' Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] My Sad Tale Of Woe
The permission on the Data.fs file does not allow it to be accessed by zope. You need to chown/chgrp Data.fs so that zope can access it (or chmod it). hth Jonathan - Original Message - From: Nancy Donnelly To: zope@zope.org Sent: Wednesday, November 29, 2006 2:59 PM Subject: [Zope] My Sad Tale Of Woe 757575Hi; Is anybody out there reading this list? Third question today, no responses, and boy am I in trouble. I went to backup my server's working HD on my new .5 teraflop HD and for some reason that wiped out the /var dirs in my Zope instances. I have backups of the Data.fs that aren't too old, but for some reason I can't get a working copy of Zope installed! I follow the tar, configure, make, make install, make instance without throwing anything special at the configure, then I edit zope.conf to enter the correct effective-user, but when I go to runzope, it throws a cPersistence error. Well, I yahoo'd that and found out I had to run python setup.py build_ext -if to knock it out. But why should I have to do that at all? That's not standard procedure. Anyway, I got past that point, but now when I try runzope I get the error that follows. And I've tried every way I can think of to get around it. All the permissions are correct. Once I actually got to the point where it said Zope was ready to serve, could surf to the 111.222.333.444:8080 page, but try to get into the manage page and it won't accept my username/password. I ran zpasswd.py and still couldn't get in! Guys, I'm exhausted. I've been at this for 10 hours! Any help would really be appreciated. Nancy [EMAIL PROTECTED]:local/www/clients (103) ./bin/runzope Traceback (most recent call last): File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py, line 56, in ? run() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py, line 21, in run starter.prepare() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py, line 98, in prepare self.startZope() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/__init__.py, line 257, in startZope Zope2.startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/__init__.py, line 47, in startup _startup() File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/App/startup.py, line 60, in startup DB = dbtab.getDatabase('/', is_root=1) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 280, in getDatabase db = factory.open(name, self.databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 178, in open DB = self.createDB(database_name, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py, line 175, in createDB return ZODBDatabase.open(self, databases) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 97, in open storage = section.storage.open() File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/config.py, line 135, in open quota=self.config.quota) File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/FileStorage/FileStorage.py, line 112, in __init__ self._lock_file = LockFile(file_name + '.lock') File /usr/local/src/Zope-2.9.6-final/lib/python/ZODB/lock_file.py, line 60, in __init__ self._fp = open(path, 'w+') IOError: [Errno 13] Permission denied: '/usr/local/www/clients/var/Data.fs.lock' -- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] My Sad Tale Of Woe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 29. November 2006 14:59:19 -0500 Nancy Donnelly [EMAIL PROTECTED] wrote: 757575Hi; Is anybody out there reading this list? Third question today, no responses, and boy am I in trouble. There is no reason to create three new threads for this issue. - -aj -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFbeiwCJIWIbr9KYwRAjS/AJ4gfT2FQa9qJ3TZXlz9GWNVIawxWQCgpPgs 8HTJ2ZzmMdDZbZZH0s+Uodw= =iw9F -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] My Sad Tale Of Woe
I have backups of the Data.fs that aren't too old, but for some reason I can't get a working copy of Zope installed! What Zope version you used before? As I see now you're installing 2.9.6. I follow the tar, configure, make, make install, make instance without throwing anything special at the configure, I prefer: as root: configure --prefix=/opt/Zope/2.9.6, make, make install as zope: /opt/Zope/2.9.6/mkzopeinstance (there you'll create new user and new instance) as zope: ./zopectl start (from instance/bin) If this works and you're able to login to ZMI, try to copy your old data.fs to instance/var. To add new user, stop your Zope instance and go to instance/bin/zopectl write: useradd user passwd (or adduser, I don't remember) -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] My Sad Tale Of Woe
108 - Original Message From: Maciej Wisniowski [EMAIL PROTECTED] To: Nancy Donnelly [EMAIL PROTECTED] Cc: zope@zope.org Sent: Wednesday, November 29, 2006 4:38:23 PM Subject: Re: [Zope] My Sad Tale Of Woe I prefer: as root: configure --prefix=/opt/Zope/2.9.6, make, make install as zope: /opt/Zope/2.9.6/mkzopeinstance (there you'll create new user and new instance) as zope: ./zopectl start (from instance/bin) That didn't work, but it got me thinking, and I found the problem to get one of my instances up. Now I'm working on the other. Still can't figure out why I can't build new instances, though. Thanks, Nancy Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )