Setting up Koji question - postgres

john maclean jayeola.list.mail at
Sat Jun 2 08:46:11 UTC 2012

On 06/02/2012 09:14 AM, Dan Horák wrote:
> john maclean píše v So 02. 06. 2012 v 06:07 +0100:
>> Setting up a private koji server. The keys and certs have been set up. Stuck at psql stage. This command always bombs.
>> command
>> psql koji koji<   /usr/share/doc/koji*/docs/schema.sql
>> first this file is elsewhere
>> find / -iname '*schema.sql*' 2>/dev/null
>> /usr/share/pgsql/information_schema.sql
> you really shouldn't play with information_schema.sql, it's PostgreSQL
> internal file
> as it seems the koji sql files are not packaged you must get them from
> the koji source package
> Dan

So it's best to get all of the koji-related packages from git?

Anyways. I installed postgres-devel and that command now seems to work.

Another hurdle now. This system is set up for ssl but it appears that 
it's still looking for a password.

Starting kojid: Traceback (most recent call last):
   File "/usr/sbin/kojid", line 2873, in <module>
   File "/usr/lib/python2.6/site-packages/koji/", line 1564, 
in login
     sinfo = self.callMethod('login',self.opts['user'], 
KeyError: 'password'

More information about the devel mailing list