fcgiwrap

# systemctl status fcgiwrap -l

● fcgiwrap.service - Simple CGI Server
   Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.service; static)
   Active: inactive (dead) since Thu 2014-07-24 13:01:55 JST; 6min ago
  Process: 15545 ExecStart=/usr/sbin/fcgiwrap (code=exited, status=0/SUCCESS)
 Main PID: 15545 (code=exited, status=0/SUCCESS)

Jul 24 13:01:55 dfx035 fcgiwrap[15545]: Cannot get script name, are DOCUMENT_ROOT and SCRIPT_NAME (or SCRIPT_FILENAME) set and is the script executable?
Jul 24 13:01:55 dfx035 fcgiwrap[15545]: Status: 502 Bad Gateway
Jul 24 13:01:55 dfx035 fcgiwrap[15545]: Content-type: text/plain
Jul 24 13:01:55 dfx035 fcgiwrap[15545]: An error occurred while reading CGI reply (no response received)
# systemctl status fcgiwrap
● fcgiwrap.service - Simple CGI Server
   Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.service; static)
   Active: active (running) since Thu 2014-07-24 13:28:15 JST; 1min 26s ago
 Main PID: 3039 (fcgiwrap)
   CGroup: /system.slice/fcgiwrap.service
           ├─3039 /usr/sbin/fcgiwrap -c 4 -s tcp:127.0.0.1:9999
           ├─3040 /usr/sbin/fcgiwrap -c 4 -s tcp:127.0.0.1:9999
           ├─3041 /usr/sbin/fcgiwrap -c 4 -s tcp:127.0.0.1:9999
           ├─3042 /usr/sbin/fcgiwrap -c 4 -s tcp:127.0.0.1:9999
           └─3043 /usr/sbin/fcgiwrap -c 4 -s tcp:127.0.0.1:9999
# systemctl status fcgiwrap.socket
● fcgiwrap.socket - fcgiwrap Socket
   Loaded: loaded (/usr/lib/systemd/system/fcgiwrap.socket; enabled)
   Active: active (running) since Fri 2014-07-25 07:30:05 JST; 44s ago
   Listen: /run/fcgiwrap.sock (Stream)

設定ファイル
/etc/nginx/nginx.conf

/usr/lib/systemd/system/fcgiwrap.service

/usr/lib/systemd/system/fcgiwrap.socket


Return

Jul/25/2014 AM 08:15