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
  • 相关阅读:
    nodejs
    socket.io
    how to develop mobile web
    nodejs
    GitHub
    angularJS vs backbone
    AngularJS
    oracle 数据库中数据导出到excel
    cocos2d-x中的二段构造模式
    HDOJ 4975 A simple Gaussian elimination problem.
  • 原文地址:https://www.cnblogs.com/jifeng/p/1832672.html
Copyright © 2011-2022 走看看