+ -
当前位置:首页 → 问答吧 → [已解决]请教php-fpm服务启动失败的问题

[已解决]请教php-fpm服务启动失败的问题

时间:2010-07-29

来源:互联网

本帖最后由 zhxd 于 2010-07-29 13:41 编辑

编译安装了php5.2.14(fastcgi模式),将php-fpm加入了系统服务。
现在已可以对php-fpm服务进行控制了。
但是在系统启动的时候,却提示:
  1. Starting php-fpm: Starting php_php done                        [FAILED]
复制代码
虽然提示这种错误,但是在进入系统以后,可以看到php-fpm服务是启动着的。
php-cgi进程也都已经存在,php-fpm.log日志未发现其他异常:
  1. Jul 29 01:47:51.569935 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:1024, cur:1024
  2. Jul 29 01:47:51.573964 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
  3. Jul 29 01:47:51.574863 [NOTICE] fpm_init(), line 52: fpm is running, pid 1965
  4. Jul 29 01:47:51.588421 [NOTICE] fpm_children_make(), line 352: child 1966 (pool default) started
  5. Jul 29 01:47:51.612860 [NOTICE] fpm_children_make(), line 352: child 1967 (pool default) started
  6. Jul 29 01:47:51.635394 [NOTICE] fpm_children_make(), line 352: child 1968 (pool default) started
  7. Jul 29 01:47:51.648864 [NOTICE] fpm_children_make(), line 352: child 1969 (pool default) started
  8. Jul 29 01:47:51.695388 [NOTICE] fpm_children_make(), line 352: child 1970 (pool default) started
  9. Jul 29 01:47:51.735898 [NOTICE] fpm_children_make(), line 352: child 1971 (pool default) started
  10. Jul 29 01:47:51.749809 [NOTICE] fpm_children_make(), line 352: child 1972 (pool default) started
  11. Jul 29 01:47:51.781387 [NOTICE] fpm_children_make(), line 352: child 1973 (pool default) started
  12. Jul 29 01:47:51.804423 [NOTICE] fpm_children_make(), line 352: child 1974 (pool default) started
  13. Jul 29 01:47:51.817805 [NOTICE] fpm_children_make(), line 352: child 1975 (pool default) started
  14. Jul 29 01:47:51.849871 [NOTICE] fpm_children_make(), line 352: child 1976 (pool default) started
  15. Jul 29 01:47:51.939348 [NOTICE] fpm_children_make(), line 352: child 1977 (pool default) started
  16. Jul 29 01:47:51.953794 [NOTICE] fpm_children_make(), line 352: child 1979 (pool default) started
  17. Jul 29 01:47:52.078230 [NOTICE] fpm_children_make(), line 352: child 1980 (pool default) started
  18. Jul 29 01:47:52.100858 [NOTICE] fpm_children_make(), line 352: child 1984 (pool default) started
  19. Jul 29 01:47:52.117745 [NOTICE] fpm_children_make(), line 352: child 1985 (pool default) started
  20. Jul 29 01:47:52.228828 [NOTICE] fpm_children_make(), line 352: child 1986 (pool default) started
  21. Jul 29 01:47:52.252269 [NOTICE] fpm_children_make(), line 352: child 1991 (pool default) started
  22. Jul 29 01:47:52.265720 [NOTICE] fpm_children_make(), line 352: child 1992 (pool default) started
  23. Jul 29 01:47:52.350174 [NOTICE] fpm_children_make(), line 352: child 1993 (pool default) started
  24. Jul 29 01:47:52.373252 [NOTICE] fpm_children_make(), line 352: child 1997 (pool default) started
  25. Jul 29 01:47:52.386690 [NOTICE] fpm_children_make(), line 352: child 1998 (pool default) started
  26. Jul 29 01:47:52.447131 [NOTICE] fpm_children_make(), line 352: child 1999 (pool default) started
  27. Jul 29 01:47:52.469685 [NOTICE] fpm_children_make(), line 352: child 2000 (pool default) started
  28. Jul 29 01:47:52.483678 [NOTICE] fpm_children_make(), line 352: child 2001 (pool default) started
  29. Jul 29 01:47:52.527213 [NOTICE] fpm_children_make(), line 352: child 2002 (pool default) started
  30. Jul 29 01:47:52.535467 [NOTICE] fpm_children_make(), line 352: child 2003 (pool default) started
  31. Jul 29 01:47:52.542943 [NOTICE] fpm_children_make(), line 352: child 2004 (pool default) started
  32. Jul 29 01:47:52.548256 [NOTICE] fpm_children_make(), line 352: child 2005 (pool default) started
  33. Jul 29 01:47:52.583428 [NOTICE] fpm_children_make(), line 352: child 2006 (pool default) started
  34. Jul 29 01:47:52.591682 [NOTICE] fpm_children_make(), line 352: child 2009 (pool default) started
  35. Jul 29 01:47:52.600005 [NOTICE] fpm_children_make(), line 352: child 2010 (pool default) started
  36. Jul 29 01:47:52.607893 [NOTICE] fpm_children_make(), line 352: child 2011 (pool default) started
  37. Jul 29 01:47:52.613248 [NOTICE] fpm_children_make(), line 352: child 2012 (pool default) started
  38. Jul 29 01:47:52.647703 [NOTICE] fpm_children_make(), line 352: child 2015 (pool default) started
  39. Jul 29 01:47:52.655131 [NOTICE] fpm_children_make(), line 352: child 2016 (pool default) started
  40. Jul 29 01:47:52.662760 [NOTICE] fpm_children_make(), line 352: child 2017 (pool default) started
  41. Jul 29 01:47:52.669683 [NOTICE] fpm_children_make(), line 352: child 2018 (pool default) started
  42. Jul 29 01:47:52.695523 [NOTICE] fpm_children_make(), line 352: child 2019 (pool default) started
  43. Jul 29 01:47:52.703558 [NOTICE] fpm_children_make(), line 352: child 2022 (pool default) started
  44. Jul 29 01:47:52.711337 [NOTICE] fpm_children_make(), line 352: child 2023 (pool default) started
  45. Jul 29 01:47:52.718239 [NOTICE] fpm_children_make(), line 352: child 2024 (pool default) started
  46. Jul 29 01:47:52.731615 [NOTICE] fpm_children_make(), line 352: child 2025 (pool default) started
  47. Jul 29 01:47:52.794955 [NOTICE] fpm_children_make(), line 352: child 2026 (pool default) started
  48. Jul 29 01:47:52.802849 [NOTICE] fpm_children_make(), line 352: child 2035 (pool default) started
  49. Jul 29 01:47:52.809232 [NOTICE] fpm_children_make(), line 352: child 2036 (pool default) started
  50. Jul 29 01:47:52.838864 [NOTICE] fpm_children_make(), line 352: child 2037 (pool default) started
  51. Jul 29 01:47:52.846706 [NOTICE] fpm_children_make(), line 352: child 2038 (pool default) started
  52. Jul 29 01:47:52.854596 [NOTICE] fpm_children_make(), line 352: child 2039 (pool default) started
  53. Jul 29 01:47:52.861217 [NOTICE] fpm_children_make(), line 352: child 2040 (pool default) started
  54. Jul 29 01:47:52.882307 [NOTICE] fpm_children_make(), line 352: child 2041 (pool default) started
  55. Jul 29 01:47:52.890135 [NOTICE] fpm_children_make(), line 352: child 2043 (pool default) started
  56. Jul 29 01:47:52.897774 [NOTICE] fpm_children_make(), line 352: child 2044 (pool default) started
  57. Jul 29 01:47:52.905499 [NOTICE] fpm_children_make(), line 352: child 2045 (pool default) started
  58. Jul 29 01:47:52.911197 [NOTICE] fpm_children_make(), line 352: child 2046 (pool default) started
  59. Jul 29 01:47:52.939358 [NOTICE] fpm_children_make(), line 352: child 2047 (pool default) started
  60. Jul 29 01:47:52.947286 [NOTICE] fpm_children_make(), line 352: child 2050 (pool default) started
  61. Jul 29 01:47:52.955097 [NOTICE] fpm_children_make(), line 352: child 2051 (pool default) started
  62. Jul 29 01:47:52.962696 [NOTICE] fpm_children_make(), line 352: child 2052 (pool default) started
  63. Jul 29 01:47:52.968192 [NOTICE] fpm_children_make(), line 352: child 2053 (pool default) started
  64. Jul 29 01:47:53.045327 [NOTICE] fpm_children_make(), line 352: child 2054 (pool default) started
  65. Jul 29 01:47:53.053031 [NOTICE] fpm_children_make(), line 352: child 2061 (pool default) started
  66. Jul 29 01:47:53.060777 [NOTICE] fpm_children_make(), line 352: child 2062 (pool default) started
  67. Jul 29 01:47:53.068362 [NOTICE] fpm_children_make(), line 352: child 2063 (pool default) started
  68. Jul 29 01:47:53.074212 [NOTICE] fpm_children_make(), line 352: child 2064 (pool default) started
  69. Jul 29 01:47:53.095307 [NOTICE] fpm_children_make(), line 352: child 2065 (pool default) started
  70. Jul 29 01:47:53.103209 [NOTICE] fpm_children_make(), line 352: child 2066 (pool default) started
  71. Jul 29 01:47:53.112052 [NOTICE] fpm_children_make(), line 352: child 2067 (pool default) started
  72. Jul 29 01:47:53.118171 [NOTICE] fpm_children_make(), line 352: child 2068 (pool default) started
  73. Jul 29 01:47:53.134996 [NOTICE] fpm_children_make(), line 352: child 2069 (pool default) started
  74. Jul 29 01:47:53.142991 [NOTICE] fpm_children_make(), line 352: child 2070 (pool default) started
  75. Jul 29 01:47:53.152099 [NOTICE] fpm_children_make(), line 352: child 2071 (pool default) started
  76. Jul 29 01:47:53.157211 [NOTICE] fpm_children_make(), line 352: child 2072 (pool default) started
  77. Jul 29 01:47:53.445908 [NOTICE] fpm_children_make(), line 352: child 2073 (pool default) started
  78. Jul 29 01:47:53.453567 [NOTICE] fpm_children_make(), line 352: child 2125 (pool default) started
  79. Jul 29 01:47:53.461766 [NOTICE] fpm_children_make(), line 352: child 2126 (pool default) started
  80. Jul 29 01:47:53.468073 [NOTICE] fpm_children_make(), line 352: child 2127 (pool default) started
  81. Jul 29 01:47:53.503890 [NOTICE] fpm_children_make(), line 352: child 2128 (pool default) started
  82. Jul 29 01:47:53.511585 [NOTICE] fpm_children_make(), line 352: child 2133 (pool default) started
  83. Jul 29 01:47:53.519665 [NOTICE] fpm_children_make(), line 352: child 2134 (pool default) started
  84. Jul 29 01:47:53.526107 [NOTICE] fpm_children_make(), line 352: child 2135 (pool default) started
  85. Jul 29 01:47:53.542821 [NOTICE] fpm_children_make(), line 352: child 2136 (pool default) started
  86. Jul 29 01:47:53.550779 [NOTICE] fpm_children_make(), line 352: child 2138 (pool default) started
  87. Jul 29 01:47:53.558677 [NOTICE] fpm_children_make(), line 352: child 2139 (pool default) started
  88. Jul 29 01:47:53.565091 [NOTICE] fpm_children_make(), line 352: child 2140 (pool default) started
  89. Jul 29 01:47:53.576521 [NOTICE] fpm_children_make(), line 352: child 2141 (pool default) started
  90. Jul 29 01:47:53.584518 [NOTICE] fpm_children_make(), line 352: child 2142 (pool default) started
  91. Jul 29 01:47:53.592262 [NOTICE] fpm_children_make(), line 352: child 2143 (pool default) started
  92. Jul 29 01:47:53.599026 [NOTICE] fpm_children_make(), line 352: child 2144 (pool default) started
  93. Jul 29 01:47:53.605214 [NOTICE] fpm_children_make(), line 352: child 2145 (pool default) started
  94. Jul 29 01:47:53.613129 [NOTICE] fpm_children_make(), line 352: child 2146 (pool default) started
  95. Jul 29 01:47:53.621439 [NOTICE] fpm_children_make(), line 352: child 2147 (pool default) started
  96. Jul 29 01:47:53.629480 [NOTICE] fpm_children_make(), line 352: child 2148 (pool default) started
  97. Jul 29 01:47:53.635025 [NOTICE] fpm_children_make(), line 352: child 2149 (pool default) started
  98. Jul 29 01:47:53.646316 [NOTICE] fpm_children_make(), line 352: child 2150 (pool default) started
  99. Jul 29 01:47:53.654291 [NOTICE] fpm_children_make(), line 352: child 2151 (pool default) started
  100. Jul 29 01:47:53.662369 [NOTICE] fpm_children_make(), line 352: child 2152 (pool default) started
  101. Jul 29 01:47:53.670416 [NOTICE] fpm_children_make(), line 352: child 2153 (pool default) started
  102. Jul 29 01:47:53.676013 [NOTICE] fpm_children_make(), line 352: child 2154 (pool default) started
  103. Jul 29 01:47:53.688072 [NOTICE] fpm_children_make(), line 352: child 2155 (pool default) started
  104. Jul 29 01:47:53.696506 [NOTICE] fpm_children_make(), line 352: child 2156 (pool default) started
  105. Jul 29 01:47:53.704533 [NOTICE] fpm_children_make(), line 352: child 2157 (pool default) started
  106. Jul 29 01:47:53.712429 [NOTICE] fpm_children_make(), line 352: child 2158 (pool default) started
  107. Jul 29 01:47:53.718009 [NOTICE] fpm_children_make(), line 352: child 2159 (pool default) started
  108. Jul 29 01:47:53.729151 [NOTICE] fpm_children_make(), line 352: child 2160 (pool default) started
  109. Jul 29 01:47:53.737312 [NOTICE] fpm_children_make(), line 352: child 2161 (pool default) started
  110. Jul 29 01:47:53.745405 [NOTICE] fpm_children_make(), line 352: child 2162 (pool default) started
  111. Jul 29 01:47:53.753318 [NOTICE] fpm_children_make(), line 352: child 2163 (pool default) started
  112. Jul 29 01:47:53.758986 [NOTICE] fpm_children_make(), line 352: child 2164 (pool default) started
  113. Jul 29 01:47:53.772378 [NOTICE] fpm_children_make(), line 352: child 2165 (pool default) started
  114. Jul 29 01:47:53.780563 [NOTICE] fpm_children_make(), line 352: child 2166 (pool default) started
  115. Jul 29 01:47:53.788514 [NOTICE] fpm_children_make(), line 352: child 2167 (pool default) started
  116. Jul 29 01:47:53.796476 [NOTICE] fpm_children_make(), line 352: child 2168 (pool default) started
  117. Jul 29 01:47:53.802032 [NOTICE] fpm_children_make(), line 352: child 2169 (pool default) started
  118. Jul 29 01:47:53.813044 [NOTICE] fpm_children_make(), line 352: child 2170 (pool default) started
  119. Jul 29 01:47:53.821350 [NOTICE] fpm_children_make(), line 352: child 2171 (pool default) started
  120. Jul 29 01:47:53.829341 [NOTICE] fpm_children_make(), line 352: child 2172 (pool default) started
  121. Jul 29 01:47:53.837375 [NOTICE] fpm_children_make(), line 352: child 2173 (pool default) started
  122. Jul 29 01:47:53.844007 [NOTICE] fpm_children_make(), line 352: child 2174 (pool default) started
  123. Jul 29 01:47:53.854177 [NOTICE] fpm_children_make(), line 352: child 2175 (pool default) started
  124. Jul 29 01:47:53.862561 [NOTICE] fpm_children_make(), line 352: child 2176 (pool default) started
  125. Jul 29 01:47:53.870783 [NOTICE] fpm_children_make(), line 352: child 2177 (pool default) started
  126. Jul 29 01:47:53.878981 [NOTICE] fpm_children_make(), line 352: child 2178 (pool default) started
  127. Jul 29 01:47:53.884984 [NOTICE] fpm_children_make(), line 352: child 2179 (pool default) started
  128. Jul 29 01:47:53.903056 [NOTICE] fpm_children_make(), line 352: child 2180 (pool default) started
  129. Jul 29 01:47:53.911530 [NOTICE] fpm_children_make(), line 352: child 2181 (pool default) started
  130. Jul 29 01:47:53.919962 [NOTICE] fpm_children_make(), line 352: child 2182 (pool default) started
  131. Jul 29 01:47:53.925955 [NOTICE] fpm_children_make(), line 352: child 2183 (pool default) started
  132. Jul 29 01:47:53.926128 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
复制代码
在网上看到很多人遇到了
  1. [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
复制代码
这个问题(php-fpm.log的最后一行),不知道php-fpm服务启动失败,是否和这个问题有关?还是脚本代码有问题?
请路过的朋友给一点点提示。

作者: zhxd   发布时间: 2010-07-29

已解决。

作者: zhxd   发布时间: 2010-07-29

热门下载

更多