I'm interested in the recommended database authorization method and/ 
or help using Ident (default for Postgresql on CentOS 5.1).

I followed the installation instructions, using the suggestions for  
Debian to create the tracuser role and the trac database (also  
created a tracuser account on system).  However, I get a fatal error  
when I attempt to initialize the Trac environment:

> [EMAIL PROTECTED] ~]$ sudo su - tracuser -c 'trac-admin /var/local/ 
> trac/myproject initenv'



> Creating and Initializing Project
> Failed to create environment. FATAL:  Ident authentication failed for
> user "tracuser"
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/admin/console.py", line 541, in
> do_initenv
>     options=options)
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/env.py", line 187, in __init__
>     self.create(options)
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/env.py", line 304, in create
>     DatabaseManager(self).init_db()
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/db/api.py", line 70, in init_db
>     connector.init_db(**args)
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/db/postgres_backend.py", line  
> 65, in
> init_db
>     cnx = self.get_connection(path, user, password, host, port,  
> params)
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/db/postgres_backend.py", line  
> 46, in
> get_connection
>     cnx = PostgreSQLConnection(path, user, password, host, port,  
> params)
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/db/postgres_backend.py", line  
> 141, in
> __init__
>     client_encoding='utf-8', unicode_results=True)
>   File "/usr/lib64/python2.4/site-packages/pyPgSQL/PgSQL.py", line  
> 2210,
> in connect
>     return Connection(connInfo, client_encoding, unicode_results)
>   File "/usr/lib64/python2.4/site-packages/pyPgSQL/PgSQL.py", line  
> 2365,
> in __init__
>     raise DatabaseError, m
> DatabaseError: FATAL:  Ident authentication failed for user "tracuser"
>
> Failed to initialize environment. 1
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-
> packages/Trac-0.11b1-py2.4.egg/trac/admin/console.py", line 545, in
> do_initenv
>     sys.exit(1)
> SystemExit: 1
>



Suggestions?



Brian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to