Cannot use kojiweb or start kojid

Mike McLean mikem at redhat.com
Thu Mar 21 17:09:19 UTC 2013


On 03/21/2013 10:47 AM, Michael Cronenworth wrote:
> After an upgrade from F17 to F18, koji-web returns Internal Server Error
> and kojid will not start.
>
> The Apache log says:
> [Thu Mar 21 09:43:27.114799 2013] [:error] [pid 16669] InternalError:
> FATAL:  Peer authentication failed for user "koji"
>
> I have verified that /var/lib/pgsql/data/pg_hba.conf contains the
> correct entries:
> host    koji        koji        127.0.0.1/32          trust
> host    koji        apache        127.0.0.1/32          trust
> host    koji        koji          ::1/128             trust
> host    koji        apache          ::1/128             trust
> local   koji        apache                            trust
> local   koji        koji                              trust
>
> SELinux is in "permissive" mode.
>
> I can login with the koji user and connect with "psql koji" without a
> problem.
>
> Did something change in F18/koji that I need to fix?

Can you psql to the db as the apache user using the same params that are 
given in your hub.conf?

Both F17 and F18 have koji-1.7.1 in updates. Did anything change in your 
hub.conf file?




More information about the buildsys mailing list