Crash during indexing

Post Reply
b.sims
Posts: 99
Joined: Fri Oct 26, 2001 10:40 am

Crash during indexing

Post 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?
b.sims
Posts: 99
Joined: Fri Oct 26, 2001 10:40 am

Crash during indexing

Post 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?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Crash during indexing

Post 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'"
b.sims
Posts: 99
Joined: Fri Oct 26, 2001 10:40 am

Crash during indexing

Post by b.sims »

Should files like xcatno.btr also be deleted to leave only the tables themselves?
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Crash during indexing

Post 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.
Post Reply