DirectoryStorage - no logon
Hi all, I've been having some problems with DirectoryStorage. I've installed an instance of zope using the -u and -g switches (-u toto -g zope). I've installed DirectoryStorage and configured the custom_zodb file. I've dropped root privileges to start zope. I've followed all the procedure. At this stage all seemed to be working fine. Zope recognised DirectoryStorage and started properly. But when I try to logon (zope/manage) nothing happens. The request is sent, but then it just waits indefinitely. Did anyone have this problem? Any explanation as to why it reacts this way? Thanks in advance for any suggestions. Fnk.
On Tuesday 27 May 2003 10:19 am, FNk wrote:
Hi all,
I've been having some problems with DirectoryStorage.
I've installed an instance of zope
Which version?
using the -u and -g switches (-u toto -g zope). I've installed DirectoryStorage and configured the custom_zodb file. I've dropped root privileges to start zope.
If you are dropping root privilidges before starting z2.py (or the start script) then you dont need the -u switch. Or did you mean a -u switch to a different program? I dont think z2.py has a -g switch.
At this stage all seemed to be working fine. Zope recognised DirectoryStorage and started properly. But when I try to logon (zope/manage) nothing happens. The request is sent, but then it just waits indefinitely.
Did anyone have this problem? Any explanation as to why it reacts this way?
Thats not a normal DirectoryStorage problem. Does it work if you move custom_zodb out of the way and restart, to use FileStorage? Is there anything in the event log file (doc/ENVIRONMENT.txt) or stderr? -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Toby Dickenson Sent: mardi 27 mai 2003 11:38 To: FNk; Zope Subject: Re: [Zope] DirectoryStorage - no logon On Tuesday 27 May 2003 10:19 am, FNk wrote: Which version? I've created a user toto (who is a member of a group called zope). Then I've installed zope 2.6.0 with user toto (./install -u toto -g zope). Then I installed DirectoryStorage_1.1.2. Before starting zope, I dropped root (su toto, then ./start). That's not a normal DirectoryStorage problem. Does it work if you move custom_zodb out of the way and restart, to use FileStorage? If I move custom_zodb it works fine (without DirectoryStorage). But when I use custom_zodb, Zope recognised DirectoryStorage and started properly But it's impossible to logon (zope/manage). The request is sent, but then it just waits indefinitely. Is there anything in the event log file (doc/ENVIRONMENT.txt) or stderr? In the Z2.logs, when I use FileStorage, it logs: ... Get/manage_top_frame HHT/1.1 401 788 http://127.0.0.1/manage/ Mozilla/5.0 ... (and other frames). With DirectoryStorage: ... Get/manage/ HTTP/1.1 401 638 "" Mozilla/5.0 ... The request isn't sent properly. What have I done wrong ? -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson _______________________________________________ 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 )
On Tuesday 27 May 2003 2:37 pm, FNk wrote:
I've created a user toto (who is a member of a group called zope). Then I've installed zope 2.6.0 with user toto (./install -u toto -g zope).
Im not familiar with any ./install tool. Whats that?
Then I installed DirectoryStorage_1.1.2. Before starting zope, I dropped root (su toto, then ./start).
That looks good.
If I move custom_zodb it works fine (without DirectoryStorage). But when I use custom_zodb, Zope recognised DirectoryStorage and started properly
Make sure you have the -D switch in ./start (I think its the default) to turn on debug mode. zope will not run in the background, and you should see event log output. Is there anything of interest in there? (Im happy to take a look if you send it direct to me)
But it's impossible to logon (zope/manage). The request is sent, but then it just waits indefinitely.
In the Z2.logs, when I use FileStorage, it logs: ... Get/manage_top_frame HHT/1.1 401 788 http://127.0.0.1/manage/ Mozilla/5.0 ... (and other frames).
With DirectoryStorage: ... Get/manage/ HTTP/1.1 401 638 "" Mozilla/5.0 ...
The request isn't sent properly.
That line suggests that zope sent a 401 response, requesting that your browser prompts for a password. DirectoryStorage has worked well enough to load the root folder, user folder, and many other objects. Im not sure why that response didnt make it back to your browser :-( Is this an empty DirectoryStorage, or one that has content copied from your FileStorage? -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson
participants (2)
-
FNk -
Toby Dickenson