Django无法安装索引?

时间:2014-07-27 21:03:51

标签: python mysql django fedora

尝试将我的django站点迁移到fedora服务器并尝试运行python manage.py syncdb / test时出现以下错误。我该如何着手确定导致这些错误的原因?

ceramic@astro1: ~/tmn_project >> python manage.py test
Creating test database for alias 'default'...
Failed to install index for admin.LogEntry model: (1, "Can't create/write to file '/tmp/ibj971An' (Errcode: 2)")
Failed to install index for auth.Permission model: (1, "Can't create/write to file '/tmp/iboMFLon' (Errcode: 2)")
Failed to install index for auth.Group_permissions model: (1, "Can't create/write to file '/tmp/ibIrTwdn' (Errcode: 2)")
Failed to install index for auth.User_groups model: (1, "Can't create/write to file '/tmp/ib0aTc3m' (Errcode: 2)")
Failed to install index for auth.User_user_permissions model: (1, "Can't create/write to file '/tmp/ibnGiNTm' (Errcode: 2)")
Failed to install index for sessions.Session model: (1, "Can't create/write to file '/tmp/ibABciLm' (Errcode: 2)")
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
Destroying test database for alias 'default'...

该帐户可以访问/ tmp /但没有sudo权限。感谢。

0 个答案:

没有答案