Opened 18 years ago
Closed 18 years ago
#6742 closed task (wontfix)
Failed to create environment. FATAL: Ident authentication failed for user "tracuser"
| Reported by: | Owned by: | Christopher Lenz | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | 0.11b1 |
| Severity: | normal | Keywords: | ident, authentication, tracuser, fatal |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Following the installation instructions, I am able to install Trac and create the postgresql database (using the same syntax as suggested for Debian). However, when I attempt to initialize the Trac environment, I get:
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
As the error suggests, I am using Ident authorization (do you advise this method?). I created a "tracuser" account on the system and executed this command to initialize the Trac environment:
[tracuser@localhost ~]$ sudo su - postgres -c 'trac-admin /var/local/trac/featurestage initenv'
I am using CentOS 5.1
Attachments (0)
Change History (11)
comment:1 by , 18 years ago
| Version: | → 0.11b1 |
|---|
comment:2 by , 18 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
comment:3 by , 18 years ago
| Priority: | normal → highest |
|---|---|
| Resolution: | invalid |
| Severity: | normal → critical |
| Status: | closed → reopened |
| Version: | 0.11b1 → 0.10-stable |
I am also having the same problem . I am using fedora 6 and trac.10. Please help
comment:4 by , 18 years ago
| Resolution: | → invalid |
|---|---|
| Status: | reopened → closed |
- Can't you read?
- Can't you google? (warning, requires 1.)
Sorry to be harsh, but reopening a ticket stated to be invalid with a "me too" is really not going to make you friends ;-)
comment:5 by , 18 years ago
| Priority: | highest → normal |
|---|---|
| Severity: | critical → normal |
| Version: | 0.10-stable → 0.11b1 |
(restoring original fields)
follow-up: 7 comment:6 by , 18 years ago
| Keywords: | ident authentication tracuser fatal added |
|---|---|
| Priority: | normal → highest |
| Resolution: | invalid |
| Severity: | normal → critical |
| Status: | closed → reopened |
Raneesh,
You won't find these guys real helpful, as you can tell from the knee jerk reactions to your reopening of this ticket. The best answer you'll get is to not use ident or use another issue tracker. I guess they don't understand that you have many choices and they come off sounding cold and irrelevant.
comment:7 by , 18 years ago
| Priority: | highest → normal |
|---|---|
| Severity: | critical → normal |
Replying to A Concerned Community Member:
You won't find these guys real helpful, as you can tell from the knee jerk reactions to your reopening of this ticket.
…
comment:8 by , 18 years ago
| Priority: | normal → highest |
|---|---|
| Severity: | normal → blocker |
comment:9 by , 18 years ago
| Cc: | added |
|---|
comment:10 by , 18 years ago
| Cc: | removed |
|---|
comment:11 by , 18 years ago
| Priority: | highest → normal |
|---|---|
| Resolution: | → wontfix |
| Severity: | blocker → normal |
| Status: | reopened → closed |
| Type: | defect → task |



Installation issue → please post to the MailingList.