[BlueOnyx:03062] Re: CCED problem?

Michael Stauber mstauber at blueonyx.it
Wed Dec 9 17:42:36 -05 2009


Hi Jason,

> Posted too soon, I found the error. The output is;
>
> 1-448,450-456,459-505,507-594,596,598,600,604-609,620-621,623-641,645,647,6
>52,656-658,669-674,697,699,701
>
> /usr/sausalito/codb/codb.oids reports:
> 1-447,450-456,459-505,508-590,604-609,620-621,623-640,645,647,652,656-658,6
>69-674,697,699,701

Ok, it appears that the following CODB objects are causing conflicts:

/usr/sausalito/codb/objects/448
/usr/sausalito/codb/objects/507
/usr/sausalito/codb/objects/591
/usr/sausalito/codb/objects/592
/usr/sausalito/codb/objects/593
/usr/sausalito/codb/objects/594
/usr/sausalito/codb/objects/596
/usr/sausalito/codb/objects/597
/usr/sausalito/codb/objects/598
/usr/sausalito/codb/objects/600
/usr/sausalito/codb/objects/641

They are physically present on the file system, but are not listed in 
/usr/sausalito/codb/codb.oids, which lists all the CODB objects that CODB 
"knows" about.

At this point I'd suggest to (re)move those objects. To safely do so, do this, 
one would do this (but read on before you actually do it!):

/etc/init.d/crond stop
/etc/init.d/cced.init stop
rm -R /usr/sausalito/codb/objects/448
rm -R /usr/sausalito/codb/objects/507
rm -R /usr/sausalito/codb/objects/591
rm -R /usr/sausalito/codb/objects/592
rm -R /usr/sausalito/codb/objects/593
rm -R /usr/sausalito/codb/objects/594
rm -R /usr/sausalito/codb/objects/596
rm -R /usr/sausalito/codb/objects/597
rm -R /usr/sausalito/codb/objects/598
rm -R /usr/sausalito/codb/objects/600
rm -R /usr/sausalito/codb/objects/641
/etc/init.d/crond start
/etc/init.d/cced.init start

BUT (!!!): At the time I write this your CODB objects might already have seen 
some changes. So to be safe, do this:

First of all we create a backup copy of /usr/sausalito/codb/ and everything 
within:

/etc/init.d/crond stop
/etc/init.d/cced.init stop
tar czvf /root/codb.tar.gz /usr/sausalito/codb/

Then run the script again that you created earlier. Compare the first set of 
numbers with the second one. Delete any numbered directory in 
/usr/sausalito/codb/objects/ that doesn't show up in the 2nd set of numbers 
that the script reported. Afterwards restart crond and cced.init.

That should fix it. Just be REALLY sure you do not delete any numbered 
directory that's listed in /usr/sausalito/codb/codb.oids, as that will have 
ill side effects.

If this sounds too complicated, or you're worried that you may break 
something, then please contact me offlist and I'll do it for you.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list