On 08/18/2009 05:38 AM, lixiao-a wrote:
Hi,
I have a koji server running locally at my workplace.
Recently, I am unable to execute some koji cli commands. I get the following error:
"[kojiadmin@linux-dev koji]$ koji add-user kojira
ServerOffline: database outage",anyone can help me?Thanks.
If you're getting this message, the the hub is unable to connect to the
database (and hence nothing is going to work). Looking at the httpd
error logs might provide a clue as to why. Most likely candidates:
- postgres not running
- bad/missing db config in hub.conf
- postgres not configured to accept the authentication provided by kojihub
- DBHost specified in hub.conf, but postgres not configured to accept
tcp connections.
- network/firewall issues (if db is running elsewhere)