Hi,

At this point, it's a PostgreSQL configuration issue. You'll need to get that 
set up and working first. Sorry, I can't help too much there. Make sure you 
have a working database you can create tables on first (using the user you'll 
give rb-site), then nuke your site directory and try again.

Christian

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

On Mar 4, 2013, at 11:31 PM, arunku...@gmail.com wrote:

> Hi Christian
> 
>   Finally i could able to make some progress . I have chosen postgres SQL 
> database . I have created a user called 'db1' and granted
>   some privileges for that user .
> 
>   Now rb-install tell me that 'db1' role does not exist .
> 
>   [root@test Packages]# rb-site install /var/www/reviews.nonstopqa.com
> 
> 
> * Welcome to the Review Board site installation wizard
> 
>     This will prepare a Review Board site installation in:
> 
>     /var/www/reviews.nonstopqa.com
> 
>     We need to know a few things before we can prepare your site for
>     installation. This will only take a few minutes.
> 
> 
> * Make sure you have the modules you need
> 
>     Depending on your installation, you may need certain Python
>     modules and servers that are missing.
> 
>     If you need support for any of the following, you will need to
>     install the necessary modules and restart the install.
> 
>     Databases (optional):
>         * MySQL (MySQLdb)
> 
> 
> * What's the host name for this site?
> 
>     This should be the fully-qualified host name without the http://,
>     port or path.
> 
> Domain Name: 15.154.112.65
> 
> 
> * What URL path points to Review Board?
> 
>     Typically, Review Board exists at the root of a URL. For example,
>     http://reviews.example.com/. In this case, you would specify "/".
> 
>     However, if you want to listen to, say,
>     http://example.com/reviews/, you can specify "/reviews/".
> 
>     Note that this is the path relative to the domain and should not
>     include the domain name.
> 
>     The default is /
> 
> Root Path [/]:
> 
> 
> * What URL will point to the shipped media files?
> 
>     While most installations distribute media files on the same server
>     as the rest of Review Board, some custom installs may instead have
>     a separate server for this purpose.
> 
>     If unsure, don't change the default.
> 
>     The default is static/
> 
> Shipped Media URL [static/]:
> 
> 
> * What URL will point to the uploaded media files?
> 
>     Note that this is different from shipped media. This is where all
>     uploaded screenshots, file attachments, and extension media will
>     go. It must be a different location from the shipped media.
> 
>     If unsure, don't change the default.
> 
>     The default is media/
> 
> Uploaded Media URL [media/]:
> 
> 
> * What database type will you be using?
> 
>     You can type either the name or the number from the list below.
> 
>     (1) postgresql
>     (2) sqlite3 (not supported for production use)
> 
> Database Type: 1
> 
> 
> * What database name should Review Board use?
> 
>     NOTE: You need to create this database and grant user modification
>     rights before continuing. See your database documentation for more
>     information.
> 
>     The default is reviewboard
> 
> Database Name [reviewboard]: nonstop
> 
> 
> * What is the database server's address?
> 
>     This should be specified in hostname:port form. The port is
>     optional if you're using a standard port for the database type.
> 
>     The default is localhost
> 
> Database Server [localhost]:
> 
> 
> * What is the login and password for this database?
> 
>     This must be a user that has table creation and modification
>     rights on the database you already specified.
> 
> Database Username: db1
> 
> Database Password:
> 
>     The default is hp_123
> 
> Confirm Database Password [hp_123]:
> 
> 
> * What cache mechanism should be used?
> 
>     memcached is strongly recommended. Use it unless you have a good
>     reason not to.
> 
>     You can type either the name or the number from the list below.
> 
>     (1) memcached (recommended)
>     (2) file
> 
> Cache Type: 1
> 
> 
> * What memcached host should be used?
> 
>     This is in the format of hostname:port
> 
>     The default is localhost:11211
> 
> Memcache Server [localhost:11211]:
> 
> 
> * What web server will you be using?
> 
>     You can type either the name or the number from the list below.
> 
>     (1) apache
>     (2) lighttpd
> 
> Web Server: 1
> 
> 
> * What Python loader module will you be using?
> 
>     Based on our experiences, we recommend using wsgi with Review
>     Board.
> 
>     You can type either the name or the number from the list below.
> 
>     (1) wsgi (recommended)
>     (2) fastcgi
>     (3) modpython (no longer supported)
> 
> Python Loader: 1
> 
> 
> * Create an administrator account
> 
>     To configure Review Board, you'll need an administrator account.
>     It is advised to have one administrator and then use that account
>     to grant administrator permissions to your personal user account.
> 
>     If you plan to use NIS or LDAP, use an account name other than
>     your NIS/LDAP account so as to prevent conflicts.
> 
>     The default is admin
> 
> Username [admin]:
> 
> Password:
> 
>     The default is admin123
> 
> Confirm Password [admin123]:
> 
> E-Mail Address: arun.ku...@gmail.com
> 
> 
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in <module>
>     load_entry_point('ReviewBoard==1.7.6', 'console_scripts', 'rb-site')()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  line 1936, in main
>     command.run()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  line 1397, in run
>     self.show_install_status()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  line 1683, in show_install_status
>     site.sync_database)
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  line 880, in step
>     func()
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  line 366, in sync_database
>     self.run_manage_command("syncdb", params)
>   File 
> "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.6-py2.6.egg/reviewboard/cmdline/rbsite.py",
>  line 556, in run_manage_command
>     execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", 
> line 459, in execute_manager
>     utility.execute()
>   File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", 
> line 382, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.6/site-packages/django/core/management/base.py", 
> line 196, in run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.6/site-packages/django/core/management/base.py", 
> line 232, in execute
>     output = self.handle(*args, **options)
>   File "/usr/lib/python2.6/site-packages/django/core/management/base.py", 
> line 371, in handle
>     return self.handle_noargs(**options)
>   File 
> "/usr/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", 
> line 57, in handle_noargs
>     cursor = connection.cursor()
>   File "/usr/lib/python2.6/site-packages/django/db/backends/__init__.py", 
> line 319, in cursor
>     cursor = util.CursorWrapper(self._cursor(), self)
>   File 
> "/usr/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py",
>  line 177, in _cursor
>     self.connection = Database.connect(**conn_params)
>   File 
> "/usr/lib/python2.6/site-packages/psycopg2-2.4.6-py2.6-linux-i686.egg/psycopg2/__init__.py",
>  line 178, in connect
>     return _connect(dsn, connection_factory=connection_factory, async=async)
> psycopg2.OperationalError: FATAL:  role "db1" does not exist
> 
> thanks/regards
> Arun kurse 
> 
>   
> 
> On Tuesday, March 5, 2013 12:02:18 PM UTC+5:30, arun...@gmail.com wrote:
> Hi All
> 
>   I am new to Review Board and trying to setup up internally in our 
> Environment .
>   I have installed reviewBoard successfully with "easy_install ReviewBoard". 
> 
>   easy_install failed to install Django and hence i had to install it 
> manually .
> 
>    I have successfully created the Postgres SQL database . 
> 
>    I am getting the below error while running "rb-install"
> 
>   [root@test /]# rb-site install /var/www/reviews.nonstopqa.com
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File 
> "/usr/lib/python2.6/site-packages/distribute-0.6.8-py2.6.egg/pkg_resources.py",
>  line 2640, in <module>
>     parse_requirements(__requires__), Environment()
>   File 
> "/usr/lib/python2.6/site-packages/distribute-0.6.8-py2.6.egg/pkg_resources.py",
>  line 531, in resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: Django>=1.4.5,<1.5
> 
> 
>   Also how do i link Review Board with Postgres SQL database ?
> 
>   Many thanks for your help.
> 
> thanks/regards
> Arun kurse
> 
> -- 
> 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
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to