[Zope] Bad File Descriptor error - zope crashes at startup
Jason Cunliffe
jasonic@nomadicsltd.com
Tue, 24 Apr 2001 15:32:16 -0400
James
YES. Thank you!!
A tricky side effect I noticed:
1. I created a fresh install of Zope231
with installation username = 'superuser' and passwd = '123'
2. Started the new zope, then entered /manage using this installation
login. OK
3. Stopped Zope
4. Copied my old 'Products' folder over plus 'PIL' to new ZSite tree
5. Copied my old [corrupted] Data.fs into the new /var folder
6. Restart Zope
7. Try /manage login .. => now it rejects 'superuser', but accepts my old
manager login from the pre-coorupted days [last night].OK
Can anyone explain the creation sequence of user permissions for superuser
logins and other mamanger logins in Zope 2.3.1?
This seems to be related to voodoo installation problems a few __very__
unlucky people have had on Win32.
For example: I have been trying to help a new Zope user, Sharlynn
<waterstrider@frontier.net> who for 14 days cannot login to /manage after
installing Zope.
She appears to have exhausted all permutations, though no doubt there is ONE
we have not found = The right one!
She has posted to this list a couple of times but no any replies yet.
http://lists.zope.org/pipermail/zope/2001-April/087967.html
http://lists.zope.org/pipermail/zope/2001-April/088946.html
Please can anyone help her?
Thanks
- Jason
___________________________________________________________
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']
----- Original Message -----
From: <info@sjeems.nl>
To: "'Jason Cunliffe'" <jasonic@nomadicsltd.com>
Sent: Tuesday, April 24, 2001 2:34 PM
Subject: RE: [Zope] Bad File Descriptor error - zope crashes at startup
> Hi jason,
>
> The thing they told me to do is quite simple... you just setup a new zope
> server (reinstall zope) and copy the database
> (Data.fs from your old zope sites var directory) to the new var
> direcory...It worked for me....
>
> just make sure you keep a backup of the original Data.fs..... You never
know
>
> Hope it helped you!!
>
> James
>
> -----Oorspronkelijk bericht-----
> Van: zope-admin@zope.org [mailto:zope-admin@zope.org]namens Jason
> Cunliffe
> Verzonden: dinsdag 24 april 2001 18:00
> Aan: zope@zope.org
> Onderwerp: [Zope] Bad File Descriptor error - zope crashes at startup
>
>
> Hi
>
> Developing Zope on local laptop [Win98se 192Mb, Zope 2.3.1] before upload
to
> Linux server. A system crash last night and now Zope starts ok, but quits
> the moment I try to access it from a browser request:=>
>
> self.file.flush()
> IOError: [Errno 9] Bad file descriptor
>
> I remember seeing somewhere some clever rescue advice about this
situation,
> some posts begging for help but can't find any followup answers.
>
> I do not see a dedicated section in the Documentation page at Zope.org
> suitably titled:
> HELP, EMERGENCY, CRASH RECOVERY HOWTOS etc..