Pat Fitzpatrick wrote: > had my local linux box setup and ferret was working like a champ via > Webrick. > However, when I moved to a different linux box using Apache web server, > search no worky..giving the error listed below. The site itself comes up > fine. > I've tried deleting all the dirs under /index and restarted the > webserver to see if re-indexing would help, but that made matters worse. > Re-indexing didn't work ie didn't produce any of the normal subdirs > under /index like it usually does.
It looks like you have a rails app. Does the user running rails have write permissions on the index directory? Make sure the index directory and subdirectories is owned by that user, or at least that that user has write permission (as well as read and execute). Ferrent is attempting to write a lock file in your index directory before it searches, and the write fails. The write fails in the c code under ensure_reader_open at lib/ferret/index.rb:673 ([EMAIL PROTECTED]). The c code raises a LOCK_ERROR exception, but the exception is not caught because it is undefined in this scope (lib/ferret/index.rb:674). ActiveSupport attempts to load a non-existent file lock_error.rb to resolve this missing constant, but it fails You will get similar errors if you attempt to save a record. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

