Create Koji How-to
Michael Cronenworth
mike at cchtml.com
Thu Feb 4 22:12:54 UTC 2010
Mike Bonnet wrote:
> Have you edited /var/lib/pgsql/data/pg_hba.conf to allow the "apache"
> user to connect to the "koji" database? The configuration needs to be
> at or near the top of that file, before the default config.
Yes, I even temporary logged into the apache user and ran "psql koji"
and it connected me to the database. I still get "ServerOffline" in
kojiweb and koji CLI:
# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: root/admin at XX.COM
Valid starting Expires Service principal
02/04/10 15:58:53 02/05/10 15:58:53 krbtgt/XX.COM at XX.COM
02/04/10 15:59:01 02/05/10 15:58:53 host/localhost.xx.com at XX.COM
Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached
# koji add-user test
ServerOffline: database outage
The koji admin user is set to principle "root/admin at XX.COM" in the SQL
database.
More information about the buildsys
mailing list