Attempt to write a readonly database - Django w/ SELinux error

后端 未结 8 1873
粉色の甜心
粉色の甜心 2020-12-07 18:32

I have a CentOS server on which I have Apache, Django, Django CMS and mod_wsgi. My Django project files are stored in the /srv directory and I have SELinux tur

8条回答
  •  清歌不尽
    2020-12-07 19:24

    I ran into a similar issue. To check if SELinux is the problem, one can check its running status with

    sestatus
    

    and temporarily disable it with

    setenforce 0
    

    This could at least help to narrow down the problem.

提交回复
热议问题