Guest User

Untitled

a guest
Dec 16th, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.17 KB | None | 0 0
  1. --- /etc/php5/fpm/pool.d/www.conf 2013-10-22 14:30:39.000000000 +0000
  2. +++ /etc/php5/fpm/pool.d/www.conf.dpkg-new 2014-06-20 00:40:35.000000000 +0000
  3. @@ -30,7 +30,7 @@
  4. ; specific port;
  5. ; '/path/to/unix/socket' - to listen on a unix socket.
  6. ; Note: This value is mandatory.
  7. -listen = /var/run/php5-fpm.sock
  8. +listen = 127.0.0.1:9000
  9.  
  10. ; Set listen(2) backlog. A value of '-1' means unlimited.
  11. ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
  12. @@ -40,10 +40,10 @@
  13. ; permissions must be set in order to allow connections from a web server. Many
  14. ; BSD-derived systems allow connections regardless of permissions.
  15. ; Default Values: user and group are set as the running user
  16. -; mode is set to 0666
  17. +; mode is set to 0660
  18. ;listen.owner = www-data
  19. ;listen.group = www-data
  20. -;listen.mode = 0666
  21. +;listen.mode = 0660
  22.  
  23. login as: demouser
  24. Using keyboard-interactive authentication.
  25. Verification code:
  26. Using keyboard-interactive authentication.
  27. Password:
  28. Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-24-virtual i686)
  29.  
  30. * Documentation: https://help.ubuntu.com/
  31. Last login: Tue Jun 17 08:48:07 2014 from 117.197.66.168
  32. demouser@Titan:~$ varnishstat
  33. demouser@Titan:~$ sudo apt-get update
  34. [sudo] password for demouser:
  35. Hit http://apt-longview.linode.com precise Release.gpg
  36. Hit http://apt-longview.linode.com precise Release
  37. Hit http://security.ubuntu.com precise-security Release.gpg
  38. Hit http://apt-longview.linode.com precise/main i386 Packages
  39. Hit http://archive.ubuntu.com precise Release.gpg
  40. Hit http://archive.ubuntu.com precise-updates Release.gpg
  41. Ign http://apt-longview.linode.com precise/main TranslationIndex
  42. Hit http://security.ubuntu.com precise-security Release
  43. Hit http://archive.ubuntu.com precise Release
  44. Hit http://archive.ubuntu.com precise-updates Release
  45. Hit http://security.ubuntu.com precise-security/main i386 Packages
  46. Hit http://archive.ubuntu.com precise/main i386 Packages
  47. Ign http://apt-longview.linode.com precise/main Translation-en_US
  48. Hit http://security.ubuntu.com precise-security/main TranslationIndex
  49. Ign http://apt-longview.linode.com precise/main Translation-en
  50. Hit http://apt.newrelic.com newrelic Release.gpg
  51. Hit http://security.ubuntu.com precise-security/main Translation-en
  52. Hit http://archive.ubuntu.com precise/universe i386 Packages
  53. Hit http://archive.ubuntu.com precise/main TranslationIndex
  54. Hit http://archive.ubuntu.com precise/universe TranslationIndex
  55. Hit http://archive.ubuntu.com precise-updates/main i386 Packages
  56. Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
  57. Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
  58. Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
  59. Hit http://archive.ubuntu.com precise/main Translation-en
  60. Hit http://archive.ubuntu.com precise/universe Translation-en
  61. Hit http://archive.ubuntu.com precise-updates/main Translation-en
  62. Hit http://apt.newrelic.com newrelic Release
  63. Hit http://archive.ubuntu.com precise-updates/universe Translation-en
  64. Hit http://apt.newrelic.com newrelic/non-free i386 Packages
  65. Ign http://apt.newrelic.com newrelic/non-free TranslationIndex
  66. Hit http://repo.varnish-cache.org precise Release.gpg
  67. Hit http://repo.varnish-cache.org precise Release
  68. Ign http://apt.newrelic.com newrelic/non-free Translation-en_US
  69. Ign http://apt.newrelic.com newrelic/non-free Translation-en
  70. Hit http://repo.varnish-cache.org precise/varnish-4.0 i386 Packages
  71. Ign http://repo.varnish-cache.org precise/varnish-4.0 TranslationIndex
  72. Ign http://repo.varnish-cache.org precise/varnish-4.0 Translation-en_US
  73. Ign http://repo.varnish-cache.org precise/varnish-4.0 Translation-en
  74. Reading package lists... Done
  75. demouser@Titan:~$ sudo apt-get upgrade
  76. Reading package lists... Done
  77. Building dependency tree
  78. Reading state information... Done
  79. The following packages will be upgraded:
  80. apt apt-utils libapt-inst1.4 libapt-pkg4.12 libssl-dev libssl-doc
  81. libssl1.0.0 libxml2 openssl php5-common php5-curl php5-fpm php5-gd
  82. php5-mysql
  83. 14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  84. Need to get 10.4 MB of archives.
  85. After this operation, 0 B of additional disk space will be used.
  86. Do you want to continue [Y/n]? y
  87. Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libapt-pkg4.12 i386 0.8.16~exp12ubuntu10.17 [942 kB]
  88. Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main apt i386 0.8.16~exp 12ubuntu10.17 [1,105 kB]
  89. Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-doc all 1.0. 1-4ubuntu5.16 [1,033 kB]
  90. Get:4 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev i386 1.0 .1-4ubuntu5.16 [1,425 kB]
  91. Get:5 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl1.0.0 i386 1. 0.1-4ubuntu5.16 [1,007 kB]
  92. Get:6 http://archive.ubuntu.com/ubuntu/ precise-updates/main libapt-inst1.4 i386 0.8.16~exp12ubuntu10.17 [103 kB]
  93. Get:7 http://archive.ubuntu.com/ubuntu/ precise-updates/main libxml2 i386 2.7.8. dfsg-5.1ubuntu4.9 [662 kB]
  94. Get:8 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-mysql i386 5.3 .10-1ubuntu3.12 [73.3 kB]
  95. Get:9 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-curl i386 5.3. 10-1ubuntu3.12 [27.9 kB]
  96. Get:10 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-gd i386 5.3.1 0-1ubuntu3.12 [37.5 kB]
  97. Get:11 http://archive.ubuntu.com/ubuntu/ precise-updates/universe php5-fpm i386 5.3.10-1ubuntu3.12 [3,134 kB]
  98. Get:12 http://archive.ubuntu.com/ubuntu/ precise-updates/main php5-common i386 5 .3.10-1ubuntu3.12 [163 kB]
  99. Get:13 http://archive.ubuntu.com/ubuntu/ precise-updates/main apt-utils i386 0.8 .16~exp12ubuntu10.17 [192 kB]
  100. Get:14 http://archive.ubuntu.com/ubuntu/ precise-updates/main openssl i386 1.0.1 -4ubuntu5.16 [519 kB]
  101. Fetched 10.4 MB in 2s (3,871 kB/s)
  102. Preconfiguring packages ...
  103. (Reading database ... 35787 files and directories currently installed.)
  104. Preparing to replace libapt-pkg4.12 0.8.16~exp12ubuntu10.16 (using .../libapt-pk g4.12_0.8.16~exp12ubuntu10.17_i386.deb) ...
  105. Unpacking replacement libapt-pkg4.12 ...
  106. Setting up libapt-pkg4.12 (0.8.16~exp12ubuntu10.17) ...
  107. Processing triggers for libc-bin ...
  108. ldconfig deferred processing now taking place
  109. (Reading database ... 35787 files and directories currently installed.)
  110. Preparing to replace apt 0.8.16~exp12ubuntu10.16 (using .../apt_0.8.16~exp12ubun tu10.17_i386.deb) ...
  111. Unpacking replacement apt ...
  112. Processing triggers for man-db ...
  113. Setting up apt (0.8.16~exp12ubuntu10.17) ...
  114. gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
  115. gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>" not changed
  116. gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubunt u.com>" not changed
  117. gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu .com>" not changed
  118. gpg: Total number processed: 4
  119. gpg: unchanged: 4
  120. (Reading database ... 35787 files and directories currently installed.)
  121. Preparing to replace libssl-doc 1.0.1-4ubuntu5.15 (using .../libssl-doc_1.0.1-4u buntu5.16_all.deb) ...
  122. Unpacking replacement libssl-doc ...
  123. Preparing to replace libssl-dev 1.0.1-4ubuntu5.15 (using .../libssl-dev_1.0.1-4u buntu5.16_i386.deb) ...
  124. Unpacking replacement libssl-dev ...
  125. Preparing to replace libssl1.0.0 1.0.1-4ubuntu5.15 (using .../libssl1.0.0_1.0.1- 4ubuntu5.16_i386.deb) ...
  126. Unpacking replacement libssl1.0.0 ...
  127. Processing triggers for man-db ...
  128. Setting up libssl1.0.0 (1.0.1-4ubuntu5.16) ...
  129. Processing triggers for libc-bin ...
  130. ldconfig deferred processing now taking place
  131. (Reading database ... 35787 files and directories currently installed.)
  132. Preparing to replace libapt-inst1.4 0.8.16~exp12ubuntu10.16 (using .../libapt-in st1.4_0.8.16~exp12ubuntu10.17_i386.deb) ...
  133. Unpacking replacement libapt-inst1.4 ...
  134. Preparing to replace libxml2 2.7.8.dfsg-5.1ubuntu4.8 (using .../libxml2_2.7.8.df sg-5.1ubuntu4.9_i386.deb) ...
  135. Unpacking replacement libxml2 ...
  136. Preparing to replace php5-mysql 5.3.10-1ubuntu3.11 (using .../php5-mysql_5.3.10- 1ubuntu3.12_i386.deb) ...
  137. Unpacking replacement php5-mysql ...
  138. Preparing to replace php5-curl 5.3.10-1ubuntu3.11 (using .../php5-curl_5.3.10-1u buntu3.12_i386.deb) ...
  139. Unpacking replacement php5-curl ...
  140. Preparing to replace php5-gd 5.3.10-1ubuntu3.11 (using .../php5-gd_5.3.10-1ubunt u3.12_i386.deb) ...
  141. Unpacking replacement php5-gd ...
  142. Preparing to replace php5-fpm 5.3.10-1ubuntu3.11 (using .../php5-fpm_5.3.10-1ubu ntu3.12_i386.deb) ...
  143. Unpacking replacement php5-fpm ...
  144. Preparing to replace php5-common 5.3.10-1ubuntu3.11 (using .../php5-common_5.3.1 0-1ubuntu3.12_i386.deb) ...
  145. Unpacking replacement php5-common ...
  146. Preparing to replace apt-utils 0.8.16~exp12ubuntu10.16 (using .../apt-utils_0.8. 16~exp12ubuntu10.17_i386.deb) ...
  147. Unpacking replacement apt-utils ...
  148. Preparing to replace openssl 1.0.1-4ubuntu5.15 (using .../openssl_1.0.1-4ubuntu5 .16_i386.deb) ...
  149. Unpacking replacement openssl ...
  150. Processing triggers for ureadahead ...
  151. ureadahead will be reprofiled on next reboot
  152. Processing triggers for man-db ...
  153. Setting up libssl-doc (1.0.1-4ubuntu5.16) ...
  154. Setting up libssl-dev (1.0.1-4ubuntu5.16) ...
  155. Setting up libapt-inst1.4 (0.8.16~exp12ubuntu10.17) ...
  156. Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4.9) ...
  157. Setting up php5-common (5.3.10-1ubuntu3.12) ...
  158. Setting up php5-fpm (5.3.10-1ubuntu3.12) ...
  159.  
  160. Configuration file `/etc/php5/fpm/pool.d/www.conf'
  161. ==> Modified (by you or by a script) since installation.
  162. ==> Package distributor has shipped an updated version.
  163. What would you like to do about it ? Your options are:
  164. Y or I : install the package maintainer's version
  165. N or O : keep your currently-installed version
  166. D : show the differences between the versions
  167. Z : start a shell to examine the situation
  168. The default action is to keep your current version.
  169. *** www.conf (Y/I/N/O/D/Z) [default=N] ?
  170. update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
  171. Setting up php5-mysql (5.3.10-1ubuntu3.12) ...
  172. Setting up php5-curl (5.3.10-1ubuntu3.12) ...
  173. Setting up php5-gd (5.3.10-1ubuntu3.12) ...
  174. Setting up apt-utils (0.8.16~exp12ubuntu10.17) ...
  175. Setting up openssl (1.0.1-4ubuntu5.16) ...
  176. Processing triggers for libc-bin ...
  177. ldconfig deferred processing now taking place
  178. demouser@Titan:~$ sudo nano /etc/php5/fpm/pool.d/www.conf
  179. demouser@Titan:~$ sudo poweroff
  180. demouser@Titan:~$
  181. Broadcast message from demouser@Titan
  182. (/dev/pts/0) at 17:20 ...
  183.  
  184. The system is going down for power off NOW!
  185.  
  186. listen.owner = www-data
  187. listen.group = www-data
  188. listen.mode = 0660
Add Comment
Please, Sign In to add comment