Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/20.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
Django 石墨罐';找不到auth_user.frm_Django_Graphite - Fatal编程技术网

Django 石墨罐';找不到auth_user.frm

Django 石墨罐';找不到auth_user.frm,django,graphite,Django,Graphite,我在CentOS 7上运行了graphite 0.10.0。我让屏幕填充,数据从Icinga导入,但是,当我去添加一个新用户时,我遇到了一个错误,现在graphite不会在Apache中启动。我得到的错误很长,但密钥似乎是: OperationalError: (1017, "Can't find file: './graphite/auth_user.frm' (errno: 13)") 回溯的头部是: mod_wsgi (pid=7002): Target WSGI script '/u

我在CentOS 7上运行了graphite 0.10.0。我让屏幕填充,数据从Icinga导入,但是,当我去添加一个新用户时,我遇到了一个错误,现在graphite不会在Apache中启动。我得到的错误很长,但密钥似乎是:

OperationalError: (1017, "Can't find file: './graphite/auth_user.frm' 
(errno: 13)")
回溯的头部是:

mod_wsgi (pid=7002): Target WSGI script '/usr/share/graphite/graphite-web.wsgi' 
cannot be loaded as Python module.
[Thu Dec 29 21:30:48.254942 2016] [:error] [pid 7002] [client 172.72.77.141:52770] 
mod_wsgi (pid=7002): Exception occurred processing WSGI script
 '/usr/share/graphite/graphite-web.wsgi'.
我知道该文件存在于
/var/lib/mysql/graphite/
中,apache拥有权限。我在
local\u settings.py
中将
STORAGE\u DIR
修改为
/var/lib/mysql/graphite
,但我不确定这是否是正确的变量


是否有人知道要修复的变量,或者哪些变量可能不正确?

今天早上离开并回来后,我发现了问题。graphite数据库属于Apache,它应该是MySQL,我不确定它是什么时候被更改的,我一定是在什么地方误读了一条指令,但错误实际上是由MariaDB抛出的,将所有者更改回来立即解决了问题