Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
Hi Christian,

Could you please tell me if there are any log files I can check to see what 
might be wrong? I am stuck and not sure how to proceed. I tried creating 
the client several times already.  

Thanks

On Monday, July 2, 2012 9:02:58 PM UTC-7, laxmi wrote:

 Yes I restarted the Apache and also tried reboot of the system. Nothing 
 helped

 Thanks,
 Laxmi

 On Monday, July 2, 2012 11:36:22 AM UTC-7, Christian Hammond wrote:

 Hi Laxmi,

 Please don't post these questions more than once. If nobody's available 
 to moderate, it's likely a timezone difference issue and we won't be around 
 to answer either.

 Did you restart Apache after making the changes?

 Christian

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


 On Mon, Jul 2, 2012 at 5:12 AM, laxmi lach...@gmail.com 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
What you're seeing is the only information available. It performs the check
and, if it sees that it can't write to that directory, it will show that
screen. The check is quite simple and I've never seen it be incorrect.

Can you show me the ls -ld of that directory?

Christian

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


On Tue, Jul 3, 2012 at 7:34 AM, laxmi lach...@gmail.com wrote:

 Hi Christian,

 Could you please tell me if there are any log files I can check to see
 what might be wrong? I am stuck and not sure how to proceed. I tried
 creating the client several times already.

 Thanks


 On Monday, July 2, 2012 9:02:58 PM UTC-7, laxmi wrote:

 Yes I restarted the Apache and also tried reboot of the system. Nothing
 helped

 Thanks,
 Laxmi

 On Monday, July 2, 2012 11:36:22 AM UTC-7, Christian Hammond wrote:

 Hi Laxmi,

 Please don't post these questions more than once. If nobody's available
 to moderate, it's likely a timezone difference issue and we won't be around
 to answer either.

 Did you restart Apache after making the changes?

 Christian

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


 On Mon, Jul 2, 2012 at 5:12 AM, laxmi lach...@gmail.com 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/http://www.reviewboard.org/donate/
 Happy user? Let us know at 
 http://www.reviewboard.org/**users/http://www.reviewboard.org/users/
 -~--~~~~--**~~--~--~---
 To unsubscribe from this group, send email to reviewboard+unsubscribe@*
 *googlegroups.com reviewboard%2bunsubscr...@googlegroups.com
 For more options, visit this group at http://groups.google.com/**
 group/reviewboard?hl=enhttp://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


-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
Thank you Chris. Here is the info you requested

# pwd
/var/www/reviewboard
# ls -ld

drwxr-xr-x. 2 root   root   4096 Jul  3 06:41 conf
drwxr-xr-x. 2 apache apache 4096 Jul  3 06:41 data
drwxr-xr-x. 3 root   root   4096 Jul  3 06:41 htdocs
drwxr-xr-x. 2 root   root   4096 Jul  3 06:41 logs
drwxrwxrwx. 2 root   root   4096 Jul  3 06:41 tmp


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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
In the page you linked, it shows /var/www/review.com and not
/var/www/reviewboard. Was that just changed, or is that the problem?

Christian

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


On Tue, Jul 3, 2012 at 8:25 AM, laxmi lach...@gmail.com wrote:

 Thank you Chris. Here is the info you requested

 # pwd
 /var/www/reviewboard
 # ls -ld

 drwxr-xr-x. 2 root   root   4096 Jul  3 06:41 conf
 drwxr-xr-x. 2 apache apache 4096 Jul  3 06:41 data
 drwxr-xr-x. 3 root   root   4096 Jul  3 06:41 htdocs
 drwxr-xr-x. 2 root   root   4096 Jul  3 06:41 logs
 drwxrwxrwx. 2 root   root   4096 Jul  3 06:41 tmp


 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
I tried recreating with the reviewboard name to see if that was the issue. 
So that is not the problem. It is still same error

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/reviewboard/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/reviewboard/data

On Windows, right-click the data directory and change the ownership to 
apache.

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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
Don't indent any of the lines you type. You'll need to repeat that without
hitting space or tab.

Christian

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


On Tue, Jul 3, 2012 at 10:00 AM, laxmi lach...@gmail.com wrote:

  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/http://www.reviewboard.org/donate/
 Happy user? Let us know at 
 http://www.reviewboard.org/**users/http://www.reviewboard.org/users/
 -~--~~~~--**~~--~--~---
 To unsubscribe from this group, send email to reviewboard+unsubscribe@**
 googlegroups.com reviewboard%2bunsubscr...@googlegroups.com
 For more options, visit this group at http://groups.google.com/**
 group/reviewboard?hl=enhttp://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


-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
# 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
 data_dir = '/var/www/reviewboard'
 print os.path.isdir(data_dir)
True
 print os.access(data_dir, os.W_OK)
False
 

-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
# sudo -u apache -s
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
 data_dir = '/var/www/reviewboard'
 print os.path.isdir(data_dir)
True
 print os.access(data_dir, os.W_OK)
False
 quit () 

-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
Sorry, my mistake. data_dir should be '/var/www/reviewboard/data'

Christian

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


On Tue, Jul 3, 2012 at 10:08 AM, laxmi lach...@gmail.com wrote:

 # 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
  data_dir = '/var/www/reviewboard'
  print os.path.isdir(data_dir)
 True
  print os.access(data_dir, os.W_OK)
 False
 

 --
 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi

 import os
 data_dir = '/var/www/reviewboard/data'
 print os.path.isdir(data_dir)
True
 print os.access(data_dir, os.W_OK)
True
 

-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
It's looking like the Apache server just wasn't restarted then. Make sure
to restart and, if there are any reviewboard.wsgi processes running, kill
them.

Christian

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


On Tue, Jul 3, 2012 at 10:12 AM, laxmi lach...@gmail.com wrote:


  import os
  data_dir = '/var/www/reviewboard/data'
  print os.path.isdir(data_dir)
 True
  print os.access(data_dir, os.W_OK)
 True
 

 --
 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread Christian Hammond
One other thing to check is if SELinux is getting in the way. If you have
that turned on, try turning it off and see if it fixes things.

Christian

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


On Tue, Jul 3, 2012 at 10:14 AM, Christian Hammond chip...@chipx86.comwrote:

 It's looking like the Apache server just wasn't restarted then. Make sure
 to restart and, if there are any reviewboard.wsgi processes running, kill
 them.


 Christian

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


 On Tue, Jul 3, 2012 at 10:12 AM, laxmi lach...@gmail.com wrote:


  import os
  data_dir = '/var/www/reviewboard/data'
  print os.path.isdir(data_dir)
 True
  print os.access(data_dir, os.W_OK)
 True
 

 --
 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
Hi Chris,

I did restart Apache. Tried again now also. Here is the output

# service httpd stop
Stopping httpd (via systemctl):  [  OK  ]
# ps -aef | grep review
root 15563 11177  0 10:20 pts/200:00:00 grep --color=auto review
# service httpd status
httpd.service - LSB: start and stop Apache HTTP Server
  Loaded: loaded (/etc/rc.d/init.d/httpd)
  Active: inactive (dead) since Tue, 03 Jul 2012 10:20:49 -0700; 
18s ago
 Process: 15552 ExecStop=/etc/rc.d/init.d/httpd stop (code=exited, 
status=0/SUCCESS)
 Process: 11263 ExecReload=/etc/rc.d/init.d/httpd reload 
(code=exited, status=0/SUCCESS)
 Process: 15506 ExecStart=/etc/rc.d/init.d/httpd start 
(code=exited, status=0/SUCCESS)
Main PID: 2901 (code=exited, status=0/SUCCESS)
  CGroup: name=systemd:/system/httpd.service
# 
# service httpd start
Starting httpd (via systemctl):  [  OK  ]
# 

From browser went to http://xyz.net and get the following error
Manual server updates required

A recent upgrade requires manual updates to be made on this server. After 
these changes are made, you should restart your server.

If you have any questions or problems, please contact us on our mailing 
listhttp://groups.google.com/group/reviewboard
.
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/reviewboard/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/reviewboard/data

On Windows, right-click the data directory and change the ownership to 
apache.Am 

Am I suing the wrong URL to login or something liek that?


Thanks, 

-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
Trying this now. Keeping fingers crossed

On Tuesday, July 3, 2012 10:15:00 AM UTC-7, Christian Hammond wrote:

 One other thing to check is if SELinux is getting in the way. If you have 
 that turned on, try turning it off and see if it fixes things.

 Christian

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


 On Tue, Jul 3, 2012 at 10:14 AM, Christian Hammond chip...@chipx86.comwrote:

 It's looking like the Apache server just wasn't restarted then. Make sure 
 to restart and, if there are any reviewboard.wsgi processes running, kill 
 them.


 Christian

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


 On Tue, Jul 3, 2012 at 10:12 AM, laxmi lach...@gmail.com wrote:


  import os
  data_dir = '/var/www/reviewboard/data'
  print os.path.isdir(data_dir)
 True
  print os.access(data_dir, os.W_OK)
 True
  

 -- 
 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

Re: Urgent! Please help reviewboard startup problem

2012-07-03 Thread laxmi
Thank you Chris. That was it. selinux turned on was the issue. It works 
now. appreciate your help in debugging this issue.




-- 
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

Re: Urgent! Please help reviewboard startup problem

2012-07-02 Thread Christian Hammond
Hi Laxmi,

Please don't post these questions more than once. If nobody's available to
moderate, it's likely a timezone difference issue and we won't be around to
answer either.

Did you restart Apache after making the changes?

Christian

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


On Mon, Jul 2, 2012 at 5:12 AM, laxmi lach...@gmail.com 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

Re: Urgent! Please help reviewboard startup problem

2012-07-02 Thread laxmi
Yes I restarted the Apache and also tried reboot of the system. Nothing 
helped

Thanks,
Laxmi

On Monday, July 2, 2012 11:36:22 AM UTC-7, Christian Hammond wrote:

 Hi Laxmi,

 Please don't post these questions more than once. If nobody's available to 
 moderate, it's likely a timezone difference issue and we won't be around to 
 answer either.

 Did you restart Apache after making the changes?

 Christian

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


 On Mon, Jul 2, 2012 at 5:12 AM, laxmi lach...@gmail.com 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