You should be able to set the passenger site user somewhere in passenger's 
configuration, so you can change it to a user you can access.

Otherwise, you may be able to run commands via sudo and state which user the 
commands are run by.

-- 
Pat

On 19/10/2010, at 4:15 PM, thunderz14enator wrote:

> In here i m suffering with the user actually I found out that my
> appliocation is being runned by WWW-DATA user, and rake tasks are
> runned by root, but now i dont know ho to log in www-data user as i
> dont know its password
> 
> On Oct 16, 11:36 am, Pat Allan <[email protected]> wrote:
>> Again, another tricky issue... what does your sphinx.yml look like? I'm 
>> wondering where the production index files are located.
>> 
>> --
>> Pat
>> 
>> On 07/10/2010, at 3:57 PM, thunderz14enator wrote:
>> 
>>> I tried once again his time i did on from both side, i started
>>> performed these tasks from my local machine and i did on server
>>> machine but still the same problem .
>>> I m totally exausted now , i dont know wat to do
>> 
>>> On Oct 5, 1:43 pm, thunderz14enator <[email protected]>
>>> wrote:
>>>> output of
>>>> ls -al /application/foldername:---
>>>> output:-
>>>> lrwxrwxrwx 1 root root 44 2010-10-04 13:00
>> 
>>>> ps aux | grep searchd: --
>>>> output:
>>>> root      9352  0.0  0.1   8760   820 ?        S    06:36   0:00 /usr/
>>>> local/bin/searchd --pidfile --config  /application/foldername/releases/
>>>> 20101004130008/config/production.sphinx.conf
>>>> root      9474  0.0  0.1   3324   780 pts/0    S+   08:41   0:00 grep
>>>> --color=auto searchd
>> 
>>>> On Oct 5, 1:37 pm, Pat Allan <[email protected]> wrote:
>> 
>>>>> What's the output of the following commands:
>> 
>>>>>   ls -al /application/foldername
>>>>>   ps aux | grep searchd
>> 
>>>>> --
>>>>> Pat
>> 
>>>>> On 05/10/2010, at 7:36 PM, thunderz14enator wrote:
>> 
>>>>>> 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 
>>>>>> 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 
>>> 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