[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Koji: ServerOffline



Hi,
The problem isn't related to failed transactions, as I suspected
earlier. However, I restarted postgresql in vain. Then, reinstalled
postgresql to no avail. 

I also, removed and reinstalled koji and reconfigured it, but I still
get the same "ServerOffline" error. I am out of things to do.

Any pointers as to why this might be happening?

Jitesh

On Tue, 2009-01-20 at 16:35 +0530, Jitesh Shah wrote:
> 
> On Tue, 2009-01-20 at 11:26 +0100, Xavier Lamien wrote:
> > On Tue, Jan 20, 2009 at 11:09 AM, Jitesh Shah <jiteshs marvell com> wrote:
> > > Hi,
> > > Yes, I have already double-checked my koji-hub configuration. Both the
> > > DBUser and DBName are correct. Infact, I had been running koji here for
> > > more than a fortnight and it worked like a charm.
> > 
> > did you do any update since ?
> 
> Nope ... didn't update koji!
> > 
> > >
> > > Also, I can connect with to the psql database using the same values as
> > > in DBName and DBUser variables through commandline. So, what might cause
> > > the failure when invoked through python scripts?
> > 
> > Do you also tried to figure out what happen in the DB side when
> > invoked your cmd-line ?
> > 
> 
> As I mentioned earlier, it works fine through commandline!
> 
> Update: 
> I suspect that the issue is related to failed transactions. 
> The file /usr/share/koji-hub/kojixmlrpc.py suggests that the
> koji.db.connect fails. 
> I had been running koji-shadow script and it failed mysteriously. I see
> this "ServerOffline: Database outage" message from that point on. I
> think the rollback() in koji.db.connect fails due to some not-yet-known
> reason. I am looking into it further.
> 
> Jitesh
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]