Hi Carl

Not sure if it should be considered a bug for Sphinx - it's operated  
as a particular user, but delta indexing is operated by the web user  
(as you've found). Best approach is definitely to have Sphinx always  
running as the web user (though other suggestions from people who  
understand Unix file permissions better than I are welcome).

Cheers

-- 
Pat

On 25/07/2009, at 9:02 PM, Carl Tashian wrote:

>
> I've been having issues with Capistrano, Passenger, Sphinx, and TS
> playing well together. I have a deploy user that capistrano
> thinking_sphinx tasks run as. So searchd runs as my deploy user.
> Meanwhile, when I setup the system, deprec made a user to run
> Passenger as. And, of course, apache is running as the www-data user
> (which shouldn't impact anything Rails-related, afaik).
>
> So maybe I've got too many users here. Search itself works fine, but
> deltas do not. Whenever i add a record, I get this in my apache error
> log:
>
> cat: /web/myapp/releases/20090725042331/log/searchd.production.pid:
> Permission denied
>
> Understandable, since searchd and Passenger are under two separate
> users. I guess my question is, is this a bigger bug with the
> interoperability of these systems?
>
> And, is the best approach from here to change the TS Capistrano tasks
> to run searchd as my Passenger user?
>
> best,
> Carl Tashian
>
> >


--~--~---------~--~----~------------~-------~--~----~
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