On 21 oct, 17:28, 邓超 <knifew...@gmail.com> wrote:
> Hi all,
>   I deployed a django app on my laptop, the whole environment is like this:
> the OS is UBUNTU904, the web server is Apache,

If it's only for personal use on a single laptop, setting up Apache is
possibly overkill - you could as well use the builtin dev server.

>  and the database is sqlite3.
> The deployment is success, but  when I try to write some data into the
> database, I get the HTTP 500 error. And I check the error log, it
> shows "*OperationalError:
> unable to open database file*". What does this error mean? If there are some
> operation permission need configure?

Does the Apache process have r/w access on the sqlite DB file ? (on
ubuntu, the user account for Apache is "www-data").


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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