I can't find the reson of this error ,maybe about php-fpm?

Today , my local web http://192.168.1.140/ can’t be visited , but it can
visit html file , just can’t visit php file.
so i think it is php problem.
I do not did any change about the nginx.conf and php-fpm.conf , and I
look up the log, but i can’t find this reson.
even i restart the php-fpm and niginx, it can’t either. I install the
php and it also can’t visit php file…please give me some advice.

this is my nginx.conf
user nobody;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
fastcgi_connect_timeout 3000s;
fastcgi_send_timeout 3000s;
fastcgi_read_timeout 3000s;

server {
    listen       80;
    server_name  192.168.1.140;

    charset gb2312;
    location / {
        root   /home/httpd;
        index  index.html index.htm index.php;
    }

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }
    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9001;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME 

/home/httpd/$fastcgi_script_name;
include fastcgi_params;
}

    location /NginxStatus {
         stub_status             on;
         auth_basic              "NginxStatus";
         auth_basic_user_file  htpasswd;
     }
}

}

my php-fpm.conf

<?xml version="1.0" ?>
    All relative paths in this config are relative to php's install 

prefix

    <section name="global_options">

            Pid file
            <value 

name=“pid_file”>/usr/local/php/logs/php-fpm.pid

            Error log file
            <value 

name=“error_log”>/usr/local/php/logs/php-fpm.log

            Log level
            <value name="log_level">notice</value>

            When this amount of php processes exited with SIGSEGV or 

SIGBUS …
10

            ... in a less than this interval of time, a graceful 

restart will be initiated.
Useful to work around accidental curruptions in
accelerator’s shared memory.
1m

            Time limit on waiting child's reaction on signals from 

master
5s

            Set to 'no' to debug fpm
            <value name="daemonize">yes</value>

    </section>
     <workers>

            <section name="pool">

                    Name of pool. Used in logs and stats.
                    <value name="name">default</value>

                    Address to accept fastcgi requests on.
                    Valid syntax is 'ip.ad.re.ss:port' or just 

‘port’ or ‘/path/to/unix/socket’
127.0.0.1:9001

                    <value name="listen_options">

                            Set listen(2) backlog
                            <value name="backlog">-1</value>

                            Set permissions for unix socket, if one 

used.
In Linux read/write permissions must be
set in order to allow connections from web server.
Many BSD-derrived systems allow
connections regardless of permissions.


0666

Additional php.ini defines, specific to this pool of workers.



                    Unix user of processes
                    <value name="user">nobody</value>

                    Unix group of processes
                    <value name="group">nobody</value>

                    Process manager settings
                    <value name="pm">

                            Sets style of controling worker process 

count.
Valid values are ‘static’ and
‘apache-like’
apache-like

                            Sets the limit on the number of 

simultaneous requests that will be served.
Equivalent to Apache MaxClients
directive.
Equivalent to PHP_FCGI_CHILDREN
environment in original php.fcgi
Used with any pm_style.
5
Settings group for ‘apache-like’ pm style

                                    Sets the number of server 

processes created on startup.
Used only when ‘apache-like’
pm_style is selected
20

                                    Sets the desired minimum number 

of idle server processes.
Used only when ‘apache-like’
pm_style is selected
5

                                    Sets the desired maximum number 

of idle server processes.
Used only when ‘apache-like’
pm_style is selected
35

                            </value>

                    </value>

The timeout (in seconds) for serving a single request after which the
worker process will be terminated
Should be used when ‘max_execution_time’ ini
option does not stop script execution for some reason
‘0s’ means ‘off’
0s

                    The timeout (in seconds) for serving of single 

request after which a php backtrace will be dumped to slow.log file
‘0s’ means ‘off’
0s

                    The log file for slow requests
                    <value name="slowlog">logs/slow.log</value>

                    Set open file desc rlimit
                    <value name="rlimit_files">1024</value>

                    Set max core size rlimit
                    <value name="rlimit_core">0</value>

                    Chroot to this directory at the start, absolute 

path

                    Chdir to this directory at the start, absolute 

path

Redirect workers’ stdout and stderr into main
error log.
If not set, they will be redirected to
/dev/null, according to FastCGI specs
yes

                    How much requests each process should execute 

before respawn.
Useful to work around memory leaks in 3rd party
libraries.
For endless request processing please specify 0
Equivalent to PHP_FCGI_MAX_REQUESTS
500

                    Comma separated list of ipv4 addresses of 

FastCGI clients that allowed to connect.
Equivalent to FCGI_WEB_SERVER_ADDRS environment
in original php.fcgi (5.2.2+)
Makes sense only with AF_INET listening socket.
127.0.0.1

                    Pass environment variables like LD_LIBRARY_PATH
                    All $VARIABLEs are taken from current 

environment

$HOSTNAME
/usr/local/bin:/usr/bin:/bin
/tmp
/tmp
/tmp
$OSTYPE
$MACHTYPE
2

            </section>

    </workers>

my php-fpm.log

Mar 09 16:05:45.364883 [NOTICE] fpm_got_signal(), line 56: received
SIGTERM
Mar 09 16:05:45.407920 [NOTICE] fpm_pctl(), line 256: switching to
‘terminating’ state
Mar 09 16:05:45.416437 [NOTICE] fpm_pctl_kill_all(), line 172: sending
signal 15 SIGTERM to child 17549 (pool default)
Mar 09 16:05:45.416462 [NOTICE] fpm_pctl_kill_all(), line 172: sending
signal 15 SIGTERM to child 17548 (pool default)
Mar 09 16:05:45.416481 [NOTICE] fpm_pctl_kill_all(), line 172: sending
signal 15 SIGTERM to child 17547 (pool default)
Mar 09 16:05:45.416501 [NOTICE] fpm_pctl_kill_all(), line 172: sending
signal 15 SIGTERM to child 17546 (pool default)
Mar 09 16:05:45.416520 [NOTICE] fpm_pctl_kill_all(), line 172: sending
signal 15 SIGTERM to child 17545 (pool default)
Mar 09 16:05:45.416537 [NOTICE] fpm_pctl_kill_all(), line 181: 5
children are still alive
Mar 09 16:05:45.416558 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Mar 09 16:05:45.416641 [WARNING] fpm_children_bury(), line 215: child
17545 (pool default) exited on signal 15 SIGTERM after 944695.042074 sec
onds from start
Mar 09 16:05:45.416708 [WARNING] fpm_children_bury(), line 215: child
17546 (pool default) exited on signal 15 SIGTERM after 944695.041066 sec
onds from start
Mar 09 16:05:45.416758 [WARNING] fpm_children_bury(), line 215: child
17547 (pool default) exited on signal 15 SIGTERM after 944695.039829 sec
onds from start
Mar 09 16:05:45.416807 [WARNING] fpm_children_bury(), line 215: child
17548 (pool default) exited on signal 15 SIGTERM after 944695.038579 sec
onds from start
Mar 09 16:05:45.416867 [WARNING] fpm_children_bury(), line 215: child
17549 (pool default) exited on signal 15 SIGTERM after 944695.037191 sec
onds from start
Mar 09 16:05:45.416900 [NOTICE] fpm_pctl_exit(), line 81: exiting,
bye-bye!
Mar 13 09:24:41.048024 [NOTICE] fpm_unix_init_main(), line 284:
getrlimit(nofile): max:1024, cur:1024
Mar 13 09:24:41.057005 [NOTICE] fpm_event_init_main(), line 88:
libevent: using epoll
Mar 13 09:24:41.089157 [NOTICE] fpm_init(), line 52: fpm is running, pid
26696
Mar 13 09:24:41.090788 [NOTICE] fpm_children_make(), line 352: child
26697 (pool default) started
Mar 13 09:24:41.091986 [NOTICE] fpm_children_make(), line 352: child
26698 (pool default) started
Mar 13 09:24:41.093366 [NOTICE] fpm_children_make(), line 352: child
26699 (pool default) started
Mar 13 09:24:41.095083 [NOTICE] fpm_children_make(), line 352: child
26700 (pool default) started
Mar 13 09:24:41.096080 [NOTICE] fpm_children_make(), line 352: child
26701 (pool default) started
Mar 13 09:24:41.096137 [NOTICE] fpm_event_loop(), line 107: libevent:
entering main loop
Mar 24 11:56:30.044452 [NOTICE] fpm_unix_init_main(), line 284:
getrlimit(nofile): max:1024, cur:1024
Mar 24 11:56:30.052859 [NOTICE] fpm_event_init_main(), line 88:
libevent: using epoll

my nginx error.log

2010/06/02 14:36:39 [error] 24681#0: *4099 connect() failed (110:
Connection timed out) while connecting to upstream, client:
192.168.1.19, server: 192.168.1.140, request: “GET / HTTP/1.1”,
upstream: “fastcgi://127.0.0.1:9000”, host: “192.168.1.140”
2010/06/02 14:40:27 [error] 24709#0: *4103 connect() failed (110:
Connection timed out) while connecting to upstream, client:
192.168.1.19, server: 192.168.1.140, request: “GET / HTTP/1.1”,
upstream: “fastcgi://127.0.0.1:9001”, host: “192.168.1.140”
2010/06/02 14:46:06 [error] 24709#0: *4105 connect() failed (110:
Connection timed out) while connecting to upstream, client:
192.168.1.19, server: 192.168.1.140, request: “GET / HTTP/1.1”,
upstream: “fastcgi://127.0.0.1:9001”, host: “192.168.1.140”
2010/06/02 14:57:29 [error] 24709#0: *4107 connect() failed (110:
Connection timed out) while connecting to upstream, client:
192.168.1.19, server: 192.168.1.140, request: “GET / HTTP/1.1”,
upstream: “fastcgi://127.0.0.1:9001”, host: “192.168.1.140”

my nginx access.log

192.168.1.19 - - [02/Jun/2010:14:36:39 +0800] “GET / HTTP/1.1” 502 383
“-” “Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)”
192.168.1.19 - - [02/Jun/2010:14:39:40 +0800] “GET / HTTP/1.1” 499 0 “-”
“Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)”
192.168.1.19 - - [02/Jun/2010:14:40:27 +0800] “GET / HTTP/1.1” 502 383
“-” “Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)”
192.168.1.19 - - [02/Jun/2010:14:46:06 +0800] “GET / HTTP/1.1” 502 383
“-” “Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)”
192.168.1.19 - - [02/Jun/2010:14:57:29 +0800] “GET / HTTP/1.1” 502 383
“-” “Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)”
192.168.1.19 - - [02/Jun/2010:15:02:25 +0800] “GET /test.html HTTP/1.1”
304 0 “-” “Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0)”
192.168.1.19 - - [02/Jun/2010:15:02:26 +0800] “GET /test.html HTTP/1.1”
304 0 “-” “Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0)”

Posted at Nginx Forum:

and visit http://192.168.1.140/index.php the result is:
The page you are looking for is temporarily unavailable.
Please try again later.

Posted at Nginx Forum:

2010/6/2 ultrawind [email protected]:

and visit http://192.168.1.140/index.php the result is:
The page you are looking for is temporarily unavailable.
Please try again later.

can you connect to 127.0.0.1 port 9001 from your server ?

aka telnet localhost 9001

my conf default post is 9000, i turn it to 9001 just now , i think it is
the port problem , but it is not.

Posted at Nginx Forum:

2010/6/2 ultrawind [email protected]:

my conf default post is 9000, i turn it to 9001 just now , i think it is the port problem , but it is not.

did you try to telnet localhost to port 9001 to check your FPM
instnance is responding ?

telnet localhost 9000

Trying 127.0.0.1…
telnet: connect to address 127.0.0.1: Connection timed out
telnet: Unable to connect to remote host: Connection timed out

telnet localhost 9001
Trying 127.0.0.1…
telnet: connect to address 127.0.0.1: Connection timed out
telnet: Unable to connect to remote host: Connection timed out

is it my iptables problem?

Posted at Nginx Forum:

output of the following please:

netstat -ntop
iptables -L -n -v -x

Thanks,
Payam

#telnet localhost 80
Trying 127.0.0.1…
telnet: connect to address 127.0.0.1: Connection timed out
telnet: Unable to connect to remote host: Connection timed out

i telnet 80 port,it also can’t work.

Posted at Nginx Forum:

netstat -ntop
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name Timer
tcp 0 160 ::ffff:192.168.1.140:22 ::ffff:192.168.1.19:1353
ESTABLISHED 24485/0 on (0.21/0/0)
#iptables -L -n -v -x

9 684 ACCEPT all – lo * 0.0.0.0/0
0.0.0.0/0
7919921 11851079263 ACCEPT all – * * 0.0.0.0/0
0.0.0.0/0 state RELATED,ESTABLISHED
30 1800 ACCEPT tcp – * * 0.0.0.0/0
0.0.0.0/0 tcp dpt:80
5 304 ACCEPT tcp – * * 0.0.0.0/0
0.0.0.0/0 tcp dpt:22
98 16966 ACCEPT all – * * 192.168.1.2
0.0.0.0/0 MAC 00:13:20:F4:BD:5D
129 16721 ACCEPT all – * * 192.168.1.3
0.0.0.0/0 MAC 00:15:F2:8B:BC:3D
0 0 ACCEPT all – * * 192.168.1.4
0.0.0.0/0 MAC 00:01:6C:F3:48:8C
92 14982 ACCEPT all – * * 192.168.1.5
0.0.0.0/0 MAC 00:19:21:03:23:90
204 22275 ACCEPT all – * * 192.168.1.6
0.0.0.0/0 MAC 00:21:27:99:CA:D6
272 28772 ACCEPT all – * * 192.168.1.7
0.0.0.0/0 MAC 00:E0:4C:E2:DF:B3
206 23552 ACCEPT all – * * 192.168.1.8
0.0.0.0/0 MAC 00:16:EC:ED:BF:AB

346 45332 ACCEPT all – * * 192.168.1.214
0.0.0.0/0 MAC 00:1C:F1:01:8E:B9
0 0 ACCEPT all – * * 192.168.1.215
0.0.0.0/0 MAC 00:EA:01:1D:84:90
0 0 ACCEPT all – * * 192.168.1.216
0.0.0.0/0 MAC 00:16:EC:0A:3E:4E
0 0 ACCEPT all – * * 192.168.1.217
0.0.0.0/0 MAC 00:1C:F1:01:8E:B6
0 0 ACCEPT all – * * 192.168.1.218
0.0.0.0/0 MAC 00:26:6C:38:3C:7E
0 0 ACCEPT all – * * 192.168.1.219
0.0.0.0/0 MAC 00:26:22:CA:A6:12
219 22298 ACCEPT all – * * 192.168.1.220
0.0.0.0/0 MAC 00:1C:F1:01:8D:5F
47 7916 ACCEPT all – * * 192.168.1.223
0.0.0.0/0 MAC 00:16:D4:48:73:45
0 0 ACCEPT all – * * 192.168.1.224
0.0.0.0/0 MAC 00:01:4A:18:C2:CB
0 0 ACCEPT all – * * 192.168.1.226
0.0.0.0/0 MAC 00:60:DF:31:02:53
0 0 ACCEPT all – * * 192.168.1.227
0.0.0.0/0 MAC 00:01:6C:E7:4F:B7
100 15646 ACCEPT all – * * 192.168.1.228
0.0.0.0/0 MAC 00:EA:01:24:8D:5E
72 13308 ACCEPT all – * * 192.168.1.229
0.0.0.0/0 MAC 00:26:9E:93:C9:A8
3400 390000 ACCEPT all – * * 192.168.1.230
0.0.0.0/0 MAC 00:1C:F1:01:DA:97
0 0 ACCEPT all – * * 192.168.1.231
0.0.0.0/0 MAC 00:22:68:13:D0:95
243 35982 ACCEPT all – * * 192.168.1.232
0.0.0.0/0 MAC 00:21:27:9A:07:9C
106 16780 ACCEPT all – * * 192.168.1.233
0.0.0.0/0 MAC 00:0B:2F:25:F5:C3
0 0 ACCEPT all – * * 192.168.1.235
0.0.0.0/0 MAC 00:1A:4D:86:6D:25
160 27586 ACCEPT all – * * 192.168.1.236
0.0.0.0/0 MAC 00:A0:D1:85:53:81
136 25802 ACCEPT all – * * 192.168.1.237
0.0.0.0/0
82 14852 ACCEPT all – * * 192.168.1.238
0.0.0.0/0
82 14852 ACCEPT all – * * 192.168.1.239
0.0.0.0/0
181 20444 ACCEPT all – * * 192.168.1.240
0.0.0.0/0 MAC 00:0A:E6:95:F7:66
171 20005 ACCEPT all – * * 192.168.1.241
0.0.0.0/0 MAC 00:15:58:BE:C4:C3
0 0 ACCEPT all – * * 192.168.1.242
0.0.0.0/0
0 0 ACCEPT all – * * 192.168.1.243
0.0.0.0/0
144 17776 ACCEPT all – * * 192.168.1.245
0.0.0.0/0 MAC 00:16:EC:BD:C7:75
169 21062 ACCEPT all – * * 192.168.1.246
0.0.0.0/0 MAC 00:1B:22:02:D3:B1
0 0 ACCEPT all – * * 192.168.1.247
0.0.0.0/0 MAC 00:EA:01:1C:3C:B4
188 21510 ACCEPT all – * * 192.168.1.249
0.0.0.0/0 MAC 00:EA:01:24:CA:41
0 0 ACCEPT all – * * 192.168.1.250
0.0.0.0/0 MAC C8:0A:A9:46:CC:2C
0 0 ACCEPT all – * * 192.168.1.251
0.0.0.0/0 MAC 00:0D:87:78:FF:51
0 0 ACCEPT all – * * 192.168.1.252
0.0.0.0/0 MAC 00:1C:F1:02:15:F8
0 0 ACCEPT all – * * 192.168.1.254
0.0.0.0/0 MAC 00:14:38:E0:CD:6F

Chain FORWARD (policy DROP 9820 packets, 517290 bytes)
pkts bytes target prot opt in out source
destination
14836 2451481 DROP all – * * 0.0.0.0/0
0.0.0.0/0 ipp2p v0.8.2 --kazaa --edk --bit
68172307 41884896016 ACCEPT all – * * 0.0.0.0/0
0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT all – * * 192.168.1.2
0.0.0.0/0 MAC 00:13:20:F4:BD:5D
17346 822038 ACCEPT all – * * 192.168.1.3
0.0.0.0/0 MAC 00:15:F2:8B:BC:3D
0 0 ACCEPT all – * * 192.168.1.4
0.0.0.0/0 MAC 00:01:6C:F3:48:8C
4142 268889 ACCEPT all – * * 192.168.1.5
0.0.0.0/0 MAC 00:19:21:03:23:90
9612 474556 ACCEPT all – * * 192.168.1.6
0.0.0.0/0 MAC 00:21:27:99:CA:D6
5619 366734 ACCEPT all – * * 192.168.1.7
0.0.0.0/0 MAC 00:E0:4C:E2:DF:B3
3332 203284 ACCEPT all – * * 192.168.1.8
0.0.0.0/0 MAC 00:16:EC:ED:BF:AB
6544 418715 ACCEPT all – * * 192.168.1.9
0.0.0.0/0 MAC 00:19:21:BA:87:2C
0 0 ACCEPT all – * * 192.168.1.10
0.0.0.0/0 MAC 00:19:21:06:E5:50
18683 896615 ACCEPT all – * * 192.168.1.11
0.0.0.0/0 MAC 00:16:EC:ED:C3:04
7756 503660 ACCEPT all – * * 192.168.1.12
0.0.0.0/0 MAC 00:15:F2:8B:5E:47
11355 704174 ACCEPT all – * * 192.168.1.13
0.0.0.0/0 MAC 00:16:EC:DE:B8:E2
23824 1518754 ACCEPT all – * * 192.168.1.14
0.0.0.0/0 MAC 00:1B:22:02:A6:F7
3767 207327 ACCEPT all – * * 192.168.1.15
0.0.0.0/0 MAC 00:16:EC:ED:C2:50
1533 88686 ACCEPT all – * * 192.168.1.16
0.0.0.0/0 MAC 00:1A:92:49:2F:B5
0 0 ACCEPT all – * * 192.168.1.17
0.0.0.0/0 MAC 00:0B:2F:41:15:CC
6545 376084 ACCEPT all – * * 192.168.1.18
0.0.0.0/0 MAC 00:19:21:05:18:F6
5856 452926 ACCEPT all – * * 192.168.1.19
0.0.0.0/0 MAC 00:15:58:C1:6A:16
3265 216822 ACCEPT all – * * 192.168.1.20
0.0.0.0/0 MAC 00:16:EC:00:0A:58

0 0 ACCEPT all – * * 192.168.1.105
0.0.0.0/0 MAC 00:19:21:BA:8F:4F
0 0 ACCEPT all – * * 192.168.1.108
0.0.0.0/0 MAC 00:E0:4C:03:82:1D
9342 1041912 ACCEPT all – * * 192.168.1.110
0.0.0.0/0 MAC 00:E0:4C:03:BB:4C
0 0 ACCEPT all – * * 192.168.1.111
0.0.0.0/0 MAC 00:1F:C6:33:7A:FD
0 0 ACCEPT all – * * 192.168.1.112
0.0.0.0/0 MAC 00:15:58:1C:26:4B
56 3515 ACCEPT all – * * 192.168.1.113
0.0.0.0/0 MAC 00:1F:C6:33:79:DA
157 10003 ACCEPT all – * * 192.168.1.114
0.0.0.0/0 MAC 00:1F:C6:43:01:19
4441 258677 ACCEPT all – * * 192.168.1.115
0.0.0.0/0 MAC 00:E0:4C:03:B9:B5
56 2789 ACCEPT all – * * 192.168.1.116
0.0.0.0/0 MAC 00:25:11:2E:AA:7C
727 48370 ACCEPT all – * * 192.168.1.117
0.0.0.0/0
4145 259485 ACCEPT all – * * 192.168.1.119
0.0.0.0/0 MAC 00:E0:4C:03:BB:48
27068 3137863 ACCEPT all – * * 192.168.1.120
0.0.0.0/0 MAC 00:1B:22:02:61:0D
0 0 ACCEPT all – * * 192.168.1.121
0.0.0.0/0 MAC 00:E0:4C:03:B9:B6
0 0 ACCEPT all – * * 192.168.1.122
0.0.0.0/0 MAC 00:1E:90:85:32:44
11422 728987 ACCEPT all – * * 192.168.1.123
0.0.0.0/0 MAC 00:E0:4C:1C:9C:92
0 0 ACCEPT all – * * 192.168.1.124
0.0.0.0/0 MAC 00:19:21:A1:1C:AD
4971 329678 ACCEPT all – * * 192.168.1.125
0.0.0.0/0 MAC 00:15:F2:8B:5D:9A
0 0 ACCEPT all – * * 192.168.1.126
0.0.0.0/0 MAC 00:18:DE:40:A6:59
0 0 ACCEPT all – * * 192.168.1.127
0.0.0.0/0 MAC 00:E0:4C:C1:83:13

0 0 ACCEPT all – * * 192.168.1.211
0.0.0.0/0 MAC 00:19:21:A0:73:26
0 0 ACCEPT all – * * 192.168.1.212
0.0.0.0/0 MAC 00:E0:B0:E7:C0:C3
0 0 ACCEPT all – * * 192.168.1.213
0.0.0.0/0 MAC 00:16:D3:CC:16:49
0 0 ACCEPT all – * * 192.168.1.214
0.0.0.0/0 MAC 00:1C:F1:01:8E:B9
0 0 ACCEPT all – * * 192.168.1.215
0.0.0.0/0 MAC 00:EA:01:1D:84:90
0 0 ACCEPT all – * * 192.168.1.216
0.0.0.0/0 MAC 00:16:EC:0A:3E:4E
0 0 ACCEPT all – * * 192.168.1.217
0.0.0.0/0 MAC 00:1C:F1:01:8E:B6
0 0 ACCEPT all – * * 192.168.1.218
0.0.0.0/0 MAC 00:26:6C:38:3C:7E
0 0 ACCEPT all – * * 192.168.1.219
0.0.0.0/0 MAC 00:26:22:CA:A6:12
3271 221438 ACCEPT all – * * 192.168.1.220
0.0.0.0/0 MAC 00:1C:F1:01:8D:5F
216 11599 ACCEPT all – * * 192.168.1.223
0.0.0.0/0 MAC 00:16:D4:48:73:45
0 0 ACCEPT all – * * 192.168.1.224
0.0.0.0/0 MAC 00:01:4A:18:C2:CB
0 0 ACCEPT all – * * 192.168.1.226
0.0.0.0/0 MAC 00:60:DF:31:02:53
0 0 ACCEPT all – * * 192.168.1.227
0.0.0.0/0 MAC 00:01:6C:E7:4F:B7
4907 278086 ACCEPT all – * * 192.168.1.228
0.0.0.0/0 MAC 00:EA:01:24:8D:5E
208649 16064663 ACCEPT all – * * 192.168.1.229
0.0.0.0/0 MAC 00:26:9E:93:C9:A8
292 41055 ACCEPT all – * * 192.168.1.230
0.0.0.0/0 MAC 00:1C:F1:01:DA:97
0 0 ACCEPT all – * * 192.168.1.231
0.0.0.0/0 MAC 00:22:68:13:D0:95
3101 369831 ACCEPT all – * * 192.168.1.232
0.0.0.0/0 MAC 00:21:27:9A:07:9C
4787 379300 ACCEPT all – * * 192.168.1.233
0.0.0.0/0 MAC 00:0B:2F:25:F5:C3
0 0 ACCEPT all – * * 192.168.1.235
0.0.0.0/0 MAC 00:1A:4D:86:6D:25
4615 251078 ACCEPT all – * * 192.168.1.236
0.0.0.0/0 MAC 00:A0:D1:85:53:81
60 3761 ACCEPT all – * * 192.168.1.237
0.0.0.0/0
0 0 ACCEPT all – * * 192.168.1.238
0.0.0.0/0
0 0 ACCEPT all – * * 192.168.1.239
0.0.0.0/0
1558 107028 ACCEPT all – * * 192.168.1.240
0.0.0.0/0 MAC 00:0A:E6:95:F7:66
4552 386187 ACCEPT all – * * 192.168.1.241
0.0.0.0/0 MAC 00:15:58:BE:C4:C3
46 2323 ACCEPT all – * * 192.168.1.242
0.0.0.0/0
0 0 ACCEPT all – * * 192.168.1.243
0.0.0.0/0
1937 178558 ACCEPT all – * * 192.168.1.245
0.0.0.0/0 MAC 00:16:EC:BD:C7:75
2421 134647 ACCEPT all – * * 192.168.1.246
0.0.0.0/0 MAC 00:1B:22:02:D3:B1
0 0 ACCEPT all – * * 192.168.1.247
0.0.0.0/0 MAC 00:EA:01:1C:3C:B4
11863 624760 ACCEPT all – * * 192.168.1.249
0.0.0.0/0 MAC 00:EA:01:24:CA:41
0 0 ACCEPT all – * * 192.168.1.250
0.0.0.0/0 MAC C8:0A:A9:46:CC:2C
0 0 ACCEPT all – * * 192.168.1.251
0.0.0.0/0 MAC 00:0D:87:78:FF:51
0 0 ACCEPT all – * * 192.168.1.252
0.0.0.0/0 MAC 00:1C:F1:02:15:F8
0 0 ACCEPT all – * * 192.168.1.254
0.0.0.0/0 MAC 00:14:38:E0:CD:6F
0 0 DROP all – * * 0.0.0.0/0
0.0.0.0/0 ipp2p v0.8.2 --kazaa --edk --bit
0 0 DROP tcp – * * 0.0.0.0/0
0.0.0.0/0 ipp2p v0.8.2 --ares
0 0 DROP udp – * * 0.0.0.0/0
0.0.0.0/0 ipp2p v0.8.2 --kazaa
0 0 DROP all – * * 0.0.0.0/0
0.0.0.0/0 ipp2p v0.8.2 --ipp2p

Chain OUTPUT (policy ACCEPT 4935241 packets, 295967050 bytes)
pkts bytes target prot opt in out source
destination

Chain RH-Firewall-1-INPUT (0 references)
pkts bytes target prot opt in out source
destination

Posted at Nginx Forum:

Le 02/06/2010 09:04, ultrawind a écrit :

Today , my local web http://192.168.1.140/ can’t be visited , but it can visit html file , just can’t visit php file.
so i think it is php problem.
I do not did any change about the nginx.conf and php-fpm.conf , and I look up the log, but i can’t find this reson.
even i restart the php-fpm and niginx, it can’t either. I install the php and it also can’t visit php file…please give me some advice.

Hi,

Have you added some php modules? Like APC, or other?

This problem happened to me, and APC was the cause…

Hey,

I dont see any rules for ur iptables allowing port 9001, can you also
show the output of “netstat -n”
tnx

to unclepieman,
i did not allowing port 9001 in iptables before,but it work.
it just can’t work from yesterday.

to Admin BeyondServ.net,
i did not install and php modules.

netstat -n

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 22876 121.33.212.3:35182 121.9.227.50:873
ESTABLISHED
tcp 0 128 ::ffff:192.168.1.140:22 ::ffff:192.168.1.19:2747
ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 12 [ ] DGRAM 5660 /dev/log
unix 2 [ ] DGRAM 6643
@/var/run/hal/hotplug_socket
unix 2 [ ] DGRAM 3225 @udevd
unix 2 [ ] DGRAM 572965
unix 3 [ ] STREAM CONNECTED 565234
unix 3 [ ] STREAM CONNECTED 565233
unix 3 [ ] STREAM CONNECTED 556969
unix 3 [ ] STREAM CONNECTED 556968
unix 3 [ ] STREAM CONNECTED 556936
unix 3 [ ] STREAM CONNECTED 556935
unix 3 [ ] STREAM CONNECTED 556932
unix 3 [ ] STREAM CONNECTED 556931
unix 3 [ ] STREAM CONNECTED 456547
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 456546
unix 2 [ ] DGRAM 8182
unix 3 [ ] STREAM CONNECTED 6642
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 6641
unix 3 [ ] STREAM CONNECTED 6608
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 6607
unix 3 [ ] STREAM CONNECTED 6492
unix 3 [ ] STREAM CONNECTED 6491
unix 2 [ ] DGRAM 6478
unix 2 [ ] DGRAM 6368
unix 2 [ ] DGRAM 6310
unix 2 [ ] DGRAM 6291
unix 2 [ ] DGRAM 6266
unix 2 [ ] DGRAM 6180
unix 2 [ ] DGRAM 6166
unix 3 [ ] STREAM CONNECTED 5855
unix 3 [ ] STREAM CONNECTED 5854
unix 2 [ ] DGRAM 5725
unix 2 [ ] DGRAM 5668

Posted at Nginx Forum:

i forget to say, i have change the php port to 9000

Posted at Nginx Forum:

to unclepieman,
i add rule to iptables,
/sbin/iptables -A INPUT -p tcp --dport 9000 -j ACCEPT
then it works.
Thanks! Why i did not add before,but it still work? And now need to add
?

Posted at Nginx Forum: