Hi,

Does Apache have write access to that directory? If logging is actually
enabled, it should be writing to a reviewboard.log file, as long as the
directory is either owned by the Apache process's user or is world-writable.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Tue, Sep 29, 2009 at 1:53 PM, Kunjal <kunjal.par...@gmail.com> wrote:

>
> Chris,
>
> Finally, after few tries now the Enable logging does not go back to
> default.
> My log dir. is set at /projects/mob_tools/xampp/1.6.4-brcm-v2/htdocs/
> reviewboard/logs
>
> Now, I try to login to RB using my windows username/password which
> uses LDAP.
> I get message saying incorrect username/password.
> Now, when I look at the log dir. there is nothing there.
>
> What should I do?
>
> Kunjal
>
> On Sep 29, 1:03 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > Hi Kunjal,
> >
> > After setting the log directory and enabling logging, restart Apache. It
> > should then start logging on the next request.
> >
> > It seems some people have issues with the settings not sticking while
> others
> > don't. Can you tell me what you're using for server-side caching
> (memcached?
> > file-based?), whether you're using mod_python or fastcgi, and whether
> Apache
> > is configured for pre-fork or worker threads?
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
> >
> >
> >
> > On Tue, Sep 29, 2009 at 11:07 AM, Kunjal <kunjal.par...@gmail.com>
> wrote:
> >
> > > One more question.
> >
> > > How to enable logging?
> >
> > > I went in to Settings->Logging and enable logging and set the log dir
> > > as well.
> > > however, the settings are re-set to default every time I log out and
> > > log in back.
> >
> > > Is there any way to see log while I try LDAP authentication?
> >
> > > Thanks
> > > Kunjal
> >
> > > On Sep 28, 2:25 pm, Kunjal <kunjal.par...@gmail.com> wrote:
> > > > Thanks.
> > > > I do have one admin user in RB which has its own username/password.
> > > > Let me do some more debug.
> >
> > > > Thanks for your prompt help.
> >
> > > > Kunjal
> >
> > > > On Sep 28, 2:19 pm, Christian Hammond <chip...@chipx86.com> wrote:
> >
> > > > > Sorry, when I said to make the change, I meant to set up the LDAP
> > > > > authentication settings, and then restart Apache.
> >
> > > > > I don't know why you aren't able to log in after doing that. Did
> you
> > > check
> > > > > the Review Board log file? You may have to enable this first in Log
> > > > > Settings.
> >
> > > > > Did you initially create an administrator user that doesn't exist
> on
> > > your
> > > > > LDAP server? It's good to have at least one admin user that doesn't
> use
> > > LDAP
> > > > > for authentication but instead uses the built-in authentication, in
> > > case
> > > > > there are issues with logging in to the LDAP server.
> >
> > > > > You shouldn't need the memcached support for logging in, but you
> will
> > > want
> > > > > it before the server is production-ready.
> >
> > > > > Christian
> >
> > > > > --
> > > > > Christian Hammond - chip...@chipx86.com
> > > > > Review Board -http://www.review-board.org
> > > > > VMware, Inc. -http://www.vmware.com
> >
> > > > > On Mon, Sep 28, 2009 at 2:15 PM, Kunjal <kunjal.par...@gmail.com>
> > > wrote:
> >
> > > > > > Thanks for prompt answer.
> >
> > > > > > You said that " Try making the change ".
> > > > > > What change? Can you explain further?
> >
> > > > > > Here is I observed now. I keep updating LDAP settings even if
> restore
> > > > > > to default.
> > > > > > Now, What I see is that I login/logout as admin few times, and
> LDAP
> > > > > > settings are there.
> > > > > > They stop getting set to default.
> >
> > > > > > Then I restarted apached but still I could not login in RB using
> my
> > > > > > authentication. Do I need to have memchached installed first?
> > > > > > We are in middle of RB installation so I think we still need to
> > > > > > install patch, cmemcache and libmemcache
> >
> > > > > > Thanks
> > > > > > Kunjal
> >
> > > > > > On Sep 28, 1:45 pm, Christian Hammond <chip...@chipx86.com>
> wrote:
> > > > > > > Hi,
> >
> > > > > > > There's a bug with saving some authentication settings. The
> changes
> > > don't
> > > > > > > make it to all the Python threads. Try making the change and
> > > restarting
> > > > > > > Apache.
> >
> > > > > > > As for settings_local.py, the configuration options aren't
> actually
> > > saved
> > > > > > > there. We have in-database settings that get pulled out and put
> > > into an
> > > > > > > in-memory version of the settings file. This works well for the
> > > most
> > > > > > part,
> > > > > > > except the thread propagation, which I thought we had fixed,
> but
> > > > > > apparently
> > > > > > > not.
> >
> > > > > > > Christian
> >
> > > > > > > --
> > > > > > > Christian Hammond - chip...@chipx86.com
> > > > > > > Review Board -http://www.review-board.org
> > > > > > > VMware, Inc. -http://www.vmware.com
> >
> > > > > > > On Mon, Sep 28, 2009 at 1:27 PM, Kunjal <
> kunjal.par...@gmail.com>
> > > wrote:
> >
> > > > > > > > Hello,
> >
> > > > > > > > We are evaluating RB 1.0.3.
> > > > > > > > We want LDAP Authentication so we install python-ldap and
> make
> > > changes
> > > > > > > > to LDAP Settings in Admin->Settings and then restart apache.
> > > > > > > > The LDAP authentication is not working. Few things to note.
> >
> > > > > > > > 1. When I go back to Admin->Settings, It again default back
> to
> > > > > > > > Standard Registration
> >
> > > > > > > > 2. the settings_local.py file does not have any info on LDAP.
> Do
> > > I
> > > > > > > > need to add LDAP info. in settings_local.py file as well?
> >
> > > > > > > > Pls. help.
> >
> > > > > > > > Thanks
> > > > > > > > Kunjal
> > > > > > > > Broadcom Inc.- Hide quoted text -
> >
> > > > > > > - Show quoted text -- Hide quoted text -
> >
> > > > > - Show quoted text -- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to