sudo -u apache -s bash-4.2$ bash-4.2$ python Python 2.7.1 (r271:86832, Apr 12 2011, 16:15:16) [GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import os File "<stdin>", line 1 import os ^ IndentationError: unexpected indent >>> data_dir = '/var/www/reviewboard' >>> print os.path.isdir(data_dir) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'os' is not defined >>> print os.access(data_dir, os.W_OK) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'os' is not defined >>>
Sorry I am in IST hence some dealy in responding. On Tuesday, July 3, 2012 9:52:25 AM UTC-7, Christian Hammond wrote: > > Okay, let's figure out which of these checks is failing. > > Do: > > $ sudo -u apache -s > $ python > >>> import os > >>> data_dir = '/var/www/reviewboard' > >>> print os.path.isdir(data_dir) > >>> print os.access(data_dir, os.W_OK) > > And paste the output. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > On Tue, Jul 3, 2012 at 9:03 AM, laxmi <lach...@gmail.com> wrote: > >> Contents of /etc/httpd/conf.d/reviewboard.conf -> >> /var/www/reviewboard/conf/apache-wsgi.conf >> >> <VirtualHost *:80> >> ServerName abc.xyz.net >> DocumentRoot "/var/www/reviewboard/htdocs" >> >> # Error handlers >> ErrorDocument 500 /errordocs/500.html >> >> WSGIPassAuthorization On >> WSGIScriptAlias "/" >> "/var/www/reviewboard/htdocs/reviewboard.wsgi/" >> >> <Directory "/var/www/reviewboard/htdocs"> >> AllowOverride All >> Options -Indexes FollowSymLinks >> Allow from all >> </Directory> >> >> # Alias static media requests to filesystem >> Alias /media "/var/www/reviewboard/htdocs/media" >> Alias /errordocs "/var/www/reviewboard/htdocs/errordocs" >> Alias /favicon.ico >> "/var/www/reviewboard/htdocs/media/rbcommons/images/favicon.png" >> </VirtualHost> >> >> On Monday, July 2, 2012 5:12:06 AM UTC-7, laxmi wrote: >> >>> Getting the following error when connected to http://<ip> from remote >>> or http://localhost from the machine locally. I already checked >>> and the permissions are as recommended below for the folders. Please >>> advice what else can be checked and what I am missing. >>> >>> Thanks, >>> Laxmi >>> >>> Data directory changes >>> >>> 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/review.com/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 apache "/var/www/review.com/data" >>> >>> On Windows, right-click the data directory and change the ownership to >>> apache. >>> >> -- >> 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