Mike McLean wrote:
> Taking your command literally, I assume that postgres is running on the
> same host.

It is.

>
> If you intend to connect to postgres locally (not over tcp) as "psql
> koji" would, then you must/not/  set DBHost in hub.conf. If there is a
> value for that option (even localhost) then the pgdb lib will try to
> connect over tcp, which your server may not be configured to allow.

I had DBHost set to 127.0.0.1, but commenting that out results in no 
change. I still get

$ koji add-user test
ServerOffline: database outage

Here's my current config inside of /etc/koji-hub/hub.conf
[hub]

## Basic options ##
DBName = koji
DBUser = koji
#DBHost = 127.0.0.1
#DBPass = example_password
KojiDir = /mnt/koji

Yes, I restarted httpd.
--
buildsys mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Reply via email to