Dear Chris,

  It works when I update the ACL:  setfacl -R -m
o::rwx,d:o::rwx /usr/lib/python2.6/

  But the RB says:

Your site's data directory isn't properly set up. This directory is where
Review Board will store various state and configuration needed to access
repositories.

Your data directory is currently at: /var/www/rb/data
Permission problems

The data directory must be writable by the web server. On Linux/Unix/Mac,
you can fix this by typing:

    $ sudo chown -R root "/var/www/rb/data"


 I have done this, but still shows this error.

 (I also run command: setfacl -R -m u:apache:rwx,d:u:apache:rwx
/var/www/rb/data" to let apache read and write for this folder)


On Sun, Apr 1, 2012 at 8:35 AM, Chris Tooley <ch...@tooley.com> wrote:

> The "other" permission group needs read and execute on directories and
> read on files.
> On Mar 31, 2012 7:32 PM, "Muiz" <work.m...@gmail.com> wrote:
>
>> Dear Chris,
>>
>>   Which permission should I update?
>>
>>   BTY, my linux is a 64 bit system.
>>
>>
>> On Sun, Apr 1, 2012 at 8:05 AM, Chris Tooley <ch...@tooley.com> wrote:
>>
>>> If you used easy_install you probably need to adjust permissions on
>>> python libraries in the /usr/lib/pythonxx directory tree. Look for missing
>>> permissions for o.
>>>  On Mar 31, 2012 7:02 PM, "Muiz" <work.m...@gmail.com> wrote:
>>>
>>>> Dear all,
>>>>
>>>>  I check the rb-site install log:
>>>>
>>>> Unable to load SCMTool perforce =
>>>> reviewboard.scmtools.perforce:PerforceTool: No module named Crypto
>>>> /usr/lib/python2.6/site-packages/paramiko-1.7.7.1-py2.6.egg/paramiko/common.py:98:
>>>> ImportWarning: Not importing directory
>>>> '/usr/lib64/python2.6/site-packages/Crypto': missing __init__.py
>>>>   from Crypto import Random
>>>>
>>>> but i'm sure i have install pycrypto  already
>>>>
>>>>
>>>> On Sun, Apr 1, 2012 at 7:33 AM, Muiz <work.m...@gmail.com> wrote:
>>>>
>>>>> HI, David,
>>>>>
>>>>>    I have installed pycrypto already use command "easy_install
>>>>> pycrypto":
>>>>>
>>>>> [root@localhost ~]# easy_install pycrypto
>>>>> Searching for pycrypto
>>>>> Best match: pycrypto 2.4
>>>>> Adding pycrypto 2.4 to easy-install.pth file
>>>>>
>>>>> Using /usr/lib64/python2.6/site-packages
>>>>> Processing dependencies for pycrypto
>>>>> Finished processing dependencies for pycrypto
>>>>>
>>>>> On Sun, Apr 1, 2012 at 4:55 AM, David Trowbridge 
>>>>> <trowb...@gmail.com>wrote:
>>>>>
>>>>>> It sounds like pycrypto is not properly installed.
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sat, Mar 31, 2012 at 3:30 AM, Muiz <work.m...@gmail.com> wrote:
>>>>>> > Dear all,
>>>>>> >
>>>>>> >    (OS Centos 6.2)
>>>>>> >
>>>>>> >    I install RB successfully but cannot lunch, when I open the home
>>>>>> page,
>>>>>> > got the folling error:
>>>>>> >
>>>>>> >
>>>>>> > Review Board is taking a nap
>>>>>> >
>>>>>> > There are several possible reasons:
>>>>>> >
>>>>>> > We're updating it.
>>>>>> > You're trying to look at a really huge diff without collapsing, and
>>>>>> it timed
>>>>>> > out (try viewing another diff and going back to collapsed changes;
>>>>>> we're
>>>>>> > working on fixing this).
>>>>>> > Our lazy good-for-nothing oompa-loompas stopped pedalling.
>>>>>> >
>>>>>> > It'll be back soon.
>>>>>> >
>>>>>> >  I check the /var/log/httpd/error_log, and get the following log,
>>>>>> how can I
>>>>>> > resolve this problem?
>>>>>> >
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] mod_wsgi
>>>>>> > (pid=5392): Exception occurred processing WSGI script
>>>>>> > '/var/www/rb/htdocs/reviewboard.wsgi'.
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101] Traceback
>>>>>> (most
>>>>>> > recent call last):
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
>>>>>> >
>>>>>> "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/wsgi.py",
>>>>>> > line 250, in __call__
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
>>>>>> > self.load_middleware()
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]   File
>>>>>> >
>>>>>> "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/base.py",
>>>>>> > line 47, in load_middleware
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]     raise
>>>>>> > exceptions.ImproperlyConfigured('Error importing middleware %s:
>>>>>> "%s"' %
>>>>>> > (mw_module, e))
>>>>>> > [Sat Mar 31 03:29:12 2012] [error] [client 192.168.1.101]
>>>>>> > ImproperlyConfigured: Error importing middleware
>>>>>> > reviewboard.admin.middleware: "cannot import name OSRNG"
>>>>>> > [Sat Mar 31 18:29:12 2012] [error] [client 192.168.1.101] File does
>>>>>> not
>>>>>> > exist: /var/www/rb/htdocs/media/rbcommons
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > Regards,
>>>>>> > Muiz
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > Want to help the Review Board project? Donate today at
>>>>>> > http://www.reviewboard.org/donate/
>>>>>> > Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>> > -~----------~----~----~----~------~----~------~--~---
>>>>>> > 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
>>>>>>
>>>>>> --
>>>>>> Want to help the Review Board project? Donate today at
>>>>>> http://www.reviewboard.org/donate/
>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>> -~----------~----~----~----~------~----~------~--~---
>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> *Muiz*
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> *Muiz*
>>>>
>>>>
>>>>  --
>>>> Want to help the Review Board project? Donate today at
>>>> http://www.reviewboard.org/donate/
>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>> -~----------~----~----~----~------~----~------~--~---
>>>> 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
>>>
>>>  --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~----------~----~----~----~------~----~------~--~---
>>> 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
>>>
>>
>>
>>
>> --
>> Regards,
>> *Muiz*
>>
>>
>>  --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> 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
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> 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
>



-- 
Regards,
*Muiz*

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
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