Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/316.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Django未能为安装索引?_Python_Mysql_Django_Fedora - Fatal编程技术网

Python Django未能为安装索引?

Python Django未能为安装索引?,python,mysql,django,fedora,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, "Ca

当尝试将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权限。谢谢。

您有读写权限还是只读?|在上授予使用权限。要“陶瓷”@“本地主机”|将
陶瓷_数据库的所有权限授予/tmp/目录的“陶瓷”@“本地主机”,则具有读写权限。