Hmm, I have heard of symbolic links causing problems before, so I'd say it's 
likely that was the cause.

Good know you got it figured out :)

-- 
Pat

On 19/05/2011, at 12:03 PM, Tiago wrote:

> Yes, it was the same user all the time.
> The indexes was also owned by this user.
> 
> But i find a funny behavior, I was placing the indexes over a symbolic
> link (the target was owned by the user),
> when I changed it to a directory it worked.
> Now I've changed it permanently and its all working
> 
> I've done some testing, and I could not conclude that the cause was
> the symbolic link alone. But now at least it's working.
> 
> On May 18, 9:51 pm, Pat Allan <[email protected]> wrote:
>> Hi Tiago
>> 
>> Are you using the same user every time to index and start searchd? And that 
>> user owns the index files?
>> 
>> --
>> Pat
>> 
>> On 18/05/2011, at 11:48 PM, Tiago wrote:> Hello, im having this error:
>> 
>>> $ bundle exec rake thinking_sphinx:index RAILS_ENV=staging
>>> (in /usr/srv/applications/todaela/releases/20110518130722)
>>> Generating Configuration to /usr/srv/applications/todaela/releases/
>>> 20110518130722/files/sphinx/staging.sphinx.conf
>>> Sphinx 1.10-beta (r2420)
>>> Copyright (c) 2001-2010, Andrew Aksyonoff
>>> Copyright (c) 2008-2010, Sphinx Technologies Inc (http://
>>> sphinxsearch.com)
>> 
>>> using config file '/usr/srv/applications/todaela/releases/
>>> 20110518130722/files/sphinx/staging.sphinx.conf'...
>>> indexing index 'image_gallery_core'...
>>> FATAL: failed to lock /usr/srv/applications/todaela/releases/
>>> 20110518130722/db/sphinx/staging/image_gallery_core.spl: Operation not
>>> supported, will not index. Try --rotate option.
>> 
>>> Tryed sphinx 0.9.9, 2.0.1-beta, all the same...
>>> In my machine (macos) it works without problems.
>> 
>>> This error happens when I try to index in the staging server. It's a
>>> freebsd.
>>> I tryed running this with searchd running, without it running, by hand
>>> (using indexer bin) this error pops up all the time.
>> 
>>> It has been 2 days im trying to fix this, and I am without a clue.
>>> There is some posts of ppl with similar errors, but mostly restarted
>>> the machine and it worked. here it didnt.
>> 
>>> Any idea what could cause this?
>>> I tryed removing the files in the db/sphinx/staging/ (there was only
>>> the image_gallery_core.spl) and it still.
>>> Some times it complains about a image_gallery_core.tmp.spl, but It
>>> seems kinda random.
>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Thinking Sphinx" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> For more options, visit this group 
>>> athttp://groups.google.com/group/thinking-sphinx?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to