[Openvas-discuss] Openvas-manager broke after adding a new schedule

Russell Jones rjones at eggycrew.com
Mon Jun 18 21:49:58 CEST 2012

I see what happened. After figuring out how to query the db (never 
worked with sqlite before) a task I had in my trash can ended up getting 
tied to this new schedule I added. This resulted in the issue.

May be a good thing to disassociate items that are in the Trashcan from 
ever being activated as far as schedules and tasks go. Once they are in 
the trash, they should be completely disabled  (imho)

Thanks for the help!

On 6/18/2012 3:41 PM, Matthew Mundell wrote:
>> Scared me there for a sec! The "tasks.db" file in mine that actually has
>> data in it is under /var/lib/openvas/mgr. There was an empty one in
>> /var/lib/openvas, thought it had wiped out my db :)
> Sorry yes forgot the mgr.
>> I never even got a chance to tie a task to the schedule entry before it
>> bombed. Any idea what would be in the "schedule" column for one that is
>> set to start at 6:00:00 UTC on the 23rd and repeat every 4 weeks? I
>> can't make any sense out of the single digit numbers that are there for
>> the other tasks.
> I assumed you had tied the task to a schedule because the assertion is
> happening on such a task.  Hard to say what's going wrong.  One of the
> schedules has a first time that comes after the start time for some reason,
> I guess.  Maybe you changed the time on the machine and that broke things?
> The single digit numbers are the row IDs of the task's schedule, from the
> schedules table.
> --
> Greenbone Networks GmbH
> Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
> Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

More information about the Openvas-discuss mailing list