zoukankan      html  css  js  c++  java
  • 解决:Cannot create FIFO file /tmp/passenger.5455/.guard: Permission


    apache使用 Phusion Passenger运行redmine是apache日志错误:
    [Mon Sep 20 22:18:36 2010] [notice] SELinux policy enabled; httpd running as context root:system_r:httpd_t:s0
    [Mon Sep 20 22:18:36 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Mon Sep 20 22:18:36 2010] [error] *** Passenger could not be initialized because of this error: Cannot create FIFO file /tmp/passenger.5455/.guard: Permission denied (13)
    [Mon Sep 20 22:18:36 2010] [notice] Digest: generating secret for digest authentication ...
    [Mon Sep 20 22:18:36 2010] [notice] Digest: done
    [Mon Sep 20 22:18:36 2010] [error] *** Passenger could not be initialized because of this error: Cannot create FIFO file /tmp/passenger.5457/.guard: Permission denied (13)
    [Mon Sep 20 22:18:36 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
    [Mon Sep 20 22:23:11 2010] [notice] caught SIGTERM, shutting down
    问题原因:
    SELinux造成apache没有权限
    解决办法:
    让它不保护apache,在shell中执行:
    setsebool -P httpd_disable_trans 1
  • 相关阅读:
    编译内核开始的小问题Unable to find the Ncurses libraries
    qq for linux Ubuntu 64位兼容
    ubuntu下安装lighttpd
    搭建boa服务器
    INI file and Iniparser
    kernel常用.gitignore配置
    光谱学习
    jump to case label fpermissive
    Qt通用方法及类库5
    Qt通用方法及类库1
  • 原文地址:https://www.cnblogs.com/jifeng/p/1832672.html
Copyright © 2011-2022 走看看