Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6742 closed task (wontfix)

Failed to create environment. FATAL: Ident authentication failed for user "tracuser"

Reported by: curtisbr@… 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 Emmanuel Blot)

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 curtisbr@…, 17 years ago

Version: 0.11b1

comment:2 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

Installation issue → please post to the MailingList.

comment:3 by a.raneesh@…, 17 years ago

Priority: normalhighest
Resolution: invalid
Severity: normalcritical
Status: closedreopened
Version: 0.11b10.10-stable

I am also having the same problem . I am using fedora 6 and trac.10. Please help

comment:4 by Christian Boos, 17 years ago

Resolution: invalid
Status: reopenedclosed
  1. Can't you read?
  2. 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 Emmanuel Blot, 17 years ago

Priority: highestnormal
Severity: criticalnormal
Version: 0.10-stable0.11b1

(restoring original fields)

comment:6 by A Concerned Community Member, 17 years ago

Keywords: ident authentication tracuser fatal added
Priority: normalhighest
Resolution: invalid
Severity: normalcritical
Status: closedreopened

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.

in reply to:  6 comment:7 by Emmanuel Blot, 17 years ago

Priority: highestnormal
Severity: criticalnormal

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 MoveOn.org, 17 years ago

Priority: normalhighest
Severity: normalblocker

comment:9 by curtisbr@…, 17 years ago

Cc: curtisbr@… added

comment:10 by curtisbr@…, 17 years ago

Cc: curtisbr@… removed

comment:11 by curtisbr@…, 17 years ago

Priority: highestnormal
Resolution: wontfix
Severity: blockernormal
Status: reopenedclosed
Type: defecttask

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.