root owns the rails app files its like r...@xxxxxxx:~# cd /application/foldername/ *then my app files*
then i ran my rake tasks r...@xxxxxxx:/application/foldername~# rake ts:conf, :index,:start On Oct 5, 12:41 pm, Pat Allan <[email protected]> wrote: > Ideally, you shouldn't be using root for this, but that aside... which user > owns the Rails app files? That's the user that should be running all Thinking > Sphinx rake tasks. (Maybe this is what you're doing - it's just not clear - > and given that access is denied, it seems that *something* isn't running as > root... perhaps Sphinx itself? > > -- > Pat > > On 05/10/2010, at 6:32 PM, thunderz14enator wrote: > > > Hi, > > > My delta indexing is working fine on my local system in both > > devlopment and production mode but when i update it on server where i > > m using Passenger than it is giving me the following error > > > indexing index 'donate_delta'... > > collected 4 docs, 0.0 MB > > sorted 0.0 Mhits, 99.0% done > > total 4 docs, 286 bytes > > total 0.003 sec, 76185 bytes/sec, 1065.53 docs/sec > > total 2 reads, 0.000 sec, 1.6 kb/call avg, 0.0 msec/call avg > > total 7 writes, 0.000 sec, 1.2 kb/call avg, 0.0 msec/call avg > > WARNING: access denied to PID 3163. > > WARNING: indices NOT rotated. > > > my application is stored on root so whenever i run rake > > ts:config ,:index, :start from my local machine .then it run these > > commands on "root" of my server and then the sphinx get started by > > root when i do "ps -elf" on "root" of server it says that sphinx is > > runned by root , I m totally confused that how to start the sphinx by > > app user because all the command are runned on the root. > > > -- > > 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.
