[Trac] Configuring trac user in postgres

ian docherty ian at ecisecurity.com
Wed Jul 5 03:24:06 CDT 2006


Kenneth Gonsalves wrote:

>
> On 04-Jul-06, at 7:56 PM, ian docherty wrote:
>
>> Hi
>> I have been trying to copy a trac system from one system to  another. 
>> (Linux to Fedora if this is relevent)
>
>
> isnt fedora linux?

lol. I meant to say Redhat to Fedora.

>>
>> I have copied all the trac files and the postgres database from one  
>> machine to another I just can't set up the trac user.
>>
>> On trying to run trac I get the error in my log file:-
>>
>> PythonHandler trac.web.modpython_frontend: OperationalError:  FATAL:  
>> Ident authentication failed for user "trac"\n
>>
>> My pg_hba.conf file contains the following.
>>
>> local   all         trac                              password
>
>
> host all password
> and enable tcp_ip in postgresql config


Thanks, that turned out to be the problem. I now have
host    all         trac        127.0.0.1/32          password

in my config file.

Thanks also to Bryan Dyck and Sergey A. Lipnevich who also gave me this 
answer.

Regards
Ian


More information about the Trac mailing list