Create Koji How-to

Michael Cronenworth mike at cchtml.com
Fri Feb 5 17:00:48 UTC 2010


Mike McLean wrote:
> Is there anything in the postgres logs?
> /var/lib/pgsql/data/pg_log
>

FATAL:  Ident authentication failed for user "koji"
(my bad, should have checked here earlier)

> You wrote that the command line works. Let's see what happens within
> python. Trying running this in a python shell (as the apache user).
>
> bash-3.2$ python
>   >>>  import koji.db
>   >>>  koji.db.provideDBopts(database = 'koji', user='koji')
>   >>>  koji.db.connect()
>
> What error do you see?

Same as above, so I adjusted my pg_hba.conf file to properly allow local 
(not host) access for koji and apache, and now I see a web interface. 
Thanks!


More information about the buildsys mailing list