[Zope] scared
when things happen that I have no understanding of their cause I get a little scared. I started up zope this morning, it seemed to open normally. (I am running zserver and zope on a win98 machine) However when I went to access the site through the web, the server would shut down. I have recently exported the app. that I was working on, which makes me happy but I need to get it back up and working asap. What information do I need to get the bottom of this? I don't know how to copy and paste from a dos window, so I will transcribe what I can see, hopefully someone can tell me where I might look next! (I have taken out all the directory structure from the filenames) File "...\ZServer\medusa\asyncore.py", line 321, in handle_error self.close() File "..\ZServer\HTTPServer.py", line 356, in close p.more() #free up resources held by producer File "..\ZServer\Producers.py", line 108, in more getattr(self.logger, self.method)(self.bytes) File "..\ZServer\medusa\http_server.py", line 275, in log, _ _ [%s] "%s" %d "%s" "%s"\n' % ( LOG STUFF ) ... IOError: [Errno 9] Bad file descriptor Oh I feel rotten, way out of my depth! I just want zope to work!!! Not really sure where to start, will reinstalling the whole thing write over my data? I guess I have it backed up, but still... thanks for ANY help!! josh on ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
Would it be a bad idea to just install another copy of zope in a different directory? Would that clash somehow? josh ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
josh on wrote: Would it be a bad idea to just install another copy of zope in a different directory? Would that clash somehow? Maybe, but not in any bad way, the worst I can see happenign is that they try and get the same ports on your machine. Just run up one instance at a tiem to make sure that doesn't happen (it shouldn't anyway, but it never hurts to be paranoid) You could also try copying the data.fs from the old install over the one in the new install if you want to get your old data back, no reason why it shouldn't work. As for your error, it looks like something bad happened when zope tried to write to the log file. Did you do any funny configuration fro your logging? What version of Zope are you using? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
Thanks Chris, As for your error, it looks like something bad happened when zope tried to write to the log file. Did you do any funny configuration fro your logging? What version of Zope are you using? I haven't changed anything to my knowledge. It did stop working after a crash though. Perhaps something is corrupted, I got a friend to test my site. He kept rightclicking and choosing "back", as quickly as he could and then it crashed... I think the page it crashed on had some .js in it... erk, I am using "Notes on Zope 2.0" oh gee I thought I was using 1.6! What version would you recommend installing? Thanks, josh ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
I have reinstalled zope and zodb, and copied the data.fs across. It was about two days old. All the changes that I had made were gone. Luckily I made a backup of my app yesterday by exporting it. I must have a bad understanding of how this works. I had imagined that everytime I hit CHANGE, that the data.fs file would have been updated. When the computer crashed where were all my current changes? Is there a temp file I might be able to recover, as I am still missing quite a few hours work! The lesson that I have learnt is to back up regularly by exporting. Is this the right conclusion? Thanks, josh on ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
- Original Message - From: josh on [EMAIL PROTECTED] I have reinstalled zope and zodb, and copied the data.fs across. It was about two days old. All the changes that I had made were gone. Luckily I made a backup of my app yesterday by exporting it. I must have a bad understanding of how this works. I had imagined that everytime I hit CHANGE, that the data.fs file would have been updated. That is how it is supposed to work, yes. If the data really isn't in your Data.fs (as opposed to being there, but inaccessible somehow) then that's a serious Zope bug. This may sound stupid, but have you tried using a different browser or aggressively clearing the cache on your current browser? Sometimes a browser has handed me a days-old folder contents view from its cache, but refreshing fixes it. When the computer crashed where were all my current changes? Is there a temp file I might be able to recover, as I am still missing quite a few hours work! You should take another copy of your original Data.fs and run Tranalyzer on it (http://www.zope.org/Members/tsarna/Tranalyzer) for clues as to what's really in it. If it shows no transactions more recent than the two-days old ones, let us know. The lesson that I have learnt is to back up regularly by exporting. Is this the right conclusion? Backups are never a bad idea. You shouldn't have to export, though; copying Data.fs, even while the system is running, should give you a good backup. Cheers, Evan @ digicool 4-am ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
If I were running any remotely critical application on WIN98 I would be scared too. Because of legacy data issues we run Zope on NT and that just makes me nervous. Jim Sanford - Original Message - From: josh on [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 20, 2000 5:38 AM Subject: [Zope] scared when things happen that I have no understanding of their cause I get a little scared. I started up zope this morning, it seemed to open normally. (I am running zserver and zope on a win98 machine) However when I went to access the site through the web, the server would shut down. I have recently exported the app. that I was working on, which makes me happy but I need to get it back up and working asap. What information do I need to get the bottom of this? I don't know how to copy and paste from a dos window, so I will transcribe what I can see, hopefully someone can tell me where I might look next! (I have taken out all the directory structure from the filenames) File "...\ZServer\medusa\asyncore.py", line 321, in handle_error self.close() File "..\ZServer\HTTPServer.py", line 356, in close p.more() #free up resources held by producer File "..\ZServer\Producers.py", line 108, in more getattr(self.logger, self.method)(self.bytes) File "..\ZServer\medusa\http_server.py", line 275, in log, _ _ [%s] "%s" %d "%s" "%s"\n' % ( LOG STUFF ) ... IOError: [Errno 9] Bad file descriptor Oh I feel rotten, way out of my depth! I just want zope to work!!! Not really sure where to start, will reinstalling the whole thing write over my data? I guess I have it backed up, but still... thanks for ANY help!! josh on ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] scared
I have reinstalled zope and zodb, and copied the data.fs across. It was about two days old. All the changes that I had made were gone. Luckily I made a backup of my app yesterday by exporting it. I must have a bad understanding of how this works. I had imagined that everytime I hit CHANGE, that the data.fs file would have been updated. It should When the computer crashed where were all my current changes? Is there a temp file I might be able to recover, as I am still missing quite a few hours work! THis never happened to me before, but it did yesterday (zope 2.1.4 on Win95) ! This seems like a bug. As for your error: I have had to throw away a corrupted (read: one that couldn't be opened) logfile before on NT. It made it possible to restart Zope again. I have wondered what strange corruptions could happen to a logfile, but apparently this may happen at times (especially if the logfile is getting big) hth Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )