my browser isnot openning irc url, i dont know why. 

thing is, root is running the apache. it means, i should chown root to all 
my files right? 

Am Dienstag, 29. Mai 2012 23:17:19 UTC+2 schrieb Rafael Durán Castañeda:
>
>  El 29/05/12 22:38, doniyor escribió: 
>
> hey thanks, but i still dont get the whole mass. look, i chown all folders 
> untill db file to root. nothing changed, the same error. i did ls -l but i 
> dont see any user named 'www-data', i see the user that i created as 
> superuser when i created the django project. how can i add this superuser 
> to apache user group or something like this. i am actually not a linux 
> guru, so i am really stuck here..  
>   
>
>
> Am Dienstag, 29. Mai 2012 21:59:53 UTC+2 schrieb Rafael Durán Castañeda: 
>>
>>  El 29/05/12 19:07, doniyor escribió: 
>>
>> i did 'top', and then " ps aux | grep apache " to see. the root is 
>> running the apache. what should i do now? chown root folder/dbfile   , 
>> right  ? 
>>
>> Am Dienstag, 29. Mai 2012 17:57:03 UTC+2 schrieb Rafael Durán Castañeda: 
>>>
>>>  El 29/05/12 16:56, doniyor escribió: 
>>>
>>> hey guys, i need your help again,  
>>>
>>>  after successful deployment, i wanted to do something with database 
>>> but it says: 
>>> DatabaseError at /ajax/
>>>
>>> unable to open database file
>>>
>>> because ajax is trying to write something to db. what can be the problem. 
>>> in my settings.py the path is this: 
>>>
>>>  PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
>>>
>>> ...
>>>
>>> 'NAME': os.path.join(PROJECT_PATH, 'stahlbank.db'),
>>>
>>>  i am using sqlite. OS is linux. 
>>>
>>>  thanks 
>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msg/django-users/-/qkkO9dd9C7AJ.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>> I think it's just a permissions problem, did you check the user is 
>>> running apache has access to the database file? Anyway, it would easier 
>>> help you with a full traceback.
>>>
>>> HTH
>>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/wfrNRrc9rSoJ.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>> If you change the Apache user or chown your files is up to you, but 
>> Apache it's not recommended (I think even it's not possible, I'm not an 
>> Apache expert) running as root due to security holes. If you look again 
>> your ps you probably will see something like this:
>>
>> root     29833     1  0 May14 ?        00:00:46   /usr/sbin/apache2 -k 
>> start
>> www-data 15726 29833  0 May27 ?        00:00:00     /usr/sbin/apache2 -k 
>> start
>> www-data 15781 29833  0 May27 ?        00:00:04     /usr/sbin/apache2 -k 
>> start
>> www-data 15782 29833  0 May27 ?        00:00:04     /usr/sbin/apache2 -k 
>> start
>>
>> where the www-data user is running your web application.
>>  
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/django-users/-/zfL0OoG14rcJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
> I think I might help you better live (note as I said I'm not an Apache 
> expert), you can find me (rafaduran) at #django IRC channel, among a lot of 
> more people that probably can help you much better than me.
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/CnnyjgrRaxQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to