Page 1 of 1
Crash during indexing
Posted: Wed Feb 06, 2002 6:21 am
by b.sims
I have a large walk which apparently finished (it looked at the last specified URL) but which did not properly complete due to a server crash during indexing. If I run remakeindex will this turn the data into a searchable Webinator index?
Crash during indexing
Posted: Wed Feb 06, 2002 9:51 am
by b.sims
Possibly I should mention that the database directory contains a lot of T02752 files with different extensions. I guess these are left over from the processing?
Crash during indexing
Posted: Wed Feb 06, 2002 10:15 am
by mark
The new walk would not have been made "live" yet. Delete the T*.* files. Remakeindex is setup to work on the live database. You could make it work on the new database by changing <db=$dblive> to <db=$dbother> temporarily (don't forget to put it back when you're finished). To then make the new database live you need to update the options table by hand. Assuming the install directory is /usr/local/morph3 and the profile name is "myprofile", run this to find the currently live database:
texis -d /usr/local/morph3/texis/testdb -s "select String from options where Profile='myprofile' and Name='SS_db'"
Look at the returned value. It will end with db1 or db2. You need to change it to the other (eg if it's db1 you need to change it to db2). Use an update statement similar to the following to make the change:
texis -d /usr/local/morph3/texis/testdb -s "update options set String='/mydir/db1' where Profile='myprofile' and Name='SS_db'"
Crash during indexing
Posted: Wed Feb 06, 2002 12:09 pm
by b.sims
Should files like xcatno.btr also be deleted to leave only the tables themselves?
Crash during indexing
Posted: Wed Feb 06, 2002 12:47 pm
by Kai
No, that's a regular index file that should already be completed. The Tnnn* files are temporary files from the Metamorph index(es) that were being created at the time of the crash.