Would you like to disable the selftest?  I hate this solution, but we are 
pretty certain you don't really have any inconsistencies and you have put a lot 
of work into this.

If so, edit fossology/scheduler/selftest.c  around line 306 you will see:

  /* Check for good agents */
  if (SelfTest())
    {
    LogPrint("FATAL: Self Test failed.  Inconsistent agent(s) detected.  
Exiting. \n");
    DBclose(DB);
    exit(-1);
    }

Add ifdef's around it, like:

#ifdef DISABLESELFTEST
  /* Check for good agents */
  if (SelfTest())
    {
    LogPrint("FATAL: Self Test failed.  Inconsistent agent(s) detected.  
Exiting. \n");
    DBclose(DB);
    exit(-1);
    }
#endif

Then do a make and copy the executable to where you have it installed 
(/usr/lib/fossology or /usr/local/lib/fossology).  Make sure the permissions 
match the old version.

Bob

_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to