On 05/13/2010 10:52 AM, Doug Reiland wrote:
> It is now working. I took the DBHost entry out of
> /etc/koji-hub/hub.conf. I guess it defaults to localhost.

It doesn't default to localhost, it defaults to None. If you don't pass 
an explicit dbhost when making the database connection then it uses a 
local Unix domain socket to connect. If you specify a hostname, even 
localhost, then it uses a tcp connection (which your postgres server 
might not be configured to accept).

> I had my system name there. I am not sure why it would work/fail
> inconsistently. I have 2 entries in pg_hba.conf, one for localhost and
> one for subnet so maybe subnet is wrong and some times I get lucky it
> is uses the localhost entry.

My working theory is that you did not restart your httpd after updating 
and managed to wind up with some httpd processes running the old code 
and some running the new.
--
buildsys mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Reply via email to