[Spacewalk-list] Repos listed multiple times

Anoop Bhat ABhat at trustwave.com
Fri May 14 00:49:56 UTC 2010


It seems that the restart did infact rebuild the repo cache the first time I restarted it.

I added a new rpm to the repo and taskomatic didn't seem to pick up the task from rhnTaskQueue until I restarted it again.

I'll add another rpm shortly and let it sit overnight to see if the task is picked up.

Is taskomatic set to check the database at an interval? If so, what is that interval?

Thanks again for all the help.

Anoop

________________________________
From: Anoop Bhat <ABhat at trustwave.com>
Reply-To: <spacewalk-list at redhat.com>
Date: Thu, 13 May 2010 17:34:09 -0500
To: <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Repos listed multiple times

Joshua,

Thank you.

I did exactly that and things seem to look good. I'm going to see if it rebuilds the cache shortly.

At least taskomatic started up without errors and established connections to the db.

Thanks for all the help

Anoop



________________________________
From: Joshua Roys <joshua.roys at gtri.gatech.edu>
Reply-To: <spacewalk-list at redhat.com>
Date: Thu, 13 May 2010 12:27:26 -0500
To: <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Repos listed multiple times

On 05/13/2010 12:19 PM, Anoop Bhat wrote:
> INFO   | jvm 2    | 2010/04/24 22:59:00 | java.lang.IllegalArgumentException: attempt to create delete event with null entity
> INFO   | jvm 2    | 2010/04/24 22:59:00 |       at org.hibernate.event.DeleteEvent.<init>(DeleteEvent.java:24)
> INFO   | jvm 2    | 2010/04/24 22:59:00 |       at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:744)
> INFO   | jvm 2    | 2010/04/24 22:59:00 |       at com.redhat.rhn.domain.task.TaskFactory.removeTask(TaskFactory.java:93)
> INFO   | jvm 2    | 2010/04/24 22:59:00 |       at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:69)
> INFO   | jvm 2    | 2010/04/24 22:59:00 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
> INFO   | jvm 2    | 2010/04/24 22:59:00 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Someone else on the list was having this same problem- you will probably
have to clear the taskomatic queue in the oracle db first.

Do this in sqlplus:
SQL> delete from rhnTaskQueue ;
^D

And then start up taskomatic.  Keep an eye on the logs and see if it
starts working.

Josh




_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list







More information about the Spacewalk-list mailing list