Edgewall Software
Modify

Ticket #6742 (closed task: wontfix)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: curtisbr@… Owned by: cmlenz
Priority: normal Milestone:
Component: admin/console Version: 0.11b1
Severity: normal Keywords: ident, authentication, tracuser, fatal
Cc:
Release Notes:
API Changes:

Description (last modified by eblot) (diff)

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

Change History

comment:1 Changed 4 years ago by curtisbr@…

  • Version set to 0.11b1

comment:2 Changed 4 years ago by eblot

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

Installation issue -> please post to the MailingList.

comment:3 Changed 4 years ago by a.raneesh@…

  • Priority changed from normal to highest
  • Resolution invalid deleted
  • Severity changed from normal to critical
  • Status changed from closed to reopened
  • Version changed from 0.11b1 to 0.10-stable

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

comment:4 Changed 4 years ago by cboos

  • Resolution set to invalid
  • Status changed from reopened to closed
  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 Changed 4 years ago by eblot

  • Priority changed from highest to normal
  • Severity changed from critical to normal
  • Version changed from 0.10-stable to 0.11b1

(restoring original fields)

comment:6 follow-up: Changed 4 years ago by A Concerned Community Member

  • Keywords ident, authentication, tracuser, fatal added
  • Priority changed from normal to highest
  • Resolution invalid deleted
  • Severity changed from normal to critical
  • Status changed from closed to 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 in reply to: ↑ 6 Changed 4 years ago by eblot

  • Priority changed from highest to normal
  • Severity changed from critical to 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 Changed 4 years ago by MoveOn.org

  • Priority changed from normal to highest
  • Severity changed from normal to blocker

comment:9 Changed 4 years ago by curtisbr@…

  • Cc curtisbr@… added

comment:10 Changed 4 years ago by curtisbr@…

  • Cc curtisbr@… removed

comment:11 Changed 4 years ago by curtisbr@…

  • Priority changed from highest to normal
  • Resolution set to wontfix
  • Severity changed from blocker to normal
  • Status changed from reopened to closed
  • Type changed from defect to task
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.