I appreciate the good advice I got here on starting a 2nd instance of Zope using a separate INSTANCE_HOME folder and a different HTTP port. That works great! Now I'm wondering where I can get a bare-bones copy of the data.fs file for the 2nd instance without having to re-install Zope using the Windows installer. (I got the 2nd instance working with a copy of my production data.fs, but I'd like to do my debugging with a stripped down database.) Also, I noticed in my production var folder that there are a lot of files named data.fs.tr0, data.fs.tr1, etc. Can I delete these? Thanks again for the help. Bill (Zope 2.5.1 (binary release, python 2.1, win32-x86), python 2.1.3, win32) ---------- "The commandments of the LORD are right, bringing joy to the heart. The commands of the LORD are clear, giving insight to life . . . For this is the love of God, that we keep His commandments. And His commandments are not burdensome." (Psalm 19:8, 1John 5:3) <http://torahteacher.com/>torahteacher.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/02
On Thu, 13 Jun 2002, William Trenker wrote:
I appreciate the good advice I got here on starting a 2nd instance of Zope using a separate INSTANCE_HOME folder and a different HTTP port. That works great!
I think maybe you wanted to post this to zope, not zope-dev....
Now I'm wondering where I can get a bare-bones copy of the data.fs file for the 2nd instance without having to re-install Zope using the Windows installer. (I got the 2nd instance working with a copy of my production data.fs, but I'd like to do my debugging with a stripped down database.)
Just start it with no Data.fs. It'll make the bare bones one.
Also, I noticed in my production var folder that there are a lot of files named data.fs.tr0, data.fs.tr1, etc. Can I delete these?
I have no clue about these. Never seen any myself. --RDM
On Friday 14 Jun 2002 3:13 pm, R. David Murray wrote:
Also, I noticed in my production var folder that there are a lot of files named data.fs.tr0, data.fs.tr1, etc. Can I delete these?
I have no clue about these. Never seen any myself.
When FileStorage finds some bad data at the end of its data.fs file, it copies it to a .trXXX file and truncates data.fs Windows 9X sometimes can add this bad data at the end of the file if it is not shut down properly. This is probably what happened to you, so you can safely delete them. However, this is not the only possible cause. You may want to look at their content, and see if it contains any valuable data. If it does, I think you will need to recover it by hand.
participants (3)
-
R. David Murray -
Toby Dickenson -
William Trenker