Guest User

Untitled

a guest
Jul 22nd, 2016
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 157.98 KB | None | 0 0
  1. Welcome to the DATIM Node Installer
  2.  
  3.  
  4. We need to ask a few questions to setup this install.
  5.  
  6. Detected IP addresses: 192.241.134.17 10.10.0.5
  7.  
  8. What is the public ip or name(preferred) of this node (localhost): testnode9.ohie.org
  9. OpenInfoMan Memory size (8G):
  10.  
  11. Do you agree to the Oracle Binary Code License Agreement?
  12. You MUST agree to the license available in http://java.com/license if you want to use Oracle JDK. (y/n): y
  13. Adding PPAs...
  14. gpg: keyring `/tmp/tmpkb8wocv5/secring.gpg' created
  15. gpg: keyring `/tmp/tmpkb8wocv5/pubring.gpg' created
  16. gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
  17. gpg: /tmp/tmpkb8wocv5/trustdb.gpg: trustdb created
  18. gpg: key EEA14886: public key "Launchpad VLC" imported
  19. gpg: no ultimately trusted keys found
  20. gpg: Total number processed: 1
  21. gpg: imported: 1 (RSA: 1)
  22. OK
  23. gpg: keyring `/tmp/tmp3a6x6r7z/secring.gpg' created
  24. gpg: keyring `/tmp/tmp3a6x6r7z/pubring.gpg' created
  25. gpg: requesting key 665857F5 from hkp server keyserver.ubuntu.com
  26. gpg: /tmp/tmp3a6x6r7z/trustdb.gpg: trustdb created
  27. gpg: key 665857F5: public key "Launchpad PPA for OpenHIE" imported
  28. gpg: Total number processed: 1
  29. gpg: imported: 1 (RSA: 1)
  30. OK
  31. gpg: keyring `/tmp/tmpc_6jnozy/secring.gpg' created
  32. gpg: keyring `/tmp/tmpc_6jnozy/pubring.gpg' created
  33. gpg: requesting key 665857F5 from hkp server keyserver.ubuntu.com
  34. gpg: /tmp/tmpc_6jnozy/trustdb.gpg: trustdb created
  35. gpg: key 665857F5: public key "Launchpad PPA for OpenHIE" imported
  36. gpg: Total number processed: 1
  37. gpg: imported: 1 (RSA: 1)
  38. OK
  39. Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.c5hpNxq2HO --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/openhie-datim.gpg --keyring /etc/apt/trusted.gpg.d/openhie-release.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team-java.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
  40. gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
  41. gpg: key EA312927: public key "MongoDB 3.2 Release Signing Key <packaging@mongodb.com>" imported
  42. gpg: Total number processed: 1
  43. gpg: imported: 1 (RSA: 1)
  44. deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse
  45. Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
  46. Get:2 http://security.ubuntu.com trusty-security/main Sources [118 kB]
  47. Get:3 http://security.ubuntu.com trusty-security/universe Sources [38.0 kB]
  48. Get:4 http://security.ubuntu.com trusty-security/main amd64 Packages [511 kB]
  49. Ign http://repo.mongodb.org trusty/mongodb-org/3.2 InRelease
  50. Get:5 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
  51. Get:6 http://repo.mongodb.org trusty/mongodb-org/3.2 Release.gpg [801 B]
  52. Get:7 http://security.ubuntu.com trusty-security/main i386 Packages [476 kB]
  53. Get:8 http://repo.mongodb.org trusty/mongodb-org/3.2 Release [3,090 B]
  54. Get:9 http://security.ubuntu.com trusty-security/universe i386 Packages [131 kB]
  55. Get:10 http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse amd64 Packages [7,239 B]
  56. Hit http://security.ubuntu.com trusty-security/main Translation-en
  57. Hit http://security.ubuntu.com trusty-security/universe Translation-en
  58. Get:11 http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse i386 Packages [29 B]
  59. Get:12 http://ppa.launchpad.net trusty InRelease [16.0 kB]
  60. Get:13 http://ppa.launchpad.net trusty InRelease [16.0 kB]
  61. Get:14 http://ppa.launchpad.net trusty InRelease [15.5 kB]
  62. Get:15 http://ppa.launchpad.net trusty/main amd64 Packages [3,781 B]
  63. Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en_US
  64. Ign http://repo.mongodb.org trusty/mongodb-org/3.2/multiverse Translation-en
  65. Get:16 http://ppa.launchpad.net trusty/main i386 Packages [1,724 B]
  66. Get:17 http://ppa.launchpad.net trusty/main Translation-en [1,372 B]
  67. Ign http://mirrors.digitalocean.com trusty InRelease
  68. Hit http://mirrors.digitalocean.com trusty-updates InRelease
  69. Get:18 http://ppa.launchpad.net trusty/main amd64 Packages [5,562 B]
  70. Get:19 http://ppa.launchpad.net trusty/main i386 Packages [5,207 B]
  71. Get:20 http://ppa.launchpad.net trusty/main Translation-en [2,354 B]
  72. Hit http://mirrors.digitalocean.com trusty-backports InRelease
  73. Get:21 http://ppa.launchpad.net trusty/main amd64 Packages [3,398 B]
  74. Get:22 http://ppa.launchpad.net trusty/main i386 Packages [3,398 B]
  75. Get:23 http://ppa.launchpad.net trusty/main Translation-en [1,556 B]
  76. Hit http://mirrors.digitalocean.com trusty Release.gpg
  77. Hit http://mirrors.digitalocean.com trusty-updates/main Sources
  78. Hit http://mirrors.digitalocean.com trusty-updates/restricted Sources
  79. Hit http://mirrors.digitalocean.com trusty-updates/universe Sources
  80. Hit http://mirrors.digitalocean.com trusty-updates/multiverse Sources
  81. Hit http://mirrors.digitalocean.com trusty-updates/main amd64 Packages
  82. Hit http://mirrors.digitalocean.com trusty-updates/restricted amd64 Packages
  83. Hit http://mirrors.digitalocean.com trusty-updates/universe amd64 Packages
  84. Hit http://mirrors.digitalocean.com trusty-updates/multiverse amd64 Packages
  85. Hit http://mirrors.digitalocean.com trusty-updates/main i386 Packages
  86. Hit http://mirrors.digitalocean.com trusty-updates/restricted i386 Packages
  87. Hit http://mirrors.digitalocean.com trusty-updates/universe i386 Packages
  88. Hit http://mirrors.digitalocean.com trusty-updates/multiverse i386 Packages
  89. Hit http://mirrors.digitalocean.com trusty-updates/main Translation-en
  90. Hit http://mirrors.digitalocean.com trusty-updates/multiverse Translation-en
  91. Hit http://mirrors.digitalocean.com trusty-updates/restricted Translation-en
  92. Hit http://mirrors.digitalocean.com trusty-updates/universe Translation-en
  93. Hit http://mirrors.digitalocean.com trusty-backports/main Sources
  94. Hit http://mirrors.digitalocean.com trusty-backports/restricted Sources
  95. Hit http://mirrors.digitalocean.com trusty-backports/universe Sources
  96. Hit http://mirrors.digitalocean.com trusty-backports/multiverse Sources
  97. Hit http://mirrors.digitalocean.com trusty-backports/main amd64 Packages
  98. Hit http://mirrors.digitalocean.com trusty-backports/restricted amd64 Packages
  99. Hit http://mirrors.digitalocean.com trusty-backports/universe amd64 Packages
  100. Hit http://mirrors.digitalocean.com trusty-backports/multiverse amd64 Packages
  101. Hit http://mirrors.digitalocean.com trusty-backports/main i386 Packages
  102. Hit http://mirrors.digitalocean.com trusty-backports/restricted i386 Packages
  103. Hit http://mirrors.digitalocean.com trusty-backports/universe i386 Packages
  104. Hit http://mirrors.digitalocean.com trusty-backports/multiverse i386 Packages
  105. Hit http://mirrors.digitalocean.com trusty-backports/main Translation-en
  106. Hit http://mirrors.digitalocean.com trusty-backports/multiverse Translation-en
  107. Hit http://mirrors.digitalocean.com trusty-backports/restricted Translation-en
  108. Hit http://mirrors.digitalocean.com trusty-backports/universe Translation-en
  109. Hit http://mirrors.digitalocean.com trusty Release
  110. Hit http://mirrors.digitalocean.com trusty/main Sources
  111. Hit http://mirrors.digitalocean.com trusty/restricted Sources
  112. Hit http://mirrors.digitalocean.com trusty/universe Sources
  113. Hit http://mirrors.digitalocean.com trusty/multiverse Sources
  114. Hit http://mirrors.digitalocean.com trusty/main amd64 Packages
  115. Hit http://mirrors.digitalocean.com trusty/restricted amd64 Packages
  116. Hit http://mirrors.digitalocean.com trusty/universe amd64 Packages
  117. Hit http://mirrors.digitalocean.com trusty/multiverse amd64 Packages
  118. Hit http://mirrors.digitalocean.com trusty/main i386 Packages
  119. Hit http://mirrors.digitalocean.com trusty/restricted i386 Packages
  120. Hit http://mirrors.digitalocean.com trusty/universe i386 Packages
  121. Hit http://mirrors.digitalocean.com trusty/multiverse i386 Packages
  122. Hit http://mirrors.digitalocean.com trusty/main Translation-en
  123. Hit http://mirrors.digitalocean.com trusty/multiverse Translation-en
  124. Hit http://mirrors.digitalocean.com trusty/restricted Translation-en
  125. Hit http://mirrors.digitalocean.com trusty/universe Translation-en
  126. Ign http://mirrors.digitalocean.com trusty/main Translation-en_US
  127. Ign http://mirrors.digitalocean.com trusty/multiverse Translation-en_US
  128. Ign http://mirrors.digitalocean.com trusty/restricted Translation-en_US
  129. Ign http://mirrors.digitalocean.com trusty/universe Translation-en_US
  130. Fetched 1,557 kB in 18s (82.0 kB/s)
  131. Reading package lists... Done
  132. Reading package lists... Done
  133. Building dependency tree
  134. Reading state information... Done
  135. The following NEW packages will be installed:
  136. nginx-datim
  137. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  138. Need to get 2,958 B of archives.
  139. After this operation, 46.1 kB of additional disk space will be used.
  140. Get:1 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main nginx-datim amd64 1.0.0-0ubuntu10 [2,958 B]
  141. Fetched 2,958 B in 0s (14.0 kB/s)
  142. Selecting previously unselected package nginx-datim.
  143. (Reading database ... 64595 files and directories currently installed.)
  144. Preparing to unpack .../nginx-datim_1.0.0-0ubuntu10_amd64.deb ...
  145. Unpacking nginx-datim (1.0.0-0ubuntu10) ...
  146. Setting up nginx-datim (1.0.0-0ubuntu10) ...
  147. Nginx-datim: Creating unique self signed cert...
  148. Generating a 2048 bit RSA private key
  149. ...............+++
  150. .................+++
  151. writing new private key to '/etc/ssl/private/datim.key'
  152. -----
  153. Nginx-datim: Deactivating current nginx sites...
  154. Nginx-datim: Activating datim site...
  155. Nginx-datim: Restarting nginx
  156. * Restarting nginx nginx [ OK ]
  157. Reading package lists... Done
  158. Building dependency tree
  159. Reading state information... Done
  160. The following extra packages will be installed:
  161. build-essential dpkg-dev fakeroot g++ g++-4.8 gyp javascript-common
  162. libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  163. libc-ares-dev libc-ares2 libdpkg-perl libfakeroot libfile-fcntllock-perl
  164. libjs-node-uuid libstdc++-4.8-dev libv8-3.14-dev libv8-3.14.5 make
  165. node-abbrev node-ansi node-archy node-async node-block-stream
  166. node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent
  167. node-form-data node-fstream node-fstream-ignore node-github-url-from-git
  168. node-glob node-graceful-fs node-gyp node-inherits node-ini
  169. node-json-stringify-safe node-lockfile node-lru-cache node-mime
  170. node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  171. node-normalize-package-data node-npmlog node-once node-osenv node-qs
  172. node-read node-read-package-json node-request node-retry node-rimraf
  173. node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  174. node-which nodejs nodejs-dev npm
  175. Suggested packages:
  176. debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
  177. libstdc++-4.8-doc make-doc node-hawk node-aws-sign node-oauth-sign
  178. node-http-signature
  179. The following NEW packages will be installed:
  180. build-essential dpkg-dev fakeroot g++ g++-4.8 gyp javascript-common
  181. libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  182. libc-ares-dev libc-ares2 libdpkg-perl libfakeroot libfile-fcntllock-perl
  183. libjs-node-uuid libstdc++-4.8-dev libv8-3.14-dev libv8-3.14.5 make
  184. mechanismimporter node-abbrev node-ansi node-archy node-async
  185. node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
  186. node-forever-agent node-form-data node-fstream node-fstream-ignore
  187. node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
  188. node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
  189. node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  190. node-normalize-package-data node-npmlog node-once node-osenv node-qs
  191. node-read node-read-package-json node-request node-retry node-rimraf
  192. node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  193. node-which nodejs nodejs-dev npm
  194. 0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded.
  195. Need to get 23.7 MB of archives.
  196. After this operation, 58.7 MB of additional disk space will be used.
  197. Get:1 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main mechanismimporter amd64 1.0.0-0ubuntu17 [25.4 kB]
  198. Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty/main libc-ares2 amd64 1.10.0-2 [38.5 kB]
  199. Get:3 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1,053 kB]
  200. Get:4 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
  201. Get:5 http://mirrors.digitalocean.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
  202. Get:6 http://mirrors.digitalocean.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
  203. Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
  204. Get:8 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
  205. Get:9 http://mirrors.digitalocean.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
  206. Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
  207. Get:11 http://mirrors.digitalocean.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
  208. Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty/universe gyp all 0.1~svn1729-3ubuntu1 [201 kB]
  209. Get:13 http://mirrors.digitalocean.com/ubuntu/ trusty/main javascript-common all 11 [6,066 B]
  210. Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
  211. Get:15 http://mirrors.digitalocean.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
  212. Get:16 http://mirrors.digitalocean.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
  213. Get:17 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
  214. Get:18 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libjs-node-uuid all 1.4.0-1 [11.1 kB]
  215. Get:19 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libv8-3.14.5 amd64 3.14.5.8-5ubuntu2 [1,189 kB]
  216. Get:20 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libv8-3.14-dev amd64 3.14.5.8-5ubuntu2 [57.6 kB]
  217. Get:21 http://mirrors.digitalocean.com/ubuntu/ trusty/universe nodejs amd64 0.10.25~dfsg2-2ubuntu1 [684 kB]
  218. Get:22 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-abbrev all 1.0.4-2 [3,814 B]
  219. Get:23 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-ansi all 0.2.1-1 [8,692 B]
  220. Get:24 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-archy all 0.0.2-1 [3,660 B]
  221. Get:25 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-inherits all 2.0.0-1 [3,090 B]
  222. Get:26 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-block-stream all 0.0.7-1 [4,832 B]
  223. Get:27 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-rimraf all 2.2.2-2 [5,392 B]
  224. Get:28 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-mkdirp all 0.3.5-1 [4,146 B]
  225. Get:29 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-graceful-fs all 2.0.0-2 [6,718 B]
  226. Get:30 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-fstream all 0.1.24-1 [19.5 kB]
  227. Get:31 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-lru-cache all 2.3.1-1 [5,674 B]
  228. Get:32 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-sigmund all 1.0.0-1 [3,818 B]
  229. Get:33 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-minimatch all 0.2.12-1 [14.9 kB]
  230. Get:34 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-fstream-ignore all 0.0.6-2 [5,586 B]
  231. Get:35 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-github-url-from-git all 1.1.1-1 [3,138 B]
  232. Get:36 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-glob all 3.2.6-1 [13.7 kB]
  233. Get:37 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-ini all 1.1.0-1 [4,770 B]
  234. Get:38 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-lockfile all 0.4.1-1 [5,450 B]
  235. Get:39 http://mirrors.digitalocean.com/ubuntu/ trusty/main libc-ares-dev amd64 1.10.0-2 [109 kB]
  236. Get:40 http://mirrors.digitalocean.com/ubuntu/ trusty/universe nodejs-dev amd64 0.10.25~dfsg2-2ubuntu1 [169 kB]
  237. Get:41 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-nopt all 2.1.2-1 [11.8 kB]
  238. Get:42 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-npmlog all 0.0.4-1 [5,844 B]
  239. Get:43 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-osenv all 0.0.3-1 [3,810 B]
  240. Get:44 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-delayed-stream all 0.0.5-1 [4,750 B]
  241. Get:45 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-combined-stream all 0.0.4-1 [4,686 B]
  242. Get:46 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-mime all 1.2.11-1 [20.2 kB]
  243. Get:47 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-async all 0.2.5-1 [17.7 kB]
  244. Get:48 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-form-data all 0.1.0-1 [6,412 B]
  245. Get:49 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-node-uuid all 1.4.0-1 [2,530 B]
  246. Get:50 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-forever-agent all 0.5.1-1 [3,194 B]
  247. Get:51 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-tunnel-agent all 0.3.1-1 [4,018 B]
  248. Get:52 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-json-stringify-safe all 5.0.0-1 [3,544 B]
  249. Get:53 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-qs all 0.6.5-1 [5,876 B]
  250. Get:54 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-cookie-jar all 0.3.1-1 [3,746 B]
  251. Get:55 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-request all 2.26.1-1 [14.5 kB]
  252. Get:56 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-semver all 2.1.0-2 [16.2 kB]
  253. Get:57 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-tar all 0.1.18-1 [18.3 kB]
  254. Get:58 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-which all 1.0.5-2 [3,678 B]
  255. Get:59 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-gyp all 0.10.10-2 [22.6 kB]
  256. Get:60 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-once all 1.1.1-1 [2,608 B]
  257. Get:61 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-mute-stream all 0.0.3-1 [3,738 B]
  258. Get:62 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-read all 1.0.4-1 [4,282 B]
  259. Get:63 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-normalize-package-data all 0.2.2-1 [9,286 B]
  260. Get:64 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-read-package-json all 1.1.3-1 [7,762 B]
  261. Get:65 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-retry all 0.6.0-1 [6,172 B]
  262. Get:66 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-sha all 1.2.3-1 [4,272 B]
  263. Get:67 http://mirrors.digitalocean.com/ubuntu/ trusty/universe node-slide all 1.1.4-1 [6,118 B]
  264. Get:68 http://mirrors.digitalocean.com/ubuntu/ trusty/universe npm all 1.3.10~dfsg-1 [442 kB]
  265. Fetched 23.7 MB in 5s (4,263 kB/s)
  266. Extracting templates from packages: 100%
  267. Selecting previously unselected package libc-ares2:amd64.
  268. (Reading database ... 64604 files and directories currently installed.)
  269. Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ...
  270. Unpacking libc-ares2:amd64 (1.10.0-2) ...
  271. Selecting previously unselected package libstdc++-4.8-dev:amd64.
  272. Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  273. Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  274. Selecting previously unselected package g++-4.8.
  275. Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
  276. Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
  277. Selecting previously unselected package g++.
  278. Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
  279. Unpacking g++ (4:4.8.2-1ubuntu6) ...
  280. Selecting previously unselected package make.
  281. Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
  282. Unpacking make (3.81-8.2ubuntu3) ...
  283. Selecting previously unselected package libdpkg-perl.
  284. Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
  285. Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
  286. Selecting previously unselected package dpkg-dev.
  287. Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
  288. Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
  289. Selecting previously unselected package build-essential.
  290. Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
  291. Unpacking build-essential (11.6ubuntu6) ...
  292. Selecting previously unselected package libfakeroot:amd64.
  293. Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
  294. Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
  295. Selecting previously unselected package fakeroot.
  296. Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
  297. Unpacking fakeroot (1.20-3ubuntu2) ...
  298. Selecting previously unselected package gyp.
  299. Preparing to unpack .../gyp_0.1~svn1729-3ubuntu1_all.deb ...
  300. Unpacking gyp (0.1~svn1729-3ubuntu1) ...
  301. Selecting previously unselected package javascript-common.
  302. Preparing to unpack .../javascript-common_11_all.deb ...
  303. Unpacking javascript-common (11) ...
  304. Selecting previously unselected package libalgorithm-diff-perl.
  305. Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
  306. Unpacking libalgorithm-diff-perl (1.19.02-3) ...
  307. Selecting previously unselected package libalgorithm-diff-xs-perl.
  308. Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
  309. Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
  310. Selecting previously unselected package libalgorithm-merge-perl.
  311. Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
  312. Unpacking libalgorithm-merge-perl (0.08-2) ...
  313. Selecting previously unselected package libfile-fcntllock-perl.
  314. Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
  315. Unpacking libfile-fcntllock-perl (0.14-2build1) ...
  316. Selecting previously unselected package libjs-node-uuid.
  317. Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ...
  318. Unpacking libjs-node-uuid (1.4.0-1) ...
  319. Selecting previously unselected package libv8-3.14.5.
  320. Preparing to unpack .../libv8-3.14.5_3.14.5.8-5ubuntu2_amd64.deb ...
  321. Unpacking libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
  322. Selecting previously unselected package libv8-3.14-dev.
  323. Preparing to unpack .../libv8-3.14-dev_3.14.5.8-5ubuntu2_amd64.deb ...
  324. Unpacking libv8-3.14-dev (3.14.5.8-5ubuntu2) ...
  325. Selecting previously unselected package nodejs.
  326. Preparing to unpack .../nodejs_0.10.25~dfsg2-2ubuntu1_amd64.deb ...
  327. Unpacking nodejs (0.10.25~dfsg2-2ubuntu1) ...
  328. Selecting previously unselected package node-abbrev.
  329. Preparing to unpack .../node-abbrev_1.0.4-2_all.deb ...
  330. Unpacking node-abbrev (1.0.4-2) ...
  331. Selecting previously unselected package node-ansi.
  332. Preparing to unpack .../node-ansi_0.2.1-1_all.deb ...
  333. Unpacking node-ansi (0.2.1-1) ...
  334. Selecting previously unselected package node-archy.
  335. Preparing to unpack .../node-archy_0.0.2-1_all.deb ...
  336. Unpacking node-archy (0.0.2-1) ...
  337. Selecting previously unselected package node-inherits.
  338. Preparing to unpack .../node-inherits_2.0.0-1_all.deb ...
  339. Unpacking node-inherits (2.0.0-1) ...
  340. Selecting previously unselected package node-block-stream.
  341. Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ...
  342. Unpacking node-block-stream (0.0.7-1) ...
  343. Selecting previously unselected package node-rimraf.
  344. Preparing to unpack .../node-rimraf_2.2.2-2_all.deb ...
  345. Unpacking node-rimraf (2.2.2-2) ...
  346. Selecting previously unselected package node-mkdirp.
  347. Preparing to unpack .../node-mkdirp_0.3.5-1_all.deb ...
  348. Unpacking node-mkdirp (0.3.5-1) ...
  349. Selecting previously unselected package node-graceful-fs.
  350. Preparing to unpack .../node-graceful-fs_2.0.0-2_all.deb ...
  351. Unpacking node-graceful-fs (2.0.0-2) ...
  352. Selecting previously unselected package node-fstream.
  353. Preparing to unpack .../node-fstream_0.1.24-1_all.deb ...
  354. Unpacking node-fstream (0.1.24-1) ...
  355. Selecting previously unselected package node-lru-cache.
  356. Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ...
  357. Unpacking node-lru-cache (2.3.1-1) ...
  358. Selecting previously unselected package node-sigmund.
  359. Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ...
  360. Unpacking node-sigmund (1.0.0-1) ...
  361. Selecting previously unselected package node-minimatch.
  362. Preparing to unpack .../node-minimatch_0.2.12-1_all.deb ...
  363. Unpacking node-minimatch (0.2.12-1) ...
  364. Selecting previously unselected package node-fstream-ignore.
  365. Preparing to unpack .../node-fstream-ignore_0.0.6-2_all.deb ...
  366. Unpacking node-fstream-ignore (0.0.6-2) ...
  367. Selecting previously unselected package node-github-url-from-git.
  368. Preparing to unpack .../node-github-url-from-git_1.1.1-1_all.deb ...
  369. Unpacking node-github-url-from-git (1.1.1-1) ...
  370. Selecting previously unselected package node-glob.
  371. Preparing to unpack .../node-glob_3.2.6-1_all.deb ...
  372. Unpacking node-glob (3.2.6-1) ...
  373. Selecting previously unselected package node-ini.
  374. Preparing to unpack .../node-ini_1.1.0-1_all.deb ...
  375. Unpacking node-ini (1.1.0-1) ...
  376. Selecting previously unselected package node-lockfile.
  377. Preparing to unpack .../node-lockfile_0.4.1-1_all.deb ...
  378. Unpacking node-lockfile (0.4.1-1) ...
  379. Selecting previously unselected package libc-ares-dev:amd64.
  380. Preparing to unpack .../libc-ares-dev_1.10.0-2_amd64.deb ...
  381. Unpacking libc-ares-dev:amd64 (1.10.0-2) ...
  382. Selecting previously unselected package nodejs-dev.
  383. Preparing to unpack .../nodejs-dev_0.10.25~dfsg2-2ubuntu1_amd64.deb ...
  384. Unpacking nodejs-dev (0.10.25~dfsg2-2ubuntu1) ...
  385. Selecting previously unselected package node-nopt.
  386. Preparing to unpack .../node-nopt_2.1.2-1_all.deb ...
  387. Unpacking node-nopt (2.1.2-1) ...
  388. Selecting previously unselected package node-npmlog.
  389. Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ...
  390. Unpacking node-npmlog (0.0.4-1) ...
  391. Selecting previously unselected package node-osenv.
  392. Preparing to unpack .../node-osenv_0.0.3-1_all.deb ...
  393. Unpacking node-osenv (0.0.3-1) ...
  394. Selecting previously unselected package node-delayed-stream.
  395. Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ...
  396. Unpacking node-delayed-stream (0.0.5-1) ...
  397. Selecting previously unselected package node-combined-stream.
  398. Preparing to unpack .../node-combined-stream_0.0.4-1_all.deb ...
  399. Unpacking node-combined-stream (0.0.4-1) ...
  400. Selecting previously unselected package node-mime.
  401. Preparing to unpack .../node-mime_1.2.11-1_all.deb ...
  402. Unpacking node-mime (1.2.11-1) ...
  403. Selecting previously unselected package node-async.
  404. Preparing to unpack .../node-async_0.2.5-1_all.deb ...
  405. Unpacking node-async (0.2.5-1) ...
  406. Selecting previously unselected package node-form-data.
  407. Preparing to unpack .../node-form-data_0.1.0-1_all.deb ...
  408. Unpacking node-form-data (0.1.0-1) ...
  409. Selecting previously unselected package node-node-uuid.
  410. Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ...
  411. Unpacking node-node-uuid (1.4.0-1) ...
  412. Selecting previously unselected package node-forever-agent.
  413. Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ...
  414. Unpacking node-forever-agent (0.5.1-1) ...
  415. Selecting previously unselected package node-tunnel-agent.
  416. Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ...
  417. Unpacking node-tunnel-agent (0.3.1-1) ...
  418. Selecting previously unselected package node-json-stringify-safe.
  419. Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ...
  420. Unpacking node-json-stringify-safe (5.0.0-1) ...
  421. Selecting previously unselected package node-qs.
  422. Preparing to unpack .../node-qs_0.6.5-1_all.deb ...
  423. Unpacking node-qs (0.6.5-1) ...
  424. Selecting previously unselected package node-cookie-jar.
  425. Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ...
  426. Unpacking node-cookie-jar (0.3.1-1) ...
  427. Selecting previously unselected package node-request.
  428. Preparing to unpack .../node-request_2.26.1-1_all.deb ...
  429. Unpacking node-request (2.26.1-1) ...
  430. Selecting previously unselected package node-semver.
  431. Preparing to unpack .../node-semver_2.1.0-2_all.deb ...
  432. Unpacking node-semver (2.1.0-2) ...
  433. Selecting previously unselected package node-tar.
  434. Preparing to unpack .../node-tar_0.1.18-1_all.deb ...
  435. Unpacking node-tar (0.1.18-1) ...
  436. Selecting previously unselected package node-which.
  437. Preparing to unpack .../node-which_1.0.5-2_all.deb ...
  438. Unpacking node-which (1.0.5-2) ...
  439. Selecting previously unselected package node-gyp.
  440. Preparing to unpack .../node-gyp_0.10.10-2_all.deb ...
  441. Unpacking node-gyp (0.10.10-2) ...
  442. Selecting previously unselected package node-once.
  443. Preparing to unpack .../node-once_1.1.1-1_all.deb ...
  444. Unpacking node-once (1.1.1-1) ...
  445. Selecting previously unselected package node-mute-stream.
  446. Preparing to unpack .../node-mute-stream_0.0.3-1_all.deb ...
  447. Unpacking node-mute-stream (0.0.3-1) ...
  448. Selecting previously unselected package node-read.
  449. Preparing to unpack .../node-read_1.0.4-1_all.deb ...
  450. Unpacking node-read (1.0.4-1) ...
  451. Selecting previously unselected package node-normalize-package-data.
  452. Preparing to unpack .../node-normalize-package-data_0.2.2-1_all.deb ...
  453. Unpacking node-normalize-package-data (0.2.2-1) ...
  454. Selecting previously unselected package node-read-package-json.
  455. Preparing to unpack .../node-read-package-json_1.1.3-1_all.deb ...
  456. Unpacking node-read-package-json (1.1.3-1) ...
  457. Selecting previously unselected package node-retry.
  458. Preparing to unpack .../node-retry_0.6.0-1_all.deb ...
  459. Unpacking node-retry (0.6.0-1) ...
  460. Selecting previously unselected package node-sha.
  461. Preparing to unpack .../node-sha_1.2.3-1_all.deb ...
  462. Unpacking node-sha (1.2.3-1) ...
  463. Selecting previously unselected package node-slide.
  464. Preparing to unpack .../node-slide_1.1.4-1_all.deb ...
  465. Unpacking node-slide (1.1.4-1) ...
  466. Selecting previously unselected package npm.
  467. Preparing to unpack .../npm_1.3.10~dfsg-1_all.deb ...
  468. Unpacking npm (1.3.10~dfsg-1) ...
  469. Selecting previously unselected package mechanismimporter.
  470. Preparing to unpack .../mechanismimporter_1.0.0-0ubuntu17_amd64.deb ...
  471. Unpacking mechanismimporter (1.0.0-0ubuntu17) ...
  472. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  473. Processing triggers for ureadahead (0.100.0-16) ...
  474. Setting up libc-ares2:amd64 (1.10.0-2) ...
  475. Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
  476. Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
  477. Setting up g++ (4:4.8.2-1ubuntu6) ...
  478. update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
  479. Setting up make (3.81-8.2ubuntu3) ...
  480. Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
  481. Setting up dpkg-dev (1.17.5ubuntu5.7) ...
  482. Setting up build-essential (11.6ubuntu6) ...
  483. Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
  484. Setting up fakeroot (1.20-3ubuntu2) ...
  485. update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  486. Setting up gyp (0.1~svn1729-3ubuntu1) ...
  487. Setting up javascript-common (11) ...
  488. Setting up libalgorithm-diff-perl (1.19.02-3) ...
  489. Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
  490. Setting up libalgorithm-merge-perl (0.08-2) ...
  491. Setting up libfile-fcntllock-perl (0.14-2build1) ...
  492. Setting up libjs-node-uuid (1.4.0-1) ...
  493. Setting up libv8-3.14.5 (3.14.5.8-5ubuntu2) ...
  494. Setting up libv8-3.14-dev (3.14.5.8-5ubuntu2) ...
  495. Setting up nodejs (0.10.25~dfsg2-2ubuntu1) ...
  496. update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
  497. Setting up node-abbrev (1.0.4-2) ...
  498. Setting up node-ansi (0.2.1-1) ...
  499. Setting up node-archy (0.0.2-1) ...
  500. Setting up node-inherits (2.0.0-1) ...
  501. Setting up node-block-stream (0.0.7-1) ...
  502. Setting up node-rimraf (2.2.2-2) ...
  503. Setting up node-mkdirp (0.3.5-1) ...
  504. Setting up node-graceful-fs (2.0.0-2) ...
  505. Setting up node-fstream (0.1.24-1) ...
  506. Setting up node-lru-cache (2.3.1-1) ...
  507. Setting up node-sigmund (1.0.0-1) ...
  508. Setting up node-minimatch (0.2.12-1) ...
  509. Setting up node-fstream-ignore (0.0.6-2) ...
  510. Setting up node-github-url-from-git (1.1.1-1) ...
  511. Setting up node-glob (3.2.6-1) ...
  512. Setting up node-ini (1.1.0-1) ...
  513. Setting up node-lockfile (0.4.1-1) ...
  514. Setting up libc-ares-dev:amd64 (1.10.0-2) ...
  515. Setting up nodejs-dev (0.10.25~dfsg2-2ubuntu1) ...
  516. Setting up node-nopt (2.1.2-1) ...
  517. Setting up node-npmlog (0.0.4-1) ...
  518. Setting up node-osenv (0.0.3-1) ...
  519. Setting up node-delayed-stream (0.0.5-1) ...
  520. Setting up node-combined-stream (0.0.4-1) ...
  521. Setting up node-mime (1.2.11-1) ...
  522. Setting up node-async (0.2.5-1) ...
  523. Setting up node-form-data (0.1.0-1) ...
  524. Setting up node-node-uuid (1.4.0-1) ...
  525. Setting up node-forever-agent (0.5.1-1) ...
  526. Setting up node-tunnel-agent (0.3.1-1) ...
  527. Setting up node-json-stringify-safe (5.0.0-1) ...
  528. Setting up node-qs (0.6.5-1) ...
  529. Setting up node-cookie-jar (0.3.1-1) ...
  530. Setting up node-request (2.26.1-1) ...
  531. Setting up node-semver (2.1.0-2) ...
  532. Setting up node-tar (0.1.18-1) ...
  533. Setting up node-which (1.0.5-2) ...
  534. Setting up node-gyp (0.10.10-2) ...
  535. Setting up node-once (1.1.1-1) ...
  536. Setting up node-mute-stream (0.0.3-1) ...
  537. Setting up node-read (1.0.4-1) ...
  538. Setting up node-normalize-package-data (0.2.2-1) ...
  539. Setting up node-read-package-json (1.1.3-1) ...
  540. Setting up node-retry (0.6.0-1) ...
  541. Setting up node-sha (1.2.3-1) ...
  542. Setting up node-slide (1.1.4-1) ...
  543. Setting up npm (1.3.10~dfsg-1) ...
  544. Setting up mechanismimporter (1.0.0-0ubuntu17) ...
  545. id: mechanismimporter: no such user
  546. Creating mechanismimporter user...
  547. npm http GET https://registry.npmjs.org/synchronize
  548. npm http 200 https://registry.npmjs.org/synchronize
  549. npm http GET https://registry.npmjs.org/synchronize/-/synchronize-0.9.15.tgz
  550. npm http 200 https://registry.npmjs.org/synchronize/-/synchronize-0.9.15.tgz
  551. npm http GET https://registry.npmjs.org/fibers
  552. npm http 200 https://registry.npmjs.org/fibers
  553. npm http GET https://registry.npmjs.org/fibers/-/fibers-1.0.13.tgz
  554. npm http 200 https://registry.npmjs.org/fibers/-/fibers-1.0.13.tgz
  555.  
  556. > fibers@1.0.13 install /var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers
  557. > node build.js || nodejs build.js
  558.  
  559. sh: 1: node: not found
  560. make: Entering directory `/var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers/build'
  561. CXX(target) Release/obj.target/fibers/src/fibers.o
  562. CXX(target) Release/obj.target/fibers/src/coroutine.o
  563. CC(target) Release/obj.target/fibers/src/libcoro/coro.o
  564. SOLINK_MODULE(target) Release/obj.target/fibers.node
  565. SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished
  566. COPY Release/fibers.node
  567. make: Leaving directory `/var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers/build'
  568. Installed in `/var/lib/mechanismimporter/node_modules/synchronize/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node`
  569. synchronize@0.9.15 var/lib/mechanismimporter/node_modules/synchronize
  570. └── fibers@1.0.13
  571. npm http GET https://registry.npmjs.org/xml2js
  572. npm http 200 https://registry.npmjs.org/xml2js
  573. npm http GET https://registry.npmjs.org/xml2js/-/xml2js-0.4.17.tgz
  574. npm http 200 https://registry.npmjs.org/xml2js/-/xml2js-0.4.17.tgz
  575. npm http GET https://registry.npmjs.org/sax
  576. npm http GET https://registry.npmjs.org/xmlbuilder
  577. npm http 200 https://registry.npmjs.org/sax
  578. npm http GET https://registry.npmjs.org/sax/-/sax-1.2.1.tgz
  579. npm http 200 https://registry.npmjs.org/sax/-/sax-1.2.1.tgz
  580. npm http 200 https://registry.npmjs.org/xmlbuilder
  581. npm http GET https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.2.1.tgz
  582. npm http 200 https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.2.1.tgz
  583. npm http GET https://registry.npmjs.org/lodash
  584. npm http 200 https://registry.npmjs.org/lodash
  585. npm http GET https://registry.npmjs.org/lodash/-/lodash-4.13.1.tgz
  586. npm http 200 https://registry.npmjs.org/lodash/-/lodash-4.13.1.tgz
  587. xml2js@0.4.17 var/lib/mechanismimporter/node_modules/xml2js
  588. ├── sax@1.2.1
  589. └── xmlbuilder@4.2.1 (lodash@4.13.1)
  590. npm http GET https://registry.npmjs.org/fast-csv
  591. npm http 200 https://registry.npmjs.org/fast-csv
  592. npm http GET https://registry.npmjs.org/fast-csv/-/fast-csv-2.1.0.tgz
  593. npm http 200 https://registry.npmjs.org/fast-csv/-/fast-csv-2.1.0.tgz
  594. npm WARN engine fast-csv@2.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})
  595. npm http GET https://registry.npmjs.org/is-extended/0.0.10
  596. npm http GET https://registry.npmjs.org/object-extended/0.0.7
  597. npm http GET https://registry.npmjs.org/extended/0.0.6
  598. npm http GET https://registry.npmjs.org/string-extended/0.0.8
  599. npm http 200 https://registry.npmjs.org/extended/0.0.6
  600. npm http GET https://registry.npmjs.org/extended/-/extended-0.0.6.tgz
  601. npm http 200 https://registry.npmjs.org/is-extended/0.0.10
  602. npm http GET https://registry.npmjs.org/is-extended/-/is-extended-0.0.10.tgz
  603. npm http 200 https://registry.npmjs.org/object-extended/0.0.7
  604. npm http GET https://registry.npmjs.org/object-extended/-/object-extended-0.0.7.tgz
  605. npm http 200 https://registry.npmjs.org/extended/-/extended-0.0.6.tgz
  606. npm http 200 https://registry.npmjs.org/is-extended/-/is-extended-0.0.10.tgz
  607. npm http 200 https://registry.npmjs.org/object-extended/-/object-extended-0.0.7.tgz
  608. npm http 200 https://registry.npmjs.org/string-extended/0.0.8
  609. npm http GET https://registry.npmjs.org/string-extended/-/string-extended-0.0.8.tgz
  610. npm http 200 https://registry.npmjs.org/string-extended/-/string-extended-0.0.8.tgz
  611. npm http GET https://registry.npmjs.org/array-extended
  612. npm http GET https://registry.npmjs.org/date-extended
  613. npm http GET https://registry.npmjs.org/array-extended
  614. npm http GET https://registry.npmjs.org/extender
  615. npm http 200 https://registry.npmjs.org/array-extended
  616. npm http GET https://registry.npmjs.org/array-extended/-/array-extended-0.0.11.tgz
  617. npm http 200 https://registry.npmjs.org/extender
  618. npm http 200 https://registry.npmjs.org/array-extended/-/array-extended-0.0.11.tgz
  619. npm http GET https://registry.npmjs.org/extender/-/extender-0.0.10.tgz
  620. npm http 200 https://registry.npmjs.org/extender/-/extender-0.0.10.tgz
  621. npm http 200 https://registry.npmjs.org/array-extended
  622. npm http 200 https://registry.npmjs.org/date-extended
  623. npm http GET https://registry.npmjs.org/date-extended/-/date-extended-0.0.6.tgz
  624. npm http 200 https://registry.npmjs.org/date-extended/-/date-extended-0.0.6.tgz
  625. npm http GET https://registry.npmjs.org/declare.js
  626. npm http GET https://registry.npmjs.org/arguments-extended
  627. npm http 200 https://registry.npmjs.org/declare.js
  628. npm http GET https://registry.npmjs.org/declare.js/-/declare.js-0.0.8.tgz
  629. npm http 200 https://registry.npmjs.org/arguments-extended
  630. npm http GET https://registry.npmjs.org/arguments-extended/-/arguments-extended-0.0.3.tgz
  631. npm http 200 https://registry.npmjs.org/arguments-extended/-/arguments-extended-0.0.3.tgz
  632. npm http 200 https://registry.npmjs.org/declare.js/-/declare.js-0.0.8.tgz
  633. fast-csv@2.1.0 var/lib/mechanismimporter/node_modules/fast-csv
  634. ├── is-extended@0.0.10
  635. ├── object-extended@0.0.7 (array-extended@0.0.11)
  636. ├── string-extended@0.0.8 (date-extended@0.0.6, array-extended@0.0.11)
  637. └── extended@0.0.6 (extender@0.0.10)
  638. npm http GET https://registry.npmjs.org/properties-reader
  639. npm http 200 https://registry.npmjs.org/properties-reader
  640. npm http GET https://registry.npmjs.org/properties-reader/-/properties-reader-0.0.15.tgz
  641. npm http 200 https://registry.npmjs.org/properties-reader/-/properties-reader-0.0.15.tgz
  642. npm http GET https://registry.npmjs.org/mkdirp
  643. npm http 200 https://registry.npmjs.org/mkdirp
  644. npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
  645. npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
  646. properties-reader@0.0.15 var/lib/mechanismimporter/node_modules/properties-reader
  647. └── mkdirp@0.3.5
  648. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  649. Processing triggers for ureadahead (0.100.0-16) ...
  650. Reading package lists... Done
  651. Building dependency tree
  652. Reading state information... Done
  653. The following extra packages will be installed:
  654. adxadapter approvals authbind csd-loader datim-mapping dhis2 dhis2-datim
  655. dhis2-tools gsfonts gsfonts-x11 java-common jq libapr1
  656. libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java
  657. libcrypt-openssl-random-perl libcrypt-passwdmd5-perl libecj-java libfontenc1
  658. libgeronimo-jta-1.1-spec-java libpq5 libservlet3.0-java libtcnative-1
  659. libtomcat7-java libxfont1 makepasswd mongodb-org mongodb-org-mongos
  660. mongodb-org-server mongodb-org-shell mongodb-org-tools
  661. openhim-config-datim-node openhim-console openhim-core-js openinfoman
  662. openinfoman-csv openinfoman-datim openinfoman-dhis openinfoman-mapping
  663. oracle-java8-set-default pgtune php5-cli php5-common php5-json php5-readline
  664. postgresql postgresql-9.3 postgresql-client postgresql-client-9.3
  665. postgresql-client-common postgresql-common ssl-cert tomcat7 tomcat7-common
  666. unzip user-management x11-common xfonts-encodings xfonts-utils
  667. Suggested packages:
  668. default-jre equivs libcommons-collections3-java-doc libcommons-dbcp-java-doc
  669. ecj ant libecj-java-gcj libgeronimo-jta-java-doc binfmt-support visualvm
  670. ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic
  671. ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
  672. firefox firefox-2 iceweasel mozilla-firefox iceape-browser mozilla-browser
  673. epiphany-gecko epiphany-webkit epiphany-browser galeon midbrowser
  674. moblin-web-browser xulrunner xulrunner-1.9 konqueror chromium-browser midori
  675. google-chrome postgresql-8.4 php-pear php5-user-cache oidentd ident-server
  676. locales-all postgresql-doc-9.3 openssl-blacklist tomcat7-docs tomcat7-admin
  677. tomcat7-examples tomcat7-user zip
  678. Recommended packages:
  679. default-jre-headless java2-runtime-headless java5-runtime-headless
  680. The following NEW packages will be installed:
  681. adxadapter approvals authbind csd-loader datim-mapping dhis2 dhis2-datim
  682. dhis2-tools gsfonts gsfonts-x11 java-common jq libapr1
  683. libcommons-collections3-java libcommons-dbcp-java libcommons-pool-java
  684. libcrypt-openssl-random-perl libcrypt-passwdmd5-perl libecj-java libfontenc1
  685. libgeronimo-jta-1.1-spec-java libpq5 libservlet3.0-java libtcnative-1
  686. libtomcat7-java libxfont1 makepasswd mongodb-org mongodb-org-mongos
  687. mongodb-org-server mongodb-org-shell mongodb-org-tools ohie-datim-node
  688. openhim-config-datim-node openhim-console openhim-core-js openinfoman
  689. openinfoman-csv openinfoman-datim openinfoman-dhis openinfoman-mapping
  690. oracle-java8-installer oracle-java8-set-default pgtune php5-cli php5-common
  691. php5-json php5-readline postgresql postgresql-9.3 postgresql-client
  692. postgresql-client-9.3 postgresql-client-common postgresql-common ssl-cert
  693. tomcat7 tomcat7-common unzip user-management x11-common xfonts-encodings
  694. xfonts-utils
  695. 0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded.
  696. Need to get 101 MB of archives.
  697. After this operation, 546 MB of additional disk space will be used.
  698. Get:1 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-shell amd64 3.2.8 [5,258 kB]
  699. Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-installer all 8u101+8u101arm-1~webupd8~2 [23.6 kB]
  700. Get:3 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main dhis2-tools amd64 1.2-1ubuntu0 [24.1 kB]
  701. Get:4 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-set-default all 8u101+8u101arm-1~webupd8~2 [5,354 B]
  702. Get:5 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-server amd64 3.2.8 [9,556 kB]
  703. Get:6 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main dhis2 amd64 2.21-0ubuntu11 [2,648 B]
  704. Get:7 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.13-0ubuntu0.14.04 [78.6 kB]
  705. Get:8 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main adxadapter amd64 1.0.0-0ubuntu8 [8,312 kB]
  706. Get:9 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-mongos amd64 3.2.8 [4,340 kB]
  707. Get:10 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-client-common all 154ubuntu1 [25.4 kB]
  708. Get:11 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org-tools amd64 3.2.8 [32.8 MB]
  709. Get:12 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-client-9.3 amd64 9.3.13-0ubuntu0.14.04 [784 kB]
  710. Get:13 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-client all 9.3+154ubuntu1 [5,052 B]
  711. Get:14 http://mirrors.digitalocean.com/ubuntu/ trusty/main java-common all 0.51 [130 kB]
  712. Get:15 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse mongodb-org amd64 3.2.8 [3,552 B]
  713. Get:16 http://mirrors.digitalocean.com/ubuntu/ trusty/main libecj-java all 3.9.0-1 [1,352 kB]
  714. Get:17 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcommons-pool-java all 1.6-2 [105 kB]
  715. Get:18 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcommons-collections3-java all 3.2.1-6 [602 kB]
  716. Get:19 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcommons-dbcp-java all 1.4-3ubuntu1 [149 kB]
  717. Get:20 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libservlet3.0-java all 7.0.52-1ubuntu0.6 [295 kB]
  718. Get:21 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libtomcat7-java all 7.0.52-1ubuntu0.6 [3,652 kB]
  719. Get:22 http://ppa.launchpad.net/openhie/release/ubuntu/ trusty/main openhim-core-js amd64 2.0.0-12~trusty [6,493 kB]
  720. Get:23 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main tomcat7-common all 7.0.52-1ubuntu0.6 [48.1 kB]
  721. Get:24 http://mirrors.digitalocean.com/ubuntu/ trusty/main libapr1 amd64 1.5.0-1 [85.1 kB]
  722. Get:25 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libtcnative-1 amd64 1.1.29-1 [79.1 kB]
  723. Get:26 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcrypt-passwdmd5-perl all 1.3-10 [10.4 kB]
  724. Get:27 http://mirrors.digitalocean.com/ubuntu/ trusty/main libcrypt-openssl-random-perl amd64 0.04-1build6 [11.3 kB]
  725. Get:28 http://mirrors.digitalocean.com/ubuntu/ trusty/universe makepasswd all 1.10-9 [12.0 kB]
  726. Get:29 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main unzip amd64 6.0-9ubuntu1.5 [157 kB]
  727. Get:30 http://mirrors.digitalocean.com/ubuntu/ trusty/main ssl-cert all 1.0.33 [16.6 kB]
  728. Get:31 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-common all 154ubuntu1 [103 kB]
  729. Get:32 http://ppa.launchpad.net/openhie/release/ubuntu/ trusty/main openinfoman all 1.4.18~trusty [1,548 kB]
  730. Get:33 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql-9.3 amd64 9.3.13-0ubuntu0.14.04 [2,686 kB]
  731. Get:34 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main postgresql all 9.3+154ubuntu1 [5,038 B]
  732. Get:35 http://mirrors.digitalocean.com/ubuntu/ trusty/universe pgtune all 0.9.3-2 [34.2 kB]
  733. Get:36 http://ppa.launchpad.net/openhie/release/ubuntu/ trusty/main openinfoman-dhis all 1.4.1~trusty [554 kB]
  734. Get:37 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main tomcat7 all 7.0.52-1ubuntu0.6 [35.7 kB]
  735. Get:38 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main openinfoman-datim all 1.2.2~trusty [957 kB]
  736. Get:39 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main openinfoman-csv all 1.2.1~trusty [3,414 B]
  737. Get:40 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main openinfoman-mapping all 1.0.3~trusty [5,748 B]
  738. Get:41 http://mirrors.digitalocean.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB]
  739. Get:42 http://ppa.launchpad.net/openhie/release/ubuntu/ trusty/main openhim-console all 1.6.0-10~trusty [507 kB]
  740. Get:43 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.2 [95.0 kB]
  741. Get:44 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main user-management amd64 0.3.2-1ubuntu1 [628 kB]
  742. Get:45 http://mirrors.digitalocean.com/ubuntu/ trusty/universe jq amd64 1.3-1.1ubuntu1 [97.8 kB]
  743. Get:46 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main approvals amd64 0.4.9-1ubuntu1 [612 kB]
  744. Get:47 http://mirrors.digitalocean.com/ubuntu/ trusty/main php5-json amd64 1.3.2-2build1 [34.4 kB]
  745. Get:48 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main dhis2-datim amd64 1.0.0-1ubuntu11 [127 kB]
  746. Get:49 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main php5-common amd64 5.5.9+dfsg-1ubuntu4.17 [444 kB]
  747. Get:50 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main csd-loader amd64 1.2.9-1ubuntu1 [180 kB]
  748. Get:51 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main openhim-config-datim-node amd64 0.3.1-12~trusty [11.8 MB]
  749. Get:52 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main php5-cli amd64 5.5.9+dfsg-1ubuntu4.17 [2,162 kB]
  750. Get:53 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main php5-readline amd64 5.5.9+dfsg-1ubuntu4.17 [12.1 kB]
  751. Get:54 http://mirrors.digitalocean.com/ubuntu/ trusty/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
  752. Get:55 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB]
  753. Get:56 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB]
  754. Get:57 http://mirrors.digitalocean.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB]
  755. Get:58 http://mirrors.digitalocean.com/ubuntu/ trusty/main gsfonts-x11 all 0.22 [9,108 B]
  756. Get:59 http://mirrors.digitalocean.com/ubuntu/ trusty/main libgeronimo-jta-1.1-spec-java all 1.1.1-3ubuntu1 [12.4 kB]
  757. Get:60 http://mirrors.digitalocean.com/ubuntu/ trusty/main authbind amd64 2.1.1 [19.6 kB]
  758. Get:61 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main datim-mapping amd64 1.0.0-1ubuntu1 [4,886 B]
  759. Get:62 http://ppa.launchpad.net/openhie/datim/ubuntu/ trusty/main ohie-datim-node amd64 1.0.0-0ubuntu7 [3,090 B]
  760. Fetched 101 MB in 17s (5,890 kB/s)
  761. Extracting templates from packages: 100%
  762. Preconfiguring packages ...
  763. + OI=/var/lib/openinfoman
  764. + USERNAME=oi
  765. + action=configure
  766. + cur_version=
  767. + . /usr/share/debconf/confmodule
  768. ++ '[' '!' 1 ']'
  769. ++ '[' -z '' ']'
  770. ++ exec
  771. ++ '[' '' ']'
  772. ++ exec
  773. ++ DEBCONF_REDIR=1
  774. ++ export DEBCONF_REDIR
  775. + db_input high openinfoman/memsize
  776. + _db_cmd 'INPUT high' openinfoman/memsize
  777. + _db_internal_IFS='
  778. '
  779. + IFS=' '
  780. + printf '%s\n' 'INPUT high openinfoman/memsize'
  781. + IFS='
  782. '
  783. + IFS='
  784. '
  785. + read -r _db_internal_line
  786. + RET='30 question skipped'
  787. + case ${_db_internal_line%%[ ]*} in
  788. + return 30
  789. + true
  790. + db_go
  791. + _db_cmd 'GO '
  792. + _db_internal_IFS='
  793. '
  794. + IFS=' '
  795. + printf '%s\n' 'GO '
  796. + IFS='
  797. '
  798. + IFS='
  799. '
  800. + read -r _db_internal_line
  801. + RET=ok
  802. + case ${_db_internal_line%%[ ]*} in
  803. + return 0
  804. + db_get openinfoman/memsize
  805. + _db_cmd 'GET openinfoman/memsize'
  806. + _db_internal_IFS='
  807. '
  808. + IFS=' '
  809. + printf '%s\n' 'GET openinfoman/memsize'
  810. + IFS='
  811. '
  812. + IFS='
  813. '
  814. + read -r _db_internal_line
  815. + RET=8G
  816. + case ${_db_internal_line%%[ ]*} in
  817. + return 0
  818. + HEAP=8G
  819. + db_input high openinfoman/baseurl
  820. + _db_cmd 'INPUT high' openinfoman/baseurl
  821. + _db_internal_IFS='
  822. '
  823. + IFS=' '
  824. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  825. + IFS='
  826. '
  827. + IFS='
  828. '
  829. + read -r _db_internal_line
  830. + RET='30 question skipped'
  831. + case ${_db_internal_line%%[ ]*} in
  832. + return 30
  833. + true
  834. + db_go
  835. + _db_cmd 'GO '
  836. + _db_internal_IFS='
  837. '
  838. + IFS=' '
  839. + printf '%s\n' 'GO '
  840. + IFS='
  841. '
  842. + IFS='
  843. '
  844. + read -r _db_internal_line
  845. + RET=ok
  846. + case ${_db_internal_line%%[ ]*} in
  847. + return 0
  848. + db_get openinfoman/baseurl
  849. + _db_cmd 'GET openinfoman/baseurl'
  850. + _db_internal_IFS='
  851. '
  852. + IFS=' '
  853. + printf '%s\n' 'GET openinfoman/baseurl'
  854. + IFS='
  855. '
  856. + IFS='
  857. '
  858. + read -r _db_internal_line
  859. + RET=https://testnode9.ohie.org/ILR
  860. + case ${_db_internal_line%%[ ]*} in
  861. + return 0
  862. + BASEURL=https://testnode9.ohie.org/ILR
  863. + db_input high openinfoman/dbname
  864. + _db_cmd 'INPUT high' openinfoman/dbname
  865. + _db_internal_IFS='
  866. '
  867. + IFS=' '
  868. + printf '%s\n' 'INPUT high openinfoman/dbname'
  869. + IFS='
  870. '
  871. + IFS='
  872. '
  873. + read -r _db_internal_line
  874. + RET='30 question skipped'
  875. + case ${_db_internal_line%%[ ]*} in
  876. + return 30
  877. + true
  878. + db_go
  879. + _db_cmd 'GO '
  880. + _db_internal_IFS='
  881. '
  882. + IFS=' '
  883. + printf '%s\n' 'GO '
  884. + IFS='
  885. '
  886. + IFS='
  887. '
  888. + read -r _db_internal_line
  889. + RET=ok
  890. + case ${_db_internal_line%%[ ]*} in
  891. + return 0
  892. + db_get openinfoman/dbname
  893. + _db_cmd 'GET openinfoman/dbname'
  894. + _db_internal_IFS='
  895. '
  896. + IFS=' '
  897. + printf '%s\n' 'GET openinfoman/dbname'
  898. + IFS='
  899. '
  900. + IFS='
  901. '
  902. + read -r _db_internal_line
  903. + RET=provider_directory
  904. + case ${_db_internal_line%%[ ]*} in
  905. + return 0
  906. + DBNAME=provider_directory
  907. + mkdir -p /var/lib/openinfoman/repo-src
  908. + chown -R oi:oi /var/lib/openinfoman/repo-src
  909. chown: invalid user: ‘oi:oi’
  910. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  911. declare variable $csd_webconf:db := '\''provider_directory'\'';
  912. declare variable $csd_webconf:baseurl := '\''https://testnode9.ohie.org/ILR'\'';
  913. declare variable $csd_webconf:remote_services := ();
  914. '
  915. + echo '#!/usr/bin/env bash
  916. HEAP=8G
  917. # Path to this script
  918.  
  919. FILE="${BASH_SOURCE[0]}"
  920. while [ -h "$FILE" ] ; do
  921. SRC="$(readlink "$FILE")"
  922. FILE="$( cd -P "$(dirname "$FILE")" && \
  923. cd -P "$(dirname "$SRC")" && pwd )/$(basename "$SRC")"
  924. done
  925.  
  926. BX="$( cd -P "$(dirname "$FILE")/.." && pwd )"
  927. # API, core, and library classes
  928. CP="$BX/BaseX.jar$(printf ":%s" "$BX/lib/"*.jar "$BXCORE/lib/"*.jar)"
  929. # Options for virtual machine (can be extended by global options)
  930. BASEX_JVM="-Xmx$HEAP $BASEX_JVM"
  931.  
  932.  
  933. # Run code
  934. java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
  935.  
  936. '
  937. /tmp/openinfoman.config.LANnT0: line 64: /var/lib/openinfoman/bin/openinfoman: No such file or directory
  938. + exit 0
  939. Selecting previously unselected package libpq5.
  940. (Reading database ... 67110 files and directories currently installed.)
  941. Preparing to unpack .../libpq5_9.3.13-0ubuntu0.14.04_amd64.deb ...
  942. Unpacking libpq5 (9.3.13-0ubuntu0.14.04) ...
  943. Selecting previously unselected package postgresql-client-common.
  944. Preparing to unpack .../postgresql-client-common_154ubuntu1_all.deb ...
  945. Unpacking postgresql-client-common (154ubuntu1) ...
  946. Selecting previously unselected package postgresql-client-9.3.
  947. Preparing to unpack .../postgresql-client-9.3_9.3.13-0ubuntu0.14.04_amd64.deb ...
  948. Unpacking postgresql-client-9.3 (9.3.13-0ubuntu0.14.04) ...
  949. Selecting previously unselected package postgresql-client.
  950. Preparing to unpack .../postgresql-client_9.3+154ubuntu1_all.deb ...
  951. Unpacking postgresql-client (9.3+154ubuntu1) ...
  952. Selecting previously unselected package java-common.
  953. Preparing to unpack .../java-common_0.51_all.deb ...
  954. Unpacking java-common (0.51) ...
  955. Selecting previously unselected package libecj-java.
  956. Preparing to unpack .../libecj-java_3.9.0-1_all.deb ...
  957. Unpacking libecj-java (3.9.0-1) ...
  958. Selecting previously unselected package libcommons-pool-java.
  959. Preparing to unpack .../libcommons-pool-java_1.6-2_all.deb ...
  960. Unpacking libcommons-pool-java (1.6-2) ...
  961. Selecting previously unselected package libcommons-collections3-java.
  962. Preparing to unpack .../libcommons-collections3-java_3.2.1-6_all.deb ...
  963. Unpacking libcommons-collections3-java (3.2.1-6) ...
  964. Selecting previously unselected package libcommons-dbcp-java.
  965. Preparing to unpack .../libcommons-dbcp-java_1.4-3ubuntu1_all.deb ...
  966. Unpacking libcommons-dbcp-java (1.4-3ubuntu1) ...
  967. Selecting previously unselected package libservlet3.0-java.
  968. Preparing to unpack .../libservlet3.0-java_7.0.52-1ubuntu0.6_all.deb ...
  969. Unpacking libservlet3.0-java (7.0.52-1ubuntu0.6) ...
  970. Selecting previously unselected package libtomcat7-java.
  971. Preparing to unpack .../libtomcat7-java_7.0.52-1ubuntu0.6_all.deb ...
  972. Unpacking libtomcat7-java (7.0.52-1ubuntu0.6) ...
  973. Selecting previously unselected package oracle-java8-installer.
  974. Preparing to unpack .../oracle-java8-installer_8u101+8u101arm-1~webupd8~2_all.deb ...
  975. oracle-license-v1-1 license has already been accepted
  976. Unpacking oracle-java8-installer (8u101+8u101arm-1~webupd8~2) ...
  977. Selecting previously unselected package tomcat7-common.
  978. Preparing to unpack .../tomcat7-common_7.0.52-1ubuntu0.6_all.deb ...
  979. Unpacking tomcat7-common (7.0.52-1ubuntu0.6) ...
  980. Selecting previously unselected package libapr1:amd64.
  981. Preparing to unpack .../libapr1_1.5.0-1_amd64.deb ...
  982. Unpacking libapr1:amd64 (1.5.0-1) ...
  983. Selecting previously unselected package libtcnative-1:amd64.
  984. Preparing to unpack .../libtcnative-1_1.1.29-1_amd64.deb ...
  985. Unpacking libtcnative-1:amd64 (1.1.29-1) ...
  986. Selecting previously unselected package libcrypt-passwdmd5-perl.
  987. Preparing to unpack .../libcrypt-passwdmd5-perl_1.3-10_all.deb ...
  988. Unpacking libcrypt-passwdmd5-perl (1.3-10) ...
  989. Selecting previously unselected package libcrypt-openssl-random-perl.
  990. Preparing to unpack .../libcrypt-openssl-random-perl_0.04-1build6_amd64.deb ...
  991. Unpacking libcrypt-openssl-random-perl (0.04-1build6) ...
  992. Selecting previously unselected package makepasswd.
  993. Preparing to unpack .../makepasswd_1.10-9_all.deb ...
  994. Unpacking makepasswd (1.10-9) ...
  995. Selecting previously unselected package unzip.
  996. Preparing to unpack .../unzip_6.0-9ubuntu1.5_amd64.deb ...
  997. Unpacking unzip (6.0-9ubuntu1.5) ...
  998. Selecting previously unselected package dhis2-tools.
  999. Preparing to unpack .../dhis2-tools_1.2-1ubuntu0_amd64.deb ...
  1000. Some preinstallation tasks ...
  1001. Unpacking dhis2-tools (1.2-1ubuntu0) ...
  1002. Selecting previously unselected package ssl-cert.
  1003. Preparing to unpack .../ssl-cert_1.0.33_all.deb ...
  1004. Unpacking ssl-cert (1.0.33) ...
  1005. Selecting previously unselected package postgresql-common.
  1006. Preparing to unpack .../postgresql-common_154ubuntu1_all.deb ...
  1007. Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
  1008. Unpacking postgresql-common (154ubuntu1) ...
  1009. Selecting previously unselected package postgresql-9.3.
  1010. Preparing to unpack .../postgresql-9.3_9.3.13-0ubuntu0.14.04_amd64.deb ...
  1011. Unpacking postgresql-9.3 (9.3.13-0ubuntu0.14.04) ...
  1012. Selecting previously unselected package postgresql.
  1013. Preparing to unpack .../postgresql_9.3+154ubuntu1_all.deb ...
  1014. Unpacking postgresql (9.3+154ubuntu1) ...
  1015. Selecting previously unselected package pgtune.
  1016. Preparing to unpack .../pgtune_0.9.3-2_all.deb ...
  1017. Unpacking pgtune (0.9.3-2) ...
  1018. Selecting previously unselected package oracle-java8-set-default.
  1019. Preparing to unpack .../oracle-java8-set-default_8u101+8u101arm-1~webupd8~2_all.deb ...
  1020. Unpacking oracle-java8-set-default (8u101+8u101arm-1~webupd8~2) ...
  1021. Selecting previously unselected package tomcat7.
  1022. Preparing to unpack .../tomcat7_7.0.52-1ubuntu0.6_all.deb ...
  1023. Unpacking tomcat7 (7.0.52-1ubuntu0.6) ...
  1024. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  1025. Processing triggers for mime-support (3.54ubuntu1.1) ...
  1026. Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
  1027. Processing triggers for ureadahead (0.100.0-16) ...
  1028. Setting up java-common (0.51) ...
  1029. Setting up oracle-java8-installer (8u101+8u101arm-1~webupd8~2) ...
  1030. No /var/cache/oracle-jdk8-installer/wgetrc file found.
  1031. Creating /var/cache/oracle-jdk8-installer/wgetrc and
  1032. using default oracle-java8-installer wgetrc settings for it.
  1033. Downloading Oracle Java 8...
  1034. --2016-07-22 10:16:51-- http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
  1035. Resolving download.oracle.com (download.oracle.com)... 72.247.8.184, 72.247.8.137
  1036. Connecting to download.oracle.com (download.oracle.com)|72.247.8.184|:80... connected.
  1037. HTTP request sent, awaiting response... 302 Moved Temporarily
  1038. Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz [following]
  1039. --2016-07-22 10:16:51-- https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
  1040. Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.65.239.115
  1041. Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.65.239.115|:443... connected.
  1042. HTTP request sent, awaiting response... 302 Moved Temporarily
  1043. Location: https://edelivery.oracle.com/osdc-otn/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz [following]
  1044. --2016-07-22 10:16:52-- https://edelivery.oracle.com/osdc-otn/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
  1045. Reusing existing connection to edelivery.oracle.com:443.
  1046. HTTP request sent, awaiting response... 302 Moved Temporarily
  1047. Location: http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz?AuthParam=1469197132_81387d211ef5fa2af8299f66c5363f54 [following]
  1048. --2016-07-22 10:16:52-- http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz?AuthParam=1469197132_81387d211ef5fa2af8299f66c5363f54
  1049. Connecting to download.oracle.com (download.oracle.com)|72.247.8.184|:80... connected.
  1050. HTTP request sent, awaiting response... 200 OK
  1051. Length: 181352138 (173M) [application/x-gzip]
  1052. Saving to: ‘jdk-8u101-linux-x64.tar.gz’
  1053.  
  1054. 0K ........ ........ ........ ........ ........ ........ 1% 81.0M 2s
  1055. 3072K ........ ........ ........ ........ ........ ........ 3% 65.1M 2s
  1056. 6144K ........ ........ ........ ........ ........ ........ 5% 100M 2s
  1057. 9216K ........ ........ ........ ........ ........ ........ 6% 57.0M 2s
  1058. 12288K ........ ........ ........ ........ ........ ........ 8% 30.7M 3s
  1059. 15360K ........ ........ ........ ........ ........ ........ 10% 52.8M 3s
  1060. 18432K ........ ........ ........ ........ ........ ........ 12% 32.4M 3s
  1061. 21504K ........ ........ ........ ........ ........ ........ 13% 67.3M 3s
  1062. 24576K ........ ........ ........ ........ ........ ........ 15% 96.3M 3s
  1063. 27648K ........ ........ ........ ........ ........ ........ 17% 105M 2s
  1064. 30720K ........ ........ ........ ........ ........ ........ 19% 39.7M 3s
  1065. 33792K ........ ........ ........ ........ ........ ........ 20% 43.7M 3s
  1066. 36864K ........ ........ ........ ........ ........ ........ 22% 46.0M 2s
  1067. 39936K ........ ........ ........ ........ ........ ........ 24% 46.2M 2s
  1068. 43008K ........ ........ ........ ........ ........ ........ 26% 37.5M 2s
  1069. 46080K ........ ........ ........ ........ ........ ........ 27% 30.6M 3s
  1070. 49152K ........ ........ ........ ........ ........ ........ 29% 39.4M 3s
  1071. 52224K ........ ........ ........ ........ ........ ........ 31% 53.0M 2s
  1072. 55296K ........ ........ ........ ........ ........ ........ 32% 28.5M 2s
  1073. 58368K ........ ........ ........ ........ ........ ........ 34% 51.4M 2s
  1074. 61440K ........ ........ ........ ........ ........ ........ 36% 22.1M 2s
  1075. 64512K ........ ........ ........ ........ ........ ........ 38% 22.6M 2s
  1076. 67584K ........ ........ ........ ........ ........ ........ 39% 19.1M 3s
  1077. 70656K ........ ........ ........ ........ ........ ........ 41% 28.9M 3s
  1078. 73728K ........ ........ ........ ........ ........ ........ 43% 23.6M 3s
  1079. 76800K ........ ........ ........ ........ ........ ........ 45% 26.7M 2s
  1080. 79872K ........ ........ ........ ........ ........ ........ 46% 20.1M 2s
  1081. 82944K ........ ........ ........ ........ ........ ........ 48% 21.3M 2s
  1082. 86016K ........ ........ ........ ........ ........ ........ 50% 23.0M 2s
  1083. 89088K ........ ........ ........ ........ ........ ........ 52% 51.4M 2s
  1084. 92160K ........ ........ ........ ........ ........ ........ 53% 56.9M 2s
  1085. 95232K ........ ........ ........ ........ ........ ........ 55% 43.2M 2s
  1086. 98304K ........ ........ ........ ........ ........ ........ 57% 69.0M 2s
  1087. 101376K ........ ........ ........ ........ ........ ........ 58% 42.3M 2s
  1088. 104448K ........ ........ ........ ........ ........ ........ 60% 118M 2s
  1089. 107520K ........ ........ ........ ........ ........ ........ 62% 71.4M 2s
  1090. 110592K ........ ........ ........ ........ ........ ........ 64% 65.0M 2s
  1091. 113664K ........ ........ ........ ........ ........ ........ 65% 72.2M 2s
  1092. 116736K ........ ........ ........ ........ ........ ........ 67% 57.1M 1s
  1093. 119808K ........ ........ ........ ........ ........ ........ 69% 46.5M 1s
  1094. 122880K ........ ........ ........ ........ ........ ........ 71% 19.3M 1s
  1095. 125952K ........ ........ ........ ........ ........ ........ 72% 57.1M 1s
  1096. 129024K ........ ........ ........ ........ ........ ........ 74% 49.1M 1s
  1097. 132096K ........ ........ ........ ........ ........ ........ 76% 44.3M 1s
  1098. 135168K ........ ........ ........ ........ ........ ........ 78% 34.9M 1s
  1099. 138240K ........ ........ ........ ........ ........ ........ 79% 52.1M 1s
  1100. 141312K ........ ........ ........ ........ ........ ........ 81% 35.0M 1s
  1101. 144384K ........ ........ ........ ........ ........ ........ 83% 35.8M 1s
  1102. 147456K ........ ........ ........ ........ ........ ........ 84% 37.7M 1s
  1103. 150528K ........ ........ ........ ........ ........ ........ 86% 28.4M 1s
  1104. 153600K ........ ........ ........ ........ ........ ........ 88% 36.4M 1s
  1105. 156672K ........ ........ ........ ........ ........ ........ 90% 11.2M 0s
  1106. 159744K ........ ........ ........ ........ ........ ........ 91% 41.6M 0s
  1107. 162816K ........ ........ ........ ........ ........ ........ 93% 31.0M 0s
  1108. 165888K ........ ........ ........ ........ ........ ........ 95% 60.2M 0s
  1109. 168960K ........ ........ ........ ........ ........ ........ 97% 53.8M 0s
  1110. 172032K ........ ........ ........ ........ ........ ........ 98% 41.0M 0s
  1111. 175104K ........ ........ ........ ....... 100% 35.2M=4.6s
  1112.  
  1113. 2016-07-22 10:16:56 (37.5 MB/s) - ‘jdk-8u101-linux-x64.tar.gz’ saved [181352138/181352138]
  1114.  
  1115. Download done.
  1116. Removing outdated cached downloads...
  1117. update-alternatives: error: no alternatives for java
  1118. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
  1119. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
  1120. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
  1121. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
  1122. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
  1123. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
  1124. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
  1125. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
  1126. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
  1127. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
  1128. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
  1129. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
  1130. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
  1131. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
  1132. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
  1133. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
  1134. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
  1135. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
  1136. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
  1137. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
  1138. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
  1139. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
  1140. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
  1141. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
  1142. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
  1143. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javapackager to provide /usr/bin/javapackager (javapackager) in auto mode
  1144. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
  1145. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
  1146. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
  1147. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
  1148. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
  1149. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
  1150. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
  1151. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
  1152. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
  1153. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
  1154. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
  1155. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
  1156. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
  1157. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
  1158. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
  1159. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
  1160. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
  1161. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
  1162. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
  1163. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
  1164. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
  1165. update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
  1166. Oracle JDK 8 installed
  1167. update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
  1168. Oracle JRE 8 browser plugin installed
  1169. Setting up oracle-java8-set-default (8u101+8u101arm-1~webupd8~2) ...
  1170. Setting up libecj-java (3.9.0-1) ...
  1171. Setting up libcommons-pool-java (1.6-2) ...
  1172. Setting up libcommons-collections3-java (3.2.1-6) ...
  1173. Setting up libcommons-dbcp-java (1.4-3ubuntu1) ...
  1174. Setting up libservlet3.0-java (7.0.52-1ubuntu0.6) ...
  1175. Setting up libtomcat7-java (7.0.52-1ubuntu0.6) ...
  1176. Setting up tomcat7-common (7.0.52-1ubuntu0.6) ...
  1177. Setting up tomcat7 (7.0.52-1ubuntu0.6) ...
  1178.  
  1179. Creating config file /etc/default/tomcat7 with new version
  1180. Adding system user `tomcat7' (UID 106) ...
  1181. Adding new user `tomcat7' (UID 106) with group `tomcat7' ...
  1182. Not creating home directory `/usr/share/tomcat7'.
  1183.  
  1184. Creating config file /etc/logrotate.d/tomcat7 with new version
  1185. * no JDK or JRE found - please set JAVA_HOME
  1186. invoke-rc.d: initscript tomcat7, action "start" failed.
  1187. Processing triggers for ureadahead (0.100.0-16) ...
  1188. Selecting previously unselected package dhis2.
  1189. (Reading database ... 68053 files and directories currently installed.)
  1190. Preparing to unpack .../dhis2_2.21-0ubuntu11_amd64.deb ...
  1191. Unpacking dhis2 (2.21-0ubuntu11) ...
  1192. Setting up libpq5 (9.3.13-0ubuntu0.14.04) ...
  1193. Setting up postgresql-client-common (154ubuntu1) ...
  1194. Setting up postgresql-client-9.3 (9.3.13-0ubuntu0.14.04) ...
  1195. update-alternatives: using /usr/share/postgresql/9.3/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
  1196. Setting up postgresql-client (9.3+154ubuntu1) ...
  1197. Setting up libapr1:amd64 (1.5.0-1) ...
  1198. Setting up libtcnative-1:amd64 (1.1.29-1) ...
  1199. Setting up libcrypt-passwdmd5-perl (1.3-10) ...
  1200. Setting up libcrypt-openssl-random-perl (0.04-1build6) ...
  1201. Setting up makepasswd (1.10-9) ...
  1202. Setting up unzip (6.0-9ubuntu1.5) ...
  1203. Setting up dhis2-tools (1.2-1ubuntu0) ...
  1204. create group for dhis instances and group for dhis admins
  1205. Adding group `dhis2admin' (GID 1001) ...
  1206. Done.
  1207. Adding group `dhis2' (GID 1002) ...
  1208. Done.
  1209. Setting up ssl-cert (1.0.33) ...
  1210. Setting up postgresql-common (154ubuntu1) ...
  1211. Adding user postgres to group ssl-cert
  1212.  
  1213. Creating config file /etc/logrotate.d/postgresql-common with new version
  1214. Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  1215. Removing obsolete dictionary files:
  1216. * No PostgreSQL clusters exist; see "man pg_createcluster"
  1217. Setting up pgtune (0.9.3-2) ...
  1218. Processing triggers for ureadahead (0.100.0-16) ...
  1219. Setting up postgresql-9.3 (9.3.13-0ubuntu0.14.04) ...
  1220. Creating new cluster 9.3/main ...
  1221. config /etc/postgresql/9.3/main
  1222. data /var/lib/postgresql/9.3/main
  1223. locale en_US.UTF-8
  1224. port 5432
  1225. update-alternatives: using /usr/share/postgresql/9.3/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
  1226. * Starting PostgreSQL 9.3 database server [ OK ]
  1227. Setting up postgresql (9.3+154ubuntu1) ...
  1228. Setting up dhis2 (2.21-0ubuntu11) ...
  1229. Creating new postgresql role
  1230. Good. User is in dhis2admin group
  1231. checking options
  1232. You are about to create a Dhis2 instance called 'dhis2'
  1233. Checking HTTP port 8084
  1234. CREATE ROLE
  1235. CREATE DATABASE
  1236. GRANT
  1237. Running pgtune...
  1238. * Restarting PostgreSQL 9.3 database server [ OK ]
  1239. --2016-07-22 10:17:15-- https://www.dhis2.org/download/releases/2.21/dhis.war
  1240. Resolving www.dhis2.org (www.dhis2.org)... 178.79.191.67
  1241. Connecting to www.dhis2.org (www.dhis2.org)|178.79.191.67|:443... connected.
  1242. HTTP request sent, awaiting response... 200 OK
  1243. Length: 112268007 (107M) [application/java-archive]
  1244. Saving to: ‘/tmp/dhis.war’
  1245.  
  1246. 100%[======================================>] 112,268,007 28.7MB/s in 4.1s
  1247.  
  1248. 2016-07-22 10:17:20 (26.0 MB/s) - ‘/tmp/dhis.war’ saved [112268007/112268007]
  1249.  
  1250. No errors detected in compressed data of /tmp/dhis.war.
  1251. Shutting down dhis2 instance
  1252. dhis2 not running
  1253. Using CATALINA_BASE: /var/lib/dhis2/dhis2
  1254. Using CATALINA_HOME: /usr/share/tomcat7
  1255. Using CATALINA_TMPDIR: /var/lib/dhis2/dhis2/temp
  1256. Using JRE_HOME: /usr
  1257. Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
  1258. Using CATALINA_PID: /var/lib/dhis2/dhis2/tomcat.pid
  1259. Tomcat started.
  1260. DHIS2 instance starting for dhis2
  1261. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  1262. Selecting previously unselected package adxadapter.
  1263. (Reading database ... 68058 files and directories currently installed.)
  1264. Preparing to unpack .../adxadapter_1.0.0-0ubuntu8_amd64.deb ...
  1265. Unpacking adxadapter (1.0.0-0ubuntu8) ...
  1266. Selecting previously unselected package libfontenc1:amd64.
  1267. Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ...
  1268. Unpacking libfontenc1:amd64 (1:1.1.2-1) ...
  1269. Selecting previously unselected package libxfont1:amd64.
  1270. Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.2_amd64.deb ...
  1271. Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.2) ...
  1272. Selecting previously unselected package jq.
  1273. Preparing to unpack .../jq_1.3-1.1ubuntu1_amd64.deb ...
  1274. Unpacking jq (1.3-1.1ubuntu1) ...
  1275. Selecting previously unselected package mongodb-org-shell.
  1276. Preparing to unpack .../mongodb-org-shell_3.2.8_amd64.deb ...
  1277. Unpacking mongodb-org-shell (3.2.8) ...
  1278. Selecting previously unselected package mongodb-org-server.
  1279. Preparing to unpack .../mongodb-org-server_3.2.8_amd64.deb ...
  1280. Unpacking mongodb-org-server (3.2.8) ...
  1281. Selecting previously unselected package mongodb-org-mongos.
  1282. Preparing to unpack .../mongodb-org-mongos_3.2.8_amd64.deb ...
  1283. Unpacking mongodb-org-mongos (3.2.8) ...
  1284. Selecting previously unselected package mongodb-org-tools.
  1285. Preparing to unpack .../mongodb-org-tools_3.2.8_amd64.deb ...
  1286. Unpacking mongodb-org-tools (3.2.8) ...
  1287. Selecting previously unselected package mongodb-org.
  1288. Preparing to unpack .../mongodb-org_3.2.8_amd64.deb ...
  1289. Unpacking mongodb-org (3.2.8) ...
  1290. Selecting previously unselected package openhim-core-js.
  1291. Preparing to unpack .../openhim-core-js_2.0.0-12~trusty_amd64.deb ...
  1292. openhim-core: unrecognized service
  1293. Creating group openhim
  1294. user openhim does not exist. adding.
  1295. Unpacking openhim-core-js (2.0.0-12~trusty) ...
  1296. Selecting previously unselected package php5-json.
  1297. Preparing to unpack .../php5-json_1.3.2-2build1_amd64.deb ...
  1298. Unpacking php5-json (1.3.2-2build1) ...
  1299. Selecting previously unselected package php5-common.
  1300. Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.17_amd64.deb ...
  1301. Unpacking php5-common (5.5.9+dfsg-1ubuntu4.17) ...
  1302. Selecting previously unselected package php5-cli.
  1303. Preparing to unpack .../php5-cli_5.5.9+dfsg-1ubuntu4.17_amd64.deb ...
  1304. Unpacking php5-cli (5.5.9+dfsg-1ubuntu4.17) ...
  1305. Selecting previously unselected package openinfoman.
  1306. Preparing to unpack .../openinfoman_1.4.18~trusty_all.deb ...
  1307. + ACTION=install
  1308. + VERSION=
  1309. + USERNAME=oi
  1310. + HOME=/home/oi
  1311. + USERADD=/usr/sbin/useradd
  1312. + ADDGROUP=/usr/sbin/addgroup
  1313. + ADDUSER=/usr/sbin/adduser
  1314. + WGET=/usr/bin/wget
  1315. + UNZIP=/usr/bin/unzip
  1316. + OI=/var/lib/openinfoman
  1317. + TMP=/tmp/openinfoman-basex
  1318. + mkdir -p /tmp/openinfoman-basex
  1319. + rm -fr '/tmp/openinfoman-basex/*'
  1320. + service openinfoman stop
  1321. openinfoman: unrecognized service
  1322. + true
  1323. + case "$ACTION" in
  1324. + do_user
  1325. + getent group oi
  1326. + echo 'Creating group oi'
  1327. Creating group oi
  1328. + /usr/sbin/addgroup --quiet --system oi
  1329. + id -u oi
  1330. + echo 'user oi does not exist. adding.'
  1331. user oi does not exist. adding.
  1332. + /usr/sbin/useradd oi -g oi -m -s /bin/bash
  1333. + install_basex
  1334. + /usr/bin/wget http://files.basex.org/releases/8.5.2/BaseX852.zip -O /tmp/openinfoman-basex/BaseX.zip
  1335. --2016-07-22 10:17:39-- http://files.basex.org/releases/8.5.2/BaseX852.zip
  1336. Resolving files.basex.org (files.basex.org)... 134.119.246.66, 2a00:1158:400:407::142
  1337. Connecting to files.basex.org (files.basex.org)|134.119.246.66|:80... connected.
  1338. HTTP request sent, awaiting response... 200 OK
  1339. Length: 8693466 (8.3M) [application/zip]
  1340. Saving to: ‘/tmp/openinfoman-basex/BaseX.zip’
  1341.  
  1342. 100%[======================================>] 8,693,466 3.16MB/s in 2.6s
  1343.  
  1344. 2016-07-22 10:17:42 (3.16 MB/s) - ‘/tmp/openinfoman-basex/BaseX.zip’ saved [8693466/8693466]
  1345.  
  1346. + /usr/bin/unzip -o -d /tmp/openinfoman-basex /tmp/openinfoman-basex/BaseX.zip
  1347. Archive: /tmp/openinfoman-basex/BaseX.zip
  1348. extracting: /tmp/openinfoman-basex/basex/.basexhome
  1349. inflating: /tmp/openinfoman-basex/basex/BaseX.jar
  1350. creating: /tmp/openinfoman-basex/basex/bin/
  1351. inflating: /tmp/openinfoman-basex/basex/bin/basex
  1352. inflating: /tmp/openinfoman-basex/basex/bin/basex.bat
  1353. inflating: /tmp/openinfoman-basex/basex/bin/basexclient
  1354. inflating: /tmp/openinfoman-basex/basex/bin/basexclient.bat
  1355. inflating: /tmp/openinfoman-basex/basex/bin/basexgui
  1356. inflating: /tmp/openinfoman-basex/basex/bin/basexgui.bat
  1357. inflating: /tmp/openinfoman-basex/basex/bin/basexhttp
  1358. inflating: /tmp/openinfoman-basex/basex/bin/basexhttp.bat
  1359. inflating: /tmp/openinfoman-basex/basex/bin/basexhttpstop
  1360. inflating: /tmp/openinfoman-basex/basex/bin/basexhttpstop.bat
  1361. inflating: /tmp/openinfoman-basex/basex/bin/basexserver
  1362. inflating: /tmp/openinfoman-basex/basex/bin/basexserver.bat
  1363. inflating: /tmp/openinfoman-basex/basex/bin/basexserverstop
  1364. inflating: /tmp/openinfoman-basex/basex/bin/basexserverstop.bat
  1365. inflating: /tmp/openinfoman-basex/basex/CHANGELOG
  1366. creating: /tmp/openinfoman-basex/basex/data/
  1367. creating: /tmp/openinfoman-basex/basex/etc/
  1368. inflating: /tmp/openinfoman-basex/basex/etc/factbook.xml
  1369. inflating: /tmp/openinfoman-basex/basex/etc/modules.zip
  1370. inflating: /tmp/openinfoman-basex/basex/etc/stopwords.txt
  1371. inflating: /tmp/openinfoman-basex/basex/etc/w3-catalog.xml
  1372. inflating: /tmp/openinfoman-basex/basex/etc/xhtml-lat1.ent
  1373. inflating: /tmp/openinfoman-basex/basex/etc/xhtml-special.ent
  1374. inflating: /tmp/openinfoman-basex/basex/etc/xhtml-symbol.ent
  1375. inflating: /tmp/openinfoman-basex/basex/etc/xhtml1-frameset.dtd
  1376. inflating: /tmp/openinfoman-basex/basex/etc/xhtml1-strict.dtd
  1377. inflating: /tmp/openinfoman-basex/basex/etc/xhtml1-transitional.dtd
  1378. creating: /tmp/openinfoman-basex/basex/lib/
  1379. inflating: /tmp/openinfoman-basex/basex/lib/basex-api-8.5.2.jar
  1380. inflating: /tmp/openinfoman-basex/basex/lib/basex-xqj-1.7.0.jar
  1381. inflating: /tmp/openinfoman-basex/basex/lib/commons-codec-1.4.jar
  1382. inflating: /tmp/openinfoman-basex/basex/lib/commons-fileupload-1.3.1.jar
  1383. inflating: /tmp/openinfoman-basex/basex/lib/commons-io-1.4.jar
  1384. inflating: /tmp/openinfoman-basex/basex/lib/igo-0.4.3.jar
  1385. inflating: /tmp/openinfoman-basex/basex/lib/jansi-1.11.jar
  1386. inflating: /tmp/openinfoman-basex/basex/lib/javax.servlet-3.0.0.v201112011016.jar
  1387. inflating: /tmp/openinfoman-basex/basex/lib/jdom-1.1.jar
  1388. inflating: /tmp/openinfoman-basex/basex/lib/jetty-continuation-8.1.18.v20150929.jar
  1389. inflating: /tmp/openinfoman-basex/basex/lib/jetty-http-8.1.18.v20150929.jar
  1390. inflating: /tmp/openinfoman-basex/basex/lib/jetty-io-8.1.18.v20150929.jar
  1391. inflating: /tmp/openinfoman-basex/basex/lib/jetty-security-8.1.18.v20150929.jar
  1392. inflating: /tmp/openinfoman-basex/basex/lib/jetty-server-8.1.18.v20150929.jar
  1393. inflating: /tmp/openinfoman-basex/basex/lib/jetty-servlet-8.1.18.v20150929.jar
  1394. inflating: /tmp/openinfoman-basex/basex/lib/jetty-util-8.1.18.v20150929.jar
  1395. inflating: /tmp/openinfoman-basex/basex/lib/jetty-webapp-8.1.18.v20150929.jar
  1396. inflating: /tmp/openinfoman-basex/basex/lib/jetty-xml-8.1.18.v20150929.jar
  1397. inflating: /tmp/openinfoman-basex/basex/lib/jing-20091111.jar
  1398. inflating: /tmp/openinfoman-basex/basex/lib/jline-2.13.jar
  1399. inflating: /tmp/openinfoman-basex/basex/lib/jts-1.13.jar
  1400. inflating: /tmp/openinfoman-basex/basex/lib/LICENSES
  1401. inflating: /tmp/openinfoman-basex/basex/lib/lucene-stemmers-3.4.0.jar
  1402. inflating: /tmp/openinfoman-basex/basex/lib/milton-api-1.8.1.4.jar
  1403. inflating: /tmp/openinfoman-basex/basex/lib/mime-util-2.1.3.jar
  1404. inflating: /tmp/openinfoman-basex/basex/lib/slf4j-api-1.7.13.jar
  1405. inflating: /tmp/openinfoman-basex/basex/lib/slf4j-simple-1.7.13.jar
  1406. inflating: /tmp/openinfoman-basex/basex/lib/tagsoup-1.2.1.jar
  1407. inflating: /tmp/openinfoman-basex/basex/lib/xml-resolver-1.2.jar
  1408. inflating: /tmp/openinfoman-basex/basex/lib/xmldb-api-1.0.jar
  1409. inflating: /tmp/openinfoman-basex/basex/lib/xqj-api-1.0.jar
  1410. inflating: /tmp/openinfoman-basex/basex/lib/xqj2-0.2.0.jar
  1411. inflating: /tmp/openinfoman-basex/basex/LICENSE
  1412. inflating: /tmp/openinfoman-basex/basex/readme.txt
  1413. creating: /tmp/openinfoman-basex/basex/repo/
  1414. creating: /tmp/openinfoman-basex/basex/webapp/
  1415. creating: /tmp/openinfoman-basex/basex/webapp/dba/
  1416. inflating: /tmp/openinfoman-basex/basex/webapp/dba/common.xqm
  1417. creating: /tmp/openinfoman-basex/basex/webapp/dba/databases/
  1418. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/alter-db.xqm
  1419. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/backups.xqm
  1420. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/copy.xqm
  1421. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/create-db.xqm
  1422. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/database.xqm
  1423. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/databases.xqm
  1424. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/drop-db.xqm
  1425. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/optimize.xqm
  1426. creating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/
  1427. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/add.xqm
  1428. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/delete.xqm
  1429. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/download.xqm
  1430. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/query.xqm
  1431. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/rename.xqm
  1432. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/replace.xqm
  1433. inflating: /tmp/openinfoman-basex/basex/webapp/dba/databases/resources/resource.xqm
  1434. inflating: /tmp/openinfoman-basex/basex/webapp/dba/Dockerfile
  1435. creating: /tmp/openinfoman-basex/basex/webapp/dba/files/
  1436. inflating: /tmp/openinfoman-basex/basex/webapp/dba/files/delete-files.xqm
  1437. inflating: /tmp/openinfoman-basex/basex/webapp/dba/files/files.xqm
  1438. inflating: /tmp/openinfoman-basex/basex/webapp/dba/files/upload-files.xqm
  1439. creating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/
  1440. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/add-pattern.xqm
  1441. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/create-user.xqm
  1442. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/drop-pattern.xqm
  1443. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/drop-user.xqm
  1444. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/jobs-users.xqm
  1445. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/kill-session.xqm
  1446. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/stop-job.xq
  1447. inflating: /tmp/openinfoman-basex/basex/webapp/dba/jobs-users/user.xqm
  1448. inflating: /tmp/openinfoman-basex/basex/webapp/dba/login.xqm
  1449. creating: /tmp/openinfoman-basex/basex/webapp/dba/logs/
  1450. inflating: /tmp/openinfoman-basex/basex/webapp/dba/logs/delete-logs.xqm
  1451. inflating: /tmp/openinfoman-basex/basex/webapp/dba/logs/logs.xqm
  1452. creating: /tmp/openinfoman-basex/basex/webapp/dba/modules/
  1453. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/cons.xqm
  1454. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/html.xqm
  1455. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/tmpl.xqm
  1456. inflating: /tmp/openinfoman-basex/basex/webapp/dba/modules/util.xqm
  1457. creating: /tmp/openinfoman-basex/basex/webapp/dba/queries/
  1458. inflating: /tmp/openinfoman-basex/basex/webapp/dba/queries/queries.xqm
  1459. creating: /tmp/openinfoman-basex/basex/webapp/dba/settings/
  1460. inflating: /tmp/openinfoman-basex/basex/webapp/dba/settings/settings.xqm
  1461. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/
  1462. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/basex.svg
  1463. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/
  1464. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/lib/
  1465. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/lib/codemirror.css
  1466. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/lib/codemirror.js
  1467. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/
  1468. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xml/
  1469. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xml/xml.js
  1470. creating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xquery/
  1471. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/codemirror/mode/xquery/xquery.js
  1472. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/editor.js
  1473. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/js.js
  1474. inflating: /tmp/openinfoman-basex/basex/webapp/dba/static/style.css
  1475. inflating: /tmp/openinfoman-basex/basex/webapp/restxq.xqm
  1476. creating: /tmp/openinfoman-basex/basex/webapp/static/
  1477. extracting: /tmp/openinfoman-basex/basex/webapp/static/.ignore
  1478. inflating: /tmp/openinfoman-basex/basex/webapp/static/basex.svg
  1479. inflating: /tmp/openinfoman-basex/basex/webapp/static/style.css
  1480. creating: /tmp/openinfoman-basex/basex/webapp/WEB-INF/
  1481. inflating: /tmp/openinfoman-basex/basex/webapp/WEB-INF/jetty.xml
  1482. inflating: /tmp/openinfoman-basex/basex/webapp/WEB-INF/web.xml
  1483. + cp /tmp/openinfoman-basex/basex/BaseX.jar /var/lib/openinfoman
  1484. + DIRS=("bin" "etc" "lib" "webapp/dba")
  1485. + for DIR in '${DIRS[@]}'
  1486. + mkdir -p /var/lib/openinfoman/bin
  1487. + cp -R /tmp/openinfoman-basex/basex/bin/basex /tmp/openinfoman-basex/basex/bin/basex.bat /tmp/openinfoman-basex/basex/bin/basexclient /tmp/openinfoman-basex/basex/bin/basexclient.bat /tmp/openinfoman-basex/basex/bin/basexgui /tmp/openinfoman-basex/basex/bin/basexgui.bat /tmp/openinfoman-basex/basex/bin/basexhttp /tmp/openinfoman-basex/basex/bin/basexhttp.bat /tmp/openinfoman-basex/basex/bin/basexhttpstop /tmp/openinfoman-basex/basex/bin/basexhttpstop.bat /tmp/openinfoman-basex/basex/bin/basexserver /tmp/openinfoman-basex/basex/bin/basexserver.bat /tmp/openinfoman-basex/basex/bin/basexserverstop /tmp/openinfoman-basex/basex/bin/basexserverstop.bat /var/lib/openinfoman/bin
  1488. + for DIR in '${DIRS[@]}'
  1489. + mkdir -p /var/lib/openinfoman/etc
  1490. + cp -R /tmp/openinfoman-basex/basex/etc/factbook.xml /tmp/openinfoman-basex/basex/etc/modules.zip /tmp/openinfoman-basex/basex/etc/stopwords.txt /tmp/openinfoman-basex/basex/etc/w3-catalog.xml /tmp/openinfoman-basex/basex/etc/xhtml1-frameset.dtd /tmp/openinfoman-basex/basex/etc/xhtml1-strict.dtd /tmp/openinfoman-basex/basex/etc/xhtml1-transitional.dtd /tmp/openinfoman-basex/basex/etc/xhtml-lat1.ent /tmp/openinfoman-basex/basex/etc/xhtml-special.ent /tmp/openinfoman-basex/basex/etc/xhtml-symbol.ent /var/lib/openinfoman/etc
  1491. + for DIR in '${DIRS[@]}'
  1492. + mkdir -p /var/lib/openinfoman/lib
  1493. + cp -R /tmp/openinfoman-basex/basex/lib/basex-api-8.5.2.jar /tmp/openinfoman-basex/basex/lib/basex-xqj-1.7.0.jar /tmp/openinfoman-basex/basex/lib/commons-codec-1.4.jar /tmp/openinfoman-basex/basex/lib/commons-fileupload-1.3.1.jar /tmp/openinfoman-basex/basex/lib/commons-io-1.4.jar /tmp/openinfoman-basex/basex/lib/igo-0.4.3.jar /tmp/openinfoman-basex/basex/lib/jansi-1.11.jar /tmp/openinfoman-basex/basex/lib/javax.servlet-3.0.0.v201112011016.jar /tmp/openinfoman-basex/basex/lib/jdom-1.1.jar /tmp/openinfoman-basex/basex/lib/jetty-continuation-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-http-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-io-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-security-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-server-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-servlet-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-util-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-webapp-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jetty-xml-8.1.18.v20150929.jar /tmp/openinfoman-basex/basex/lib/jing-20091111.jar /tmp/openinfoman-basex/basex/lib/jline-2.13.jar /tmp/openinfoman-basex/basex/lib/jts-1.13.jar /tmp/openinfoman-basex/basex/lib/LICENSES /tmp/openinfoman-basex/basex/lib/lucene-stemmers-3.4.0.jar /tmp/openinfoman-basex/basex/lib/milton-api-1.8.1.4.jar /tmp/openinfoman-basex/basex/lib/mime-util-2.1.3.jar /tmp/openinfoman-basex/basex/lib/slf4j-api-1.7.13.jar /tmp/openinfoman-basex/basex/lib/slf4j-simple-1.7.13.jar /tmp/openinfoman-basex/basex/lib/tagsoup-1.2.1.jar /tmp/openinfoman-basex/basex/lib/xmldb-api-1.0.jar /tmp/openinfoman-basex/basex/lib/xml-resolver-1.2.jar /tmp/openinfoman-basex/basex/lib/xqj2-0.2.0.jar /tmp/openinfoman-basex/basex/lib/xqj-api-1.0.jar /var/lib/openinfoman/lib
  1494. + for DIR in '${DIRS[@]}'
  1495. + mkdir -p /var/lib/openinfoman/webapp/dba
  1496. + cp -R /tmp/openinfoman-basex/basex/webapp/dba/common.xqm /tmp/openinfoman-basex/basex/webapp/dba/databases /tmp/openinfoman-basex/basex/webapp/dba/Dockerfile /tmp/openinfoman-basex/basex/webapp/dba/files /tmp/openinfoman-basex/basex/webapp/dba/jobs-users /tmp/openinfoman-basex/basex/webapp/dba/login.xqm /tmp/openinfoman-basex/basex/webapp/dba/logs /tmp/openinfoman-basex/basex/webapp/dba/modules /tmp/openinfoman-basex/basex/webapp/dba/queries /tmp/openinfoman-basex/basex/webapp/dba/settings /tmp/openinfoman-basex/basex/webapp/dba/static /var/lib/openinfoman/webapp/dba
  1497. + exit 0
  1498. Unpacking openinfoman (1.4.18~trusty) ...
  1499. Selecting previously unselected package openinfoman-dhis.
  1500. Preparing to unpack .../openinfoman-dhis_1.4.1~trusty_all.deb ...
  1501. Unpacking openinfoman-dhis (1.4.1~trusty) ...
  1502. Selecting previously unselected package openinfoman-datim.
  1503. Preparing to unpack .../openinfoman-datim_1.2.2~trusty_all.deb ...
  1504. Unpacking openinfoman-datim (1.2.2~trusty) ...
  1505. Selecting previously unselected package openinfoman-csv.
  1506. Preparing to unpack .../openinfoman-csv_1.2.1~trusty_all.deb ...
  1507. Unpacking openinfoman-csv (1.2.1~trusty) ...
  1508. Selecting previously unselected package openinfoman-mapping.
  1509. Preparing to unpack .../openinfoman-mapping_1.0.3~trusty_all.deb ...
  1510. Unpacking openinfoman-mapping (1.0.3~trusty) ...
  1511. Selecting previously unselected package openhim-console.
  1512. Preparing to unpack .../openhim-console_1.6.0-10~trusty_all.deb ...
  1513. Unpacking openhim-console (1.6.0-10~trusty) ...
  1514. Selecting previously unselected package user-management.
  1515. Preparing to unpack .../user-management_0.3.2-1ubuntu1_amd64.deb ...
  1516. Unpacking user-management (0.3.2-1ubuntu1) ...
  1517. Selecting previously unselected package approvals.
  1518. Preparing to unpack .../approvals_0.4.9-1ubuntu1_amd64.deb ...
  1519. Unpacking approvals (0.4.9-1ubuntu1) ...
  1520. Selecting previously unselected package dhis2-datim.
  1521. Preparing to unpack .../dhis2-datim_1.0.0-1ubuntu11_amd64.deb ...
  1522. Unpacking dhis2-datim (1.0.0-1ubuntu11) ...
  1523. Selecting previously unselected package csd-loader.
  1524. Preparing to unpack .../csd-loader_1.2.9-1ubuntu1_amd64.deb ...
  1525. Unpacking csd-loader (1.2.9-1ubuntu1) ...
  1526. Selecting previously unselected package openhim-config-datim-node.
  1527. Preparing to unpack .../openhim-config-datim-node_0.3.1-12~trusty_amd64.deb ...
  1528. Unpacking openhim-config-datim-node (0.3.1-12~trusty) ...
  1529. Selecting previously unselected package datim-mapping.
  1530. Preparing to unpack .../datim-mapping_1.0.0-1ubuntu1_amd64.deb ...
  1531. Unpacking datim-mapping (1.0.0-1ubuntu1) ...
  1532. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  1533. Processing triggers for ureadahead (0.100.0-16) ...
  1534. Setting up jq (1.3-1.1ubuntu1) ...
  1535. Setting up mongodb-org-shell (3.2.8) ...
  1536. Setting up mongodb-org-server (3.2.8) ...
  1537. Adding system user `mongodb' (UID 108) ...
  1538. Adding new user `mongodb' (UID 108) with group `nogroup' ...
  1539. Not creating home directory `/home/mongodb'.
  1540. Adding group `mongodb' (GID 116) ...
  1541. Done.
  1542. Adding user `mongodb' to group `mongodb' ...
  1543. Adding user mongodb to group mongodb
  1544. Done.
  1545. mongod start/running, process 11918
  1546. Setting up mongodb-org-mongos (3.2.8) ...
  1547. Setting up mongodb-org-tools (3.2.8) ...
  1548. Processing triggers for ureadahead (0.100.0-16) ...
  1549. Setting up mongodb-org (3.2.8) ...
  1550. Setting up openhim-core-js (2.0.0-12~trusty) ...
  1551. mkdir: cannot create directory ‘/etc/openhim/’: File exists
  1552. Fetching shiny new config file from github ...
  1553. --2016-07-22 10:17:53-- https://raw.githubusercontent.com/jembi/openhim-core-js/v2.0.0/config/default.json
  1554. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.56.133
  1555. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.56.133|:443... connected.
  1556. HTTP request sent, awaiting response... 200 OK
  1557. Length: 2425 (2.4K) [text/plain]
  1558. Saving to: ‘/etc/openhim/config.json’
  1559.  
  1560. 100%[======================================>] 2,425 --.-K/s in 0s
  1561.  
  1562. 2016-07-22 10:17:53 (18.6 MB/s) - ‘/etc/openhim/config.json’ saved [2425/2425]
  1563.  
  1564. Installing node version manager for openhim user ...
  1565. % Total % Received % Xferd Average Speed Time Time Time Current
  1566. Dload Upload Total Spent Left Speed
  1567. 100 7728 100 7728 0 0 77018 0 --:--:-- --:--:-- --:--:-- 77280
  1568. Cloning into '/home/openhim/.nvm'...
  1569. remote: Counting objects: 5099, done.
  1570. remote: Compressing objects: 100% (113/113), done.
  1571. remote: Total 5099 (delta 70), reused 8 (delta 8), pack-reused 4978
  1572. Receiving objects: 100% (5099/5099), 1.43 MiB | 0 bytes/s, done.
  1573. Resolving deltas: 100% (3057/3057), done.
  1574. Checking connectivity... done.
  1575. Installing node.js 0.12.7 via nvm ...
  1576. ######################################################################## 100.0%
  1577. Now using node v0.12.7 (npm v2.11.3)
  1578. default -> 0.12.7 (-> v0.12.7)
  1579. Now using node v0.12.7 (npm v2.11.3)
  1580. openhim-core start/running, process 12482
  1581. Selecting previously unselected package ohie-datim-node.
  1582. (Reading database ... 103687 files and directories currently installed.)
  1583. Preparing to unpack .../ohie-datim-node_1.0.0-0ubuntu7_amd64.deb ...
  1584. openhim-core stop/waiting
  1585. openhim-core start/running, process 12505
  1586. Unpacking ohie-datim-node (1.0.0-0ubuntu7) ...
  1587. Selecting previously unselected package php5-readline.
  1588. Preparing to unpack .../php5-readline_5.5.9+dfsg-1ubuntu4.17_amd64.deb ...
  1589. Unpacking php5-readline (5.5.9+dfsg-1ubuntu4.17) ...
  1590. Selecting previously unselected package gsfonts.
  1591. Preparing to unpack .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2ubuntu1_all.deb ...
  1592. Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
  1593. Selecting previously unselected package x11-common.
  1594. Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8.1_all.deb ...
  1595. Unpacking x11-common (1:7.7+1ubuntu8.1) ...
  1596. Selecting previously unselected package xfonts-encodings.
  1597. Preparing to unpack .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb ...
  1598. Unpacking xfonts-encodings (1:1.0.4-1ubuntu1) ...
  1599. Selecting previously unselected package xfonts-utils.
  1600. Preparing to unpack .../xfonts-utils_1%3a7.7+1_amd64.deb ...
  1601. Unpacking xfonts-utils (1:7.7+1) ...
  1602. Selecting previously unselected package gsfonts-x11.
  1603. Preparing to unpack .../gsfonts-x11_0.22_all.deb ...
  1604. Unpacking gsfonts-x11 (0.22) ...
  1605. Selecting previously unselected package libgeronimo-jta-1.1-spec-java.
  1606. Preparing to unpack .../libgeronimo-jta-1.1-spec-java_1.1.1-3ubuntu1_all.deb ...
  1607. Unpacking libgeronimo-jta-1.1-spec-java (1.1.1-3ubuntu1) ...
  1608. Selecting previously unselected package authbind.
  1609. Preparing to unpack .../authbind_2.1.1_amd64.deb ...
  1610. Unpacking authbind (2.1.1) ...
  1611. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  1612. Processing triggers for ureadahead (0.100.0-16) ...
  1613. Setting up adxadapter (1.0.0-0ubuntu8) ...
  1614. Setting up libfontenc1:amd64 (1:1.1.2-1) ...
  1615. Setting up libxfont1:amd64 (1:1.4.7-1ubuntu0.2) ...
  1616. Setting up openhim-console (1.6.0-10~trusty) ...
  1617. mkdir: cannot create directory ‘/etc/openhim’: File exists
  1618. * Reloading nginx configuration nginx [ OK ]
  1619. Successfully installed the OpenHIM-console!
  1620. Setting up user-management (0.3.2-1ubuntu1) ...
  1621. Setting up approvals (0.4.9-1ubuntu1) ...
  1622. Setting up dhis2-datim (1.0.0-1ubuntu11) ...
  1623. To configure DHIS2 for DATIM please run: sudo datim-config
  1624. Setting up csd-loader (1.2.9-1ubuntu1) ...
  1625. Setting up openhim-config-datim-node (0.3.1-12~trusty) ...
  1626. Configured for OpenHIM server testnode9.ohie.org:5008 using user root@openhim.org
  1627. =====Attempting to insert a CLIENT======
  1628. * Hostname was NOT found in DNS cache
  1629. * Trying 192.241.134.17...
  1630. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1631. * successfully set certificate verify locations:
  1632. * CAfile: none
  1633. CApath: /etc/ssl/certs
  1634. * SSLv3, TLS handshake, Client hello (1):
  1635. * SSLv3, TLS handshake, Server hello (2):
  1636. * SSLv3, TLS handshake, CERT (11):
  1637. * SSLv3, TLS handshake, Server key exchange (12):
  1638. * SSLv3, TLS handshake, Server finished (14):
  1639. * SSLv3, TLS handshake, Client key exchange (16):
  1640. * SSLv3, TLS change cipher, Client hello (1):
  1641. * SSLv3, TLS handshake, Finished (20):
  1642. * SSLv3, TLS change cipher, Client hello (1):
  1643. * SSLv3, TLS handshake, Finished (20):
  1644. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1645. * Server certificate:
  1646. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1647. * start date: 2015-02-20 09:57:12 GMT
  1648. * expire date: 2015-02-20 09:57:12 GMT
  1649. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1650. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1651. > POST /clients HTTP/1.1
  1652. > User-Agent: curl/7.35.0
  1653. > Host: testnode9.ohie.org:5008
  1654. > Accept: */*
  1655. > Content-Type: application/json
  1656. > auth-username: root@openhim.org
  1657. > auth-ts: 2016-07-22T14:18:20.354Z
  1658. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1659. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1660. > Content-Length: 373
  1661. >
  1662. * upload completely sent off: 373 out of 373 bytes
  1663. < HTTP/1.1 201 Created
  1664. < Access-Control-Allow-Origin: *
  1665. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1666. < Content-Type: text/plain; charset=utf-8
  1667. < Content-Length: 27
  1668. < Date: Fri, 22 Jul 2016 14:18:20 GMT
  1669. < Connection: keep-alive
  1670. <
  1671. * Connection #0 to host testnode9.ohie.org left intact
  1672. Client successfully created
  1673. =====DONE======
  1674. =====Attempting to insert a CLIENT======
  1675. * Hostname was NOT found in DNS cache
  1676. * Trying 192.241.134.17...
  1677. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1678. * successfully set certificate verify locations:
  1679. * CAfile: none
  1680. CApath: /etc/ssl/certs
  1681. * SSLv3, TLS handshake, Client hello (1):
  1682. * SSLv3, TLS handshake, Server hello (2):
  1683. * SSLv3, TLS handshake, CERT (11):
  1684. * SSLv3, TLS handshake, Server key exchange (12):
  1685. * SSLv3, TLS handshake, Server finished (14):
  1686. * SSLv3, TLS handshake, Client key exchange (16):
  1687. * SSLv3, TLS change cipher, Client hello (1):
  1688. * SSLv3, TLS handshake, Finished (20):
  1689. * SSLv3, TLS change cipher, Client hello (1):
  1690. * SSLv3, TLS handshake, Finished (20):
  1691. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1692. * Server certificate:
  1693. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1694. * start date: 2015-02-20 09:57:12 GMT
  1695. * expire date: 2015-02-20 09:57:12 GMT
  1696. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1697. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1698. > POST /clients HTTP/1.1
  1699. > User-Agent: curl/7.35.0
  1700. > Host: testnode9.ohie.org:5008
  1701. > Accept: */*
  1702. > Content-Type: application/json
  1703. > auth-username: root@openhim.org
  1704. > auth-ts: 2016-07-22T14:18:20.354Z
  1705. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1706. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1707. > Content-Length: 373
  1708. >
  1709. * upload completely sent off: 373 out of 373 bytes
  1710. < HTTP/1.1 201 Created
  1711. < Access-Control-Allow-Origin: *
  1712. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1713. < Content-Type: text/plain; charset=utf-8
  1714. < Content-Length: 27
  1715. < Date: Fri, 22 Jul 2016 14:18:20 GMT
  1716. < Connection: keep-alive
  1717. <
  1718. * Connection #0 to host testnode9.ohie.org left intact
  1719. Client successfully created
  1720. =====DONE======
  1721. =====Attempting to insert a CHANNEL======
  1722. * Hostname was NOT found in DNS cache
  1723. * Trying 192.241.134.17...
  1724. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1725. * successfully set certificate verify locations:
  1726. * CAfile: none
  1727. CApath: /etc/ssl/certs
  1728. * SSLv3, TLS handshake, Client hello (1):
  1729. * SSLv3, TLS handshake, Server hello (2):
  1730. * SSLv3, TLS handshake, CERT (11):
  1731. * SSLv3, TLS handshake, Server key exchange (12):
  1732. * SSLv3, TLS handshake, Server finished (14):
  1733. * SSLv3, TLS handshake, Client key exchange (16):
  1734. * SSLv3, TLS change cipher, Client hello (1):
  1735. * SSLv3, TLS handshake, Finished (20):
  1736. * SSLv3, TLS change cipher, Client hello (1):
  1737. * SSLv3, TLS handshake, Finished (20):
  1738. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1739. * Server certificate:
  1740. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1741. * start date: 2015-02-20 09:57:12 GMT
  1742. * expire date: 2015-02-20 09:57:12 GMT
  1743. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1744. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1745. > POST /channels HTTP/1.1
  1746. > User-Agent: curl/7.35.0
  1747. > Host: testnode9.ohie.org:5008
  1748. > Accept: */*
  1749. > Content-Type: application/json
  1750. > auth-username: root@openhim.org
  1751. > auth-ts: 2016-07-22T14:18:20.354Z
  1752. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1753. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1754. > Content-Length: 739
  1755. >
  1756. * upload completely sent off: 739 out of 739 bytes
  1757. < HTTP/1.1 201 Created
  1758. < Access-Control-Allow-Origin: *
  1759. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1760. < Content-Type: text/plain; charset=utf-8
  1761. < Content-Length: 28
  1762. < Date: Fri, 22 Jul 2016 14:18:20 GMT
  1763. < Connection: keep-alive
  1764. <
  1765. * Connection #0 to host testnode9.ohie.org left intact
  1766. Channel successfully created
  1767. =====DONE======
  1768. =====Attempting to insert a CHANNEL======
  1769. * Hostname was NOT found in DNS cache
  1770. * Trying 192.241.134.17...
  1771. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1772. * successfully set certificate verify locations:
  1773. * CAfile: none
  1774. CApath: /etc/ssl/certs
  1775. * SSLv3, TLS handshake, Client hello (1):
  1776. * SSLv3, TLS handshake, Server hello (2):
  1777. * SSLv3, TLS handshake, CERT (11):
  1778. * SSLv3, TLS handshake, Server key exchange (12):
  1779. * SSLv3, TLS handshake, Server finished (14):
  1780. * SSLv3, TLS handshake, Client key exchange (16):
  1781. * SSLv3, TLS change cipher, Client hello (1):
  1782. * SSLv3, TLS handshake, Finished (20):
  1783. * SSLv3, TLS change cipher, Client hello (1):
  1784. * SSLv3, TLS handshake, Finished (20):
  1785. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1786. * Server certificate:
  1787. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1788. * start date: 2015-02-20 09:57:12 GMT
  1789. * expire date: 2015-02-20 09:57:12 GMT
  1790. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1791. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1792. > POST /channels HTTP/1.1
  1793. > User-Agent: curl/7.35.0
  1794. > Host: testnode9.ohie.org:5008
  1795. > Accept: */*
  1796. > Content-Type: application/json
  1797. > auth-username: root@openhim.org
  1798. > auth-ts: 2016-07-22T14:18:20.354Z
  1799. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1800. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1801. > Content-Length: 776
  1802. >
  1803. * upload completely sent off: 776 out of 776 bytes
  1804. < HTTP/1.1 201 Created
  1805. < Access-Control-Allow-Origin: *
  1806. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1807. < Content-Type: text/plain; charset=utf-8
  1808. < Content-Length: 28
  1809. < Date: Fri, 22 Jul 2016 14:18:20 GMT
  1810. < Connection: keep-alive
  1811. <
  1812. * Connection #0 to host testnode9.ohie.org left intact
  1813. Channel successfully created
  1814. =====DONE======
  1815. =====Attempting to insert a CHANNEL======
  1816. * Hostname was NOT found in DNS cache
  1817. * Trying 192.241.134.17...
  1818. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1819. * successfully set certificate verify locations:
  1820. * CAfile: none
  1821. CApath: /etc/ssl/certs
  1822. * SSLv3, TLS handshake, Client hello (1):
  1823. * SSLv3, TLS handshake, Server hello (2):
  1824. * SSLv3, TLS handshake, CERT (11):
  1825. * SSLv3, TLS handshake, Server key exchange (12):
  1826. * SSLv3, TLS handshake, Server finished (14):
  1827. * SSLv3, TLS handshake, Client key exchange (16):
  1828. * SSLv3, TLS change cipher, Client hello (1):
  1829. * SSLv3, TLS handshake, Finished (20):
  1830. * SSLv3, TLS change cipher, Client hello (1):
  1831. * SSLv3, TLS handshake, Finished (20):
  1832. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1833. * Server certificate:
  1834. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1835. * start date: 2015-02-20 09:57:12 GMT
  1836. * expire date: 2015-02-20 09:57:12 GMT
  1837. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1838. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1839. > POST /channels HTTP/1.1
  1840. > User-Agent: curl/7.35.0
  1841. > Host: testnode9.ohie.org:5008
  1842. > Accept: */*
  1843. > Content-Type: application/json
  1844. > auth-username: root@openhim.org
  1845. > auth-ts: 2016-07-22T14:18:20.354Z
  1846. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1847. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1848. > Content-Length: 790
  1849. >
  1850. * upload completely sent off: 790 out of 790 bytes
  1851. < HTTP/1.1 201 Created
  1852. < Access-Control-Allow-Origin: *
  1853. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1854. < Content-Type: text/plain; charset=utf-8
  1855. < Content-Length: 28
  1856. < Date: Fri, 22 Jul 2016 14:18:21 GMT
  1857. < Connection: keep-alive
  1858. <
  1859. * Connection #0 to host testnode9.ohie.org left intact
  1860. Channel successfully created
  1861. =====DONE======
  1862. =====Attempting to insert a CHANNEL======
  1863. * Hostname was NOT found in DNS cache
  1864. * Trying 192.241.134.17...
  1865. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1866. * successfully set certificate verify locations:
  1867. * CAfile: none
  1868. CApath: /etc/ssl/certs
  1869. * SSLv3, TLS handshake, Client hello (1):
  1870. * SSLv3, TLS handshake, Server hello (2):
  1871. * SSLv3, TLS handshake, CERT (11):
  1872. * SSLv3, TLS handshake, Server key exchange (12):
  1873. * SSLv3, TLS handshake, Server finished (14):
  1874. * SSLv3, TLS handshake, Client key exchange (16):
  1875. * SSLv3, TLS change cipher, Client hello (1):
  1876. * SSLv3, TLS handshake, Finished (20):
  1877. * SSLv3, TLS change cipher, Client hello (1):
  1878. * SSLv3, TLS handshake, Finished (20):
  1879. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1880. * Server certificate:
  1881. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1882. * start date: 2015-02-20 09:57:12 GMT
  1883. * expire date: 2015-02-20 09:57:12 GMT
  1884. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1885. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1886. > POST /channels HTTP/1.1
  1887. > User-Agent: curl/7.35.0
  1888. > Host: testnode9.ohie.org:5008
  1889. > Accept: */*
  1890. > Content-Type: application/json
  1891. > auth-username: root@openhim.org
  1892. > auth-ts: 2016-07-22T14:18:20.354Z
  1893. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1894. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1895. > Content-Length: 792
  1896. >
  1897. * upload completely sent off: 792 out of 792 bytes
  1898. < HTTP/1.1 201 Created
  1899. < Access-Control-Allow-Origin: *
  1900. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1901. < Content-Type: text/plain; charset=utf-8
  1902. < Content-Length: 28
  1903. < Date: Fri, 22 Jul 2016 14:18:21 GMT
  1904. < Connection: keep-alive
  1905. <
  1906. * Connection #0 to host testnode9.ohie.org left intact
  1907. Channel successfully created
  1908. =====DONE======
  1909. =====Attempting to insert a CHANNEL======
  1910. * Hostname was NOT found in DNS cache
  1911. * Trying 192.241.134.17...
  1912. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1913. * successfully set certificate verify locations:
  1914. * CAfile: none
  1915. CApath: /etc/ssl/certs
  1916. * SSLv3, TLS handshake, Client hello (1):
  1917. * SSLv3, TLS handshake, Server hello (2):
  1918. * SSLv3, TLS handshake, CERT (11):
  1919. * SSLv3, TLS handshake, Server key exchange (12):
  1920. * SSLv3, TLS handshake, Server finished (14):
  1921. * SSLv3, TLS handshake, Client key exchange (16):
  1922. * SSLv3, TLS change cipher, Client hello (1):
  1923. * SSLv3, TLS handshake, Finished (20):
  1924. * SSLv3, TLS change cipher, Client hello (1):
  1925. * SSLv3, TLS handshake, Finished (20):
  1926. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1927. * Server certificate:
  1928. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1929. * start date: 2015-02-20 09:57:12 GMT
  1930. * expire date: 2015-02-20 09:57:12 GMT
  1931. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1932. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1933. > POST /channels HTTP/1.1
  1934. > User-Agent: curl/7.35.0
  1935. > Host: testnode9.ohie.org:5008
  1936. > Accept: */*
  1937. > Content-Type: application/json
  1938. > auth-username: root@openhim.org
  1939. > auth-ts: 2016-07-22T14:18:20.354Z
  1940. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1941. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1942. > Content-Length: 723
  1943. >
  1944. * upload completely sent off: 723 out of 723 bytes
  1945. < HTTP/1.1 201 Created
  1946. < Access-Control-Allow-Origin: *
  1947. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1948. < Content-Type: text/plain; charset=utf-8
  1949. < Content-Length: 28
  1950. < Date: Fri, 22 Jul 2016 14:18:21 GMT
  1951. < Connection: keep-alive
  1952. <
  1953. * Connection #0 to host testnode9.ohie.org left intact
  1954. Channel successfully created
  1955. =====DONE======
  1956. =====Attempting to insert a CHANNEL======
  1957. * Hostname was NOT found in DNS cache
  1958. * Trying 192.241.134.17...
  1959. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  1960. * successfully set certificate verify locations:
  1961. * CAfile: none
  1962. CApath: /etc/ssl/certs
  1963. * SSLv3, TLS handshake, Client hello (1):
  1964. * SSLv3, TLS handshake, Server hello (2):
  1965. * SSLv3, TLS handshake, CERT (11):
  1966. * SSLv3, TLS handshake, Server key exchange (12):
  1967. * SSLv3, TLS handshake, Server finished (14):
  1968. * SSLv3, TLS handshake, Client key exchange (16):
  1969. * SSLv3, TLS change cipher, Client hello (1):
  1970. * SSLv3, TLS handshake, Finished (20):
  1971. * SSLv3, TLS change cipher, Client hello (1):
  1972. * SSLv3, TLS handshake, Finished (20):
  1973. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  1974. * Server certificate:
  1975. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1976. * start date: 2015-02-20 09:57:12 GMT
  1977. * expire date: 2015-02-20 09:57:12 GMT
  1978. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  1979. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  1980. > POST /channels HTTP/1.1
  1981. > User-Agent: curl/7.35.0
  1982. > Host: testnode9.ohie.org:5008
  1983. > Accept: */*
  1984. > Content-Type: application/json
  1985. > auth-username: root@openhim.org
  1986. > auth-ts: 2016-07-22T14:18:20.354Z
  1987. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  1988. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  1989. > Content-Length: 705
  1990. >
  1991. * upload completely sent off: 705 out of 705 bytes
  1992. < HTTP/1.1 201 Created
  1993. < Access-Control-Allow-Origin: *
  1994. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  1995. < Content-Type: text/plain; charset=utf-8
  1996. < Content-Length: 28
  1997. < Date: Fri, 22 Jul 2016 14:18:21 GMT
  1998. < Connection: keep-alive
  1999. <
  2000. * Connection #0 to host testnode9.ohie.org left intact
  2001. Channel successfully created
  2002. =====DONE======
  2003. =====Attempting to insert a CHANNEL======
  2004. * Hostname was NOT found in DNS cache
  2005. * Trying 192.241.134.17...
  2006. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  2007. * successfully set certificate verify locations:
  2008. * CAfile: none
  2009. CApath: /etc/ssl/certs
  2010. * SSLv3, TLS handshake, Client hello (1):
  2011. * SSLv3, TLS handshake, Server hello (2):
  2012. * SSLv3, TLS handshake, CERT (11):
  2013. * SSLv3, TLS handshake, Server key exchange (12):
  2014. * SSLv3, TLS handshake, Server finished (14):
  2015. * SSLv3, TLS handshake, Client key exchange (16):
  2016. * SSLv3, TLS change cipher, Client hello (1):
  2017. * SSLv3, TLS handshake, Finished (20):
  2018. * SSLv3, TLS change cipher, Client hello (1):
  2019. * SSLv3, TLS handshake, Finished (20):
  2020. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2021. * Server certificate:
  2022. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2023. * start date: 2015-02-20 09:57:12 GMT
  2024. * expire date: 2015-02-20 09:57:12 GMT
  2025. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2026. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2027. > POST /channels HTTP/1.1
  2028. > User-Agent: curl/7.35.0
  2029. > Host: testnode9.ohie.org:5008
  2030. > Accept: */*
  2031. > Content-Type: application/json
  2032. > auth-username: root@openhim.org
  2033. > auth-ts: 2016-07-22T14:18:20.354Z
  2034. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2035. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  2036. > Content-Length: 847
  2037. >
  2038. * upload completely sent off: 847 out of 847 bytes
  2039. < HTTP/1.1 201 Created
  2040. < Access-Control-Allow-Origin: *
  2041. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2042. < Content-Type: text/plain; charset=utf-8
  2043. < Content-Length: 28
  2044. < Date: Fri, 22 Jul 2016 14:18:21 GMT
  2045. < Connection: keep-alive
  2046. <
  2047. * Connection #0 to host testnode9.ohie.org left intact
  2048. Channel successfully created
  2049. =====DONE======
  2050. =====Attempting to insert a USER======
  2051. * Hostname was NOT found in DNS cache
  2052. * Trying 192.241.134.17...
  2053. * Connected to testnode9.ohie.org (192.241.134.17) port 5008 (#0)
  2054. * successfully set certificate verify locations:
  2055. * CAfile: none
  2056. CApath: /etc/ssl/certs
  2057. * SSLv3, TLS handshake, Client hello (1):
  2058. * SSLv3, TLS handshake, Server hello (2):
  2059. * SSLv3, TLS handshake, CERT (11):
  2060. * SSLv3, TLS handshake, Server key exchange (12):
  2061. * SSLv3, TLS handshake, Server finished (14):
  2062. * SSLv3, TLS handshake, Client key exchange (16):
  2063. * SSLv3, TLS change cipher, Client hello (1):
  2064. * SSLv3, TLS handshake, Finished (20):
  2065. * SSLv3, TLS change cipher, Client hello (1):
  2066. * SSLv3, TLS handshake, Finished (20):
  2067. * SSL connection using ECDHE-RSA-AES256-GCM-SHA384
  2068. * Server certificate:
  2069. * subject: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2070. * start date: 2015-02-20 09:57:12 GMT
  2071. * expire date: 2015-02-20 09:57:12 GMT
  2072. * issuer: C=ZA; ST=KZN; L=Durban; O=OpenHIM Default Certificate; OU=Default; CN=localhost; emailAddress=openhim-implementers@googlegroups.com
  2073. * SSL certificate verify result: self signed certificate (18), continuing anyway.
  2074. > POST /users HTTP/1.1
  2075. > User-Agent: curl/7.35.0
  2076. > Host: testnode9.ohie.org:5008
  2077. > Accept: */*
  2078. > Content-Type: application/json
  2079. > auth-username: root@openhim.org
  2080. > auth-ts: 2016-07-22T14:18:20.354Z
  2081. > auth-salt: d9bcb40e-ae65-478f-962e-5e5e5e7d0a01
  2082. > auth-token: 403957e70d6d76bbeea3a6c507f50bd0659aeec3ab1fb8603fb0d9d62597038c2691b9d8596f9aaf7ba4a30ff3453878a51415295068dd828b39e23b3b9fd793
  2083. > Content-Length: 318
  2084. >
  2085. * upload completely sent off: 318 out of 318 bytes
  2086. < HTTP/1.1 201 Created
  2087. < Access-Control-Allow-Origin: *
  2088. < Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
  2089. < Content-Type: text/plain; charset=utf-8
  2090. < Content-Length: 25
  2091. < Date: Fri, 22 Jul 2016 14:18:21 GMT
  2092. < Connection: keep-alive
  2093. <
  2094. * Connection #0 to host testnode9.ohie.org left intact
  2095. User successfully created
  2096. =====DONE======
  2097. Installing node v4 for mediators...
  2098. ######################################################################## 100.0%
  2099. Checksums empty
  2100. Now using node v4.4.7 (npm v2.15.8)
  2101. Done.
  2102. stop: Unknown instance:
  2103. stop: Unknown instance:
  2104. stop: Unknown instance:
  2105. openhim-mediator-file-queue start/running, process 13563
  2106. openhim-mediator-datim start/running, process 13566
  2107. openhim-mediator-adx-csd-mapper start/running, process 13572
  2108. Setting up datim-mapping (1.0.0-1ubuntu1) ...
  2109. Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
  2110. Setting up x11-common (1:7.7+1ubuntu8.1) ...
  2111. * Setting up X socket directories... [ OK ]
  2112. Setting up libgeronimo-jta-1.1-spec-java (1.1.1-3ubuntu1) ...
  2113. Setting up authbind (2.1.1) ...
  2114. Processing triggers for ureadahead (0.100.0-16) ...
  2115. Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...
  2116. Setting up xfonts-utils (1:7.7+1) ...
  2117. Setting up gsfonts-x11 (0.22) ...
  2118. Setting up php5-common (5.5.9+dfsg-1ubuntu4.17) ...
  2119.  
  2120. Creating config file /etc/php5/mods-available/pdo.ini with new version
  2121. php5_invoke: Enable module pdo for cli SAPI
  2122.  
  2123. Creating config file /etc/php5/mods-available/opcache.ini with new version
  2124. php5_invoke: Enable module opcache for cli SAPI
  2125. Setting up php5-cli (5.5.9+dfsg-1ubuntu4.17) ...
  2126. update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
  2127.  
  2128. Creating config file /etc/php5/cli/php.ini with new version
  2129. php5_invoke opcache: already enabled for cli SAPI
  2130. php5_invoke pdo: already enabled for cli SAPI
  2131. Setting up openinfoman (1.4.18~trusty) ...
  2132. + set -e
  2133. + . /usr/share/debconf/confmodule
  2134. ++ '[' '!' '' ']'
  2135. ++ PERL_DL_NONLAZY=1
  2136. ++ export PERL_DL_NONLAZY
  2137. ++ '[' '' ']'
  2138. ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/openinfoman.postinst configure ''
  2139. + OI=/var/lib/openinfoman
  2140. + USERNAME=oi
  2141. + action=configure
  2142. + cur_version=
  2143. + . /usr/share/debconf/confmodule
  2144. ++ '[' '!' 1 ']'
  2145. ++ '[' -z '' ']'
  2146. ++ exec
  2147. ++ '[' '' ']'
  2148. ++ exec
  2149. ++ DEBCONF_REDIR=1
  2150. ++ export DEBCONF_REDIR
  2151. + db_input high openinfoman/memsize
  2152. + _db_cmd 'INPUT high' openinfoman/memsize
  2153. + _db_internal_IFS='
  2154. '
  2155. + IFS=' '
  2156. + printf '%s\n' 'INPUT high openinfoman/memsize'
  2157. + IFS='
  2158. '
  2159. + IFS='
  2160. '
  2161. + read -r _db_internal_line
  2162. + RET='30 question skipped'
  2163. + case ${_db_internal_line%%[ ]*} in
  2164. + return 30
  2165. + true
  2166. + db_go
  2167. + _db_cmd 'GO '
  2168. + _db_internal_IFS='
  2169. '
  2170. + IFS=' '
  2171. + printf '%s\n' 'GO '
  2172. + IFS='
  2173. '
  2174. + IFS='
  2175. '
  2176. + read -r _db_internal_line
  2177. + RET=ok
  2178. + case ${_db_internal_line%%[ ]*} in
  2179. + return 0
  2180. + db_get openinfoman/memsize
  2181. + _db_cmd 'GET openinfoman/memsize'
  2182. + _db_internal_IFS='
  2183. '
  2184. + IFS=' '
  2185. + printf '%s\n' 'GET openinfoman/memsize'
  2186. + IFS='
  2187. '
  2188. + IFS='
  2189. '
  2190. + read -r _db_internal_line
  2191. + RET=8G
  2192. + case ${_db_internal_line%%[ ]*} in
  2193. + return 0
  2194. + HEAP=8G
  2195. + db_input high openinfoman/baseurl
  2196. + _db_cmd 'INPUT high' openinfoman/baseurl
  2197. + _db_internal_IFS='
  2198. '
  2199. + IFS=' '
  2200. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  2201. + IFS='
  2202. '
  2203. + IFS='
  2204. '
  2205. + read -r _db_internal_line
  2206. + RET='30 question skipped'
  2207. + case ${_db_internal_line%%[ ]*} in
  2208. + return 30
  2209. + true
  2210. + db_go
  2211. + _db_cmd 'GO '
  2212. + _db_internal_IFS='
  2213. '
  2214. + IFS=' '
  2215. + printf '%s\n' 'GO '
  2216. + IFS='
  2217. '
  2218. + IFS='
  2219. '
  2220. + read -r _db_internal_line
  2221. + RET=ok
  2222. + case ${_db_internal_line%%[ ]*} in
  2223. + return 0
  2224. + db_get openinfoman/baseurl
  2225. + _db_cmd 'GET openinfoman/baseurl'
  2226. + _db_internal_IFS='
  2227. '
  2228. + IFS=' '
  2229. + printf '%s\n' 'GET openinfoman/baseurl'
  2230. + IFS='
  2231. '
  2232. + IFS='
  2233. '
  2234. + read -r _db_internal_line
  2235. + RET=https://testnode9.ohie.org/ILR
  2236. + case ${_db_internal_line%%[ ]*} in
  2237. + return 0
  2238. + BASEURL=https://testnode9.ohie.org/ILR
  2239. + db_input high openinfoman/dbname
  2240. + _db_cmd 'INPUT high' openinfoman/dbname
  2241. + _db_internal_IFS='
  2242. '
  2243. + IFS=' '
  2244. + printf '%s\n' 'INPUT high openinfoman/dbname'
  2245. + IFS='
  2246. '
  2247. + IFS='
  2248. '
  2249. + read -r _db_internal_line
  2250. + RET='30 question skipped'
  2251. + case ${_db_internal_line%%[ ]*} in
  2252. + return 30
  2253. + true
  2254. + db_go
  2255. + _db_cmd 'GO '
  2256. + _db_internal_IFS='
  2257. '
  2258. + IFS=' '
  2259. + printf '%s\n' 'GO '
  2260. + IFS='
  2261. '
  2262. + IFS='
  2263. '
  2264. + read -r _db_internal_line
  2265. + RET=ok
  2266. + case ${_db_internal_line%%[ ]*} in
  2267. + return 0
  2268. + db_get openinfoman/dbname
  2269. + _db_cmd 'GET openinfoman/dbname'
  2270. + _db_internal_IFS='
  2271. '
  2272. + IFS=' '
  2273. + printf '%s\n' 'GET openinfoman/dbname'
  2274. + IFS='
  2275. '
  2276. + IFS='
  2277. '
  2278. + read -r _db_internal_line
  2279. + RET=provider_directory
  2280. + case ${_db_internal_line%%[ ]*} in
  2281. + return 0
  2282. + DBNAME=provider_directory
  2283. + mkdir -p /var/lib/openinfoman/repo-src
  2284. + chown -R oi:oi /var/lib/openinfoman/repo-src
  2285. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  2286. declare variable $csd_webconf:db := '\''provider_directory'\'';
  2287. declare variable $csd_webconf:baseurl := '\''https://testnode9.ohie.org/ILR'\'';
  2288. declare variable $csd_webconf:remote_services := ();
  2289. '
  2290. + echo '#!/usr/bin/env bash
  2291. HEAP=8G
  2292. # Path to this script
  2293.  
  2294. FILE="${BASH_SOURCE[0]}"
  2295. while [ -h "$FILE" ] ; do
  2296. SRC="$(readlink "$FILE")"
  2297. FILE="$( cd -P "$(dirname "$FILE")" && \
  2298. cd -P "$(dirname "$SRC")" && pwd )/$(basename "$SRC")"
  2299. done
  2300.  
  2301. BX="$( cd -P "$(dirname "$FILE")/.." && pwd )"
  2302. # API, core, and library classes
  2303. CP="$BX/BaseX.jar$(printf ":%s" "$BX/lib/"*.jar "$BXCORE/lib/"*.jar)"
  2304. # Options for virtual machine (can be extended by global options)
  2305. BASEX_JVM="-Xmx$HEAP $BASEX_JVM"
  2306.  
  2307.  
  2308. # Run code
  2309. java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
  2310.  
  2311. '
  2312. + exit 0
  2313. + set -e
  2314. + . /usr/share/debconf/confmodule
  2315. ++ '[' '!' 1 ']'
  2316. ++ '[' -z '' ']'
  2317. ++ exec
  2318. ++ '[' '' ']'
  2319. ++ exec
  2320. ++ DEBCONF_REDIR=1
  2321. ++ export DEBCONF_REDIR
  2322. + WGET=/usr/bin/wget
  2323. + OI=/var/lib/openinfoman
  2324. + USERNAME=oi
  2325. + BASEX=/var/lib/openinfoman/bin/basex
  2326. + REPOS=("csd_webapp_ui.xqm" "csd_base_library.xqm" "csd_base_library_updating.xqm" "csd_base_stored_queries.xqm" "csd_document_manager.xqm" "csd_load_sample_directories.xqm" "csd_query_updated_services.xqm" "csd_poll_service_directories.xqm" "csd_local_services_cache.xqm" "csd_merge_cached_services.xqm" "csr_processor.xqm" "svs_load_shared_value_sets.xqm" "async_fake.xqm")
  2327. + SFS=("stored_query_definitions/facility_search.xml" "stored_query_definitions/adhoc_search.xml" "stored_query_definitions/service_search.xml" "stored_query_definitions/organization_search.xml" "stored_query_definitions/provider_search.xml" "stored_query_definitions/modtimes.xml" "stored_updating_query_definitions/service_create.xml" "stored_updating_query_definitions/mark_duplicate.xml" "stored_updating_query_definitions/simple_merge.xml" "stored_updating_query_definitions/mark_potential_duplicate.xml" "stored_updating_query_definitions/delete_potential_duplicate.xml" "stored_updating_query_definitions/organization_create.xml" "stored_updating_query_definitions/provider_create.xml" "stored_updating_query_definitions/facility_create.xml" "stored_updating_query_definitions/delete_duplicate.xml" "stored_updating_query_definitions/merge_by_identifier.xml" "stored_updating_query_definitions/extract_hierarchy.xml")
  2328. + SVSS=("1.3.6.1.4.1.21367.200.101" "1.3.6.1.4.1.21367.200.102" "1.3.6.1.4.1.21367.200.103" "1.3.6.1.4.1.21367.200.104" "1.3.6.1.4.1.21367.200.105" "1.3.6.1.4.1.21367.200.106" "1.3.6.1.4.1.21367.200.108" "1.3.6.1.4.1.21367.200.109" "1.3.6.1.4.1.21367.200.110" "2.25.1098910207106778371035457739371181056504702027035" "2.25.17331675369518445540420660603637128875763657" "2.25.18630021159349753613449707959296853730613166189051" "2.25.259359036081944859901459759453974543442705863430576" "2.25.265608663818616228188834890512310231251363785626032" "2.25.309768652999692686176651983274504471835.999.400" "2.25.309768652999692686176651983274504471835.999.401" "2.25.309768652999692686176651983274504471835.999.402" "2.25.309768652999692686176651983274504471835.999.403" "2.25.309768652999692686176651983274504471835.999.404" "2.25.309768652999692686176651983274504471835.999.405" "2.25.309768652999692686176651983274504471835.999.406" "2.25.9830357893067925519626800209704957770712560")
  2329. + set +e
  2330. + db_input high openinfoman/dbname
  2331. + _db_cmd 'INPUT high' openinfoman/dbname
  2332. + _db_internal_IFS='
  2333. '
  2334. + IFS=' '
  2335. + printf '%s\n' 'INPUT high openinfoman/dbname'
  2336. + IFS='
  2337. '
  2338. + IFS='
  2339. '
  2340. + read -r _db_internal_line
  2341. + RET='30 question skipped'
  2342. + case ${_db_internal_line%%[ ]*} in
  2343. + return 30
  2344. + true
  2345. + db_go
  2346. + _db_cmd 'GO '
  2347. + _db_internal_IFS='
  2348. '
  2349. + IFS=' '
  2350. + printf '%s\n' 'GO '
  2351. + IFS='
  2352. '
  2353. + IFS='
  2354. '
  2355. + read -r _db_internal_line
  2356. + RET=ok
  2357. + case ${_db_internal_line%%[ ]*} in
  2358. + return 0
  2359. + db_get openinfoman/dbname
  2360. + _db_cmd 'GET openinfoman/dbname'
  2361. + _db_internal_IFS='
  2362. '
  2363. + IFS=' '
  2364. + printf '%s\n' 'GET openinfoman/dbname'
  2365. + IFS='
  2366. '
  2367. + IFS='
  2368. '
  2369. + read -r _db_internal_line
  2370. + RET=provider_directory
  2371. + case ${_db_internal_line%%[ ]*} in
  2372. + return 0
  2373. + DBNAME=provider_directory
  2374. + /var/lib/openinfoman/bin/basex -Vc 'list provider_directory'
  2375. /var/lib/openinfoman/.basex: writing new configuration file.
  2376. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2377. at org.basex.core.cmd.Open.open(Open.java:92)
  2378. at org.basex.core.cmd.List.listDB(List.java:121)
  2379. at org.basex.core.cmd.List.run(List.java:51)
  2380. at org.basex.core.Command.run(Command.java:253)
  2381. at org.basex.core.Command.execute(Command.java:99)
  2382. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2383. at org.basex.api.client.Session.execute(Session.java:36)
  2384. at org.basex.core.CLI.execute(CLI.java:103)
  2385. at org.basex.core.CLI.execute(CLI.java:87)
  2386. at org.basex.core.CLI.execute(CLI.java:74)
  2387. at org.basex.BaseX.<init>(BaseX.java:86)
  2388. at org.basex.BaseX.main(BaseX.java:42)
  2389. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2390. at org.basex.core.Command.execute(Command.java:100)
  2391. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2392. at org.basex.api.client.Session.execute(Session.java:36)
  2393. at org.basex.core.CLI.execute(CLI.java:103)
  2394. at org.basex.core.CLI.execute(CLI.java:87)
  2395. at org.basex.core.CLI.execute(CLI.java:74)
  2396. at org.basex.BaseX.<init>(BaseX.java:86)
  2397. at org.basex.BaseX.main(BaseX.java:42)
  2398. Database 'provider_directory' was not found.
  2399. + '[' 1 -eq 0 ']'
  2400. + echo 'BaseX Database provider_directory does not exist\n'
  2401. BaseX Database provider_directory does not exist\n
  2402. + /var/lib/openinfoman/bin/basex -Vc 'create database $DBNAME'
  2403. Creating Database...
  2404. 0.47 ms (9057 KB)
  2405. Indexing Text...
  2406. 0.0 M operations, 6.95 ms (11638 KB).
  2407. Indexing Attribute Values...
  2408. 0.0 M operations, 0.54 ms (11638 KB).
  2409. Database '$DBNAME' created in 210.2 ms.
  2410. + set -e
  2411. + chown -R oi:oi /var/lib/openinfoman
  2412. + chmod +s /usr/bin/oi-log
  2413. + mkdir -p /var/lib/openinfoman/repo-src
  2414. + GENERATED=/var/lib/openinfoman/repo-src/generated_openinfoman_webconfig.xqm
  2415. + db_input high openinfoman/baseurl
  2416. + _db_cmd 'INPUT high' openinfoman/baseurl
  2417. + _db_internal_IFS='
  2418. '
  2419. + IFS=' '
  2420. + printf '%s\n' 'INPUT high openinfoman/baseurl'
  2421. + IFS='
  2422. '
  2423. + IFS='
  2424. '
  2425. + read -r _db_internal_line
  2426. + RET='30 question skipped'
  2427. + case ${_db_internal_line%%[ ]*} in
  2428. + return 30
  2429. + true
  2430. + db_go
  2431. + _db_cmd 'GO '
  2432. + _db_internal_IFS='
  2433. '
  2434. + IFS=' '
  2435. + printf '%s\n' 'GO '
  2436. + IFS='
  2437. '
  2438. + IFS='
  2439. '
  2440. + read -r _db_internal_line
  2441. + RET=ok
  2442. + case ${_db_internal_line%%[ ]*} in
  2443. + return 0
  2444. + db_get openinfoman/baseurl
  2445. + _db_cmd 'GET openinfoman/baseurl'
  2446. + _db_internal_IFS='
  2447. '
  2448. + IFS=' '
  2449. + printf '%s\n' 'GET openinfoman/baseurl'
  2450. + IFS='
  2451. '
  2452. + IFS='
  2453. '
  2454. + read -r _db_internal_line
  2455. + RET=https://testnode9.ohie.org/ILR
  2456. + case ${_db_internal_line%%[ ]*} in
  2457. + return 0
  2458. + BASEURL=https://testnode9.ohie.org/ILR
  2459. + echo 'module namespace csd_webconf = '\''https://github.com/openhie/openinfoman/csd_webconf'\'';
  2460. declare variable $csd_webconf:db := '\''provider_directory'\'';
  2461. declare variable $csd_webconf:baseurl := '\''https://testnode9.ohie.org/ILR'\'';
  2462. declare variable $csd_webconf:remote_services := ();
  2463. '
  2464. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL http://files.basex.org/modules/expath/functx-1.0.xar'
  2465. Creating Database...
  2466. . 91.39 ms (11641 KB)
  2467. Package 'http://files.basex.org/modules/expath/functx-1.0.xar' installed in 1767.31 ms.
  2468. + /var/lib/openinfoman/bin/basex -Vc 'REPO DELETE https://github.com/openhie/openinfoman/csd_webconf'
  2469. + true
  2470. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/generated_openinfoman_webconfig.xqm'
  2471. Package '/var/lib/openinfoman/repo-src/generated_openinfoman_webconfig.xqm' installed in 355.06 ms.
  2472. + for REPO in '${REPOS[@]}'
  2473. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_webapp_ui.xqm'
  2474. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_webapp_ui.xqm'
  2475. Creating Database...
  2476. . 71.94 ms (20735 KB)
  2477. Creating Database...
  2478. . 11.71 ms (22025 KB)
  2479. Package '/var/lib/openinfoman/repo-src/csd_webapp_ui.xqm' installed in 799.09 ms.
  2480. + for REPO in '${REPOS[@]}'
  2481. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library.xqm'
  2482. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library.xqm'
  2483. Creating Database...
  2484. . 74.64 ms (21986 KB)
  2485. Creating Database...
  2486. . 7.74 ms (21986 KB)
  2487. Package '/var/lib/openinfoman/repo-src/csd_base_library.xqm' installed in 805.79 ms.
  2488. + for REPO in '${REPOS[@]}'
  2489. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library_updating.xqm'
  2490. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_library_updating.xqm'
  2491. Creating Database...
  2492. . 52.85 ms (20733 KB)
  2493. Creating Database...
  2494. . 5.05 ms (22024 KB)
  2495. Package '/var/lib/openinfoman/repo-src/csd_base_library_updating.xqm' installed in 868.34 ms.
  2496. + for REPO in '${REPOS[@]}'
  2497. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_stored_queries.xqm'
  2498. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_base_stored_queries.xqm'
  2499. Creating Database...
  2500. . 52.3 ms (20734 KB)
  2501. Creating Database...
  2502. . 6.66 ms (22024 KB)
  2503. Package '/var/lib/openinfoman/repo-src/csd_base_stored_queries.xqm' installed in 720.38 ms.
  2504. + for REPO in '${REPOS[@]}'
  2505. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_document_manager.xqm'
  2506. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_document_manager.xqm'
  2507. Creating Database...
  2508. . 56.26 ms (20733 KB)
  2509. Package '/var/lib/openinfoman/repo-src/csd_document_manager.xqm' installed in 558.88 ms.
  2510. + for REPO in '${REPOS[@]}'
  2511. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_load_sample_directories.xqm'
  2512. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_load_sample_directories.xqm'
  2513. Creating Database...
  2514. . 87.96 ms (20733 KB)
  2515. Package '/var/lib/openinfoman/repo-src/csd_load_sample_directories.xqm' installed in 704.1 ms.
  2516. + for REPO in '${REPOS[@]}'
  2517. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_query_updated_services.xqm'
  2518. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_query_updated_services.xqm'
  2519. Package '/var/lib/openinfoman/repo-src/csd_query_updated_services.xqm' installed in 568.5 ms.
  2520. + for REPO in '${REPOS[@]}'
  2521. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_poll_service_directories.xqm'
  2522. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_poll_service_directories.xqm'
  2523. Creating Database...
  2524. . 73.01 ms (20740 KB)
  2525. Package '/var/lib/openinfoman/repo-src/csd_poll_service_directories.xqm' installed in 737.15 ms.
  2526. + for REPO in '${REPOS[@]}'
  2527. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_local_services_cache.xqm'
  2528. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_local_services_cache.xqm'
  2529. Creating Database...
  2530. . 54.18 ms (22024 KB)
  2531. Package '/var/lib/openinfoman/repo-src/csd_local_services_cache.xqm' installed in 686.55 ms.
  2532. + for REPO in '${REPOS[@]}'
  2533. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csd_merge_cached_services.xqm'
  2534. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csd_merge_cached_services.xqm'
  2535. Creating Database...
  2536. . 69.33 ms (20736 KB)
  2537. Package '/var/lib/openinfoman/repo-src/csd_merge_cached_services.xqm' installed in 699.18 ms.
  2538. + for REPO in '${REPOS[@]}'
  2539. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/csr_processor.xqm'
  2540. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/csr_processor.xqm'
  2541. Creating Database...
  2542. . 70.29 ms (21959 KB)
  2543. Package '/var/lib/openinfoman/repo-src/csr_processor.xqm' installed in 742.15 ms.
  2544. + for REPO in '${REPOS[@]}'
  2545. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/svs_load_shared_value_sets.xqm'
  2546. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/svs_load_shared_value_sets.xqm'
  2547. Creating Database...
  2548. . 87.31 ms (22058 KB)
  2549. Creating Database...
  2550. . 6.61 ms (22058 KB)
  2551. Package '/var/lib/openinfoman/repo-src/svs_load_shared_value_sets.xqm' installed in 951.54 ms.
  2552. + for REPO in '${REPOS[@]}'
  2553. + INST='REPO INSTALL /var/lib/openinfoman/repo-src/async_fake.xqm'
  2554. + /var/lib/openinfoman/bin/basex -Vc 'REPO INSTALL /var/lib/openinfoman/repo-src/async_fake.xqm'
  2555. Package '/var/lib/openinfoman/repo-src/async_fake.xqm' installed in 384.61 ms.
  2556. + chown -R oi:oi /var/lib/openinfoman
  2557. + /var/lib/openinfoman/bin/basex -Vc 'RUN /var/lib/openinfoman/resources/scripts/init_db.xq'
  2558. Creating Database...
  2559. . 49.51 ms (20742 KB)
  2560. Creating Database...
  2561. . 6.06 ms (27201 KB)
  2562. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2563. at org.basex.core.cmd.Open.open(Open.java:92)
  2564. at org.basex.query.QueryResources.database(QueryResources.java:137)
  2565. at org.basex.query.func.StandardFunc.checkData(StandardFunc.java:319)
  2566. at org.basex.query.func.db.DbIsXml.item(DbIsXml.java:17)
  2567. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  2568. at org.basex.query.expr.Arr.compile(Arr.java:41)
  2569. at org.basex.query.expr.Arr.compile(Arr.java:40)
  2570. at org.basex.query.expr.If.compile(If.java:47)
  2571. at org.basex.query.expr.List.compile(List.java:42)
  2572. at org.basex.query.func.StaticFunc.comp(StaticFunc.java:71)
  2573. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  2574. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  2575. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  2576. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  2577. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  2578. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  2579. at org.basex.core.Command.run(Command.java:253)
  2580. at org.basex.core.cmd.Execute.run(Execute.java:54)
  2581. at org.basex.core.Command.run(Command.java:253)
  2582. at org.basex.core.Command.execute(Command.java:99)
  2583. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2584. at org.basex.api.client.Session.execute(Session.java:36)
  2585. at org.basex.core.CLI.execute(CLI.java:103)
  2586. at org.basex.core.CLI.execute(CLI.java:87)
  2587. at org.basex.core.CLI.execute(CLI.java:74)
  2588. at org.basex.BaseX.<init>(BaseX.java:86)
  2589. at org.basex.BaseX.main(BaseX.java:42)
  2590. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2591. at org.basex.core.cmd.Open.open(Open.java:92)
  2592. at org.basex.query.QueryResources.database(QueryResources.java:137)
  2593. at org.basex.query.func.StandardFunc.checkData(StandardFunc.java:319)
  2594. at org.basex.query.func.db.DbIsXml.item(DbIsXml.java:17)
  2595. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  2596. at org.basex.query.expr.Arr.compile(Arr.java:41)
  2597. at org.basex.query.func.StaticFunc.comp(StaticFunc.java:71)
  2598. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  2599. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  2600. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  2601. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  2602. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  2603. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  2604. at org.basex.core.Command.run(Command.java:253)
  2605. at org.basex.core.cmd.Execute.run(Execute.java:54)
  2606. at org.basex.core.Command.run(Command.java:253)
  2607. at org.basex.core.Command.execute(Command.java:99)
  2608. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2609. at org.basex.api.client.Session.execute(Session.java:36)
  2610. at org.basex.core.CLI.execute(CLI.java:103)
  2611. at org.basex.core.CLI.execute(CLI.java:87)
  2612. at org.basex.core.CLI.execute(CLI.java:74)
  2613. at org.basex.BaseX.<init>(BaseX.java:86)
  2614. at org.basex.BaseX.main(BaseX.java:42)
  2615. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2616. at org.basex.core.cmd.Open.open(Open.java:92)
  2617. at org.basex.query.QueryResources.database(QueryResources.java:137)
  2618. at org.basex.query.func.StandardFunc.checkData(StandardFunc.java:319)
  2619. at org.basex.query.func.db.DbIsXml.item(DbIsXml.java:17)
  2620. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  2621. at org.basex.query.expr.Arr.compile(Arr.java:41)
  2622. at org.basex.query.func.StaticFunc.comp(StaticFunc.java:71)
  2623. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  2624. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  2625. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  2626. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  2627. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  2628. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  2629. at org.basex.core.Command.run(Command.java:253)
  2630. at org.basex.core.cmd.Execute.run(Execute.java:54)
  2631. at org.basex.core.Command.run(Command.java:253)
  2632. at org.basex.core.Command.execute(Command.java:99)
  2633. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2634. at org.basex.api.client.Session.execute(Session.java:36)
  2635. at org.basex.core.CLI.execute(CLI.java:103)
  2636. at org.basex.core.CLI.execute(CLI.java:87)
  2637. at org.basex.core.CLI.execute(CLI.java:74)
  2638. at org.basex.BaseX.<init>(BaseX.java:86)
  2639. at org.basex.BaseX.main(BaseX.java:42)
  2640. org.basex.core.BaseXException: Database 'provider_directory' was not found.
  2641. at org.basex.core.cmd.Open.open(Open.java:92)
  2642. at org.basex.query.QueryResources.database(QueryResources.java:137)
  2643. at org.basex.query.func.StandardFunc.checkData(StandardFunc.java:319)
  2644. at org.basex.query.func.db.DbIsXml.item(DbIsXml.java:17)
  2645. at org.basex.query.func.StandardFunc.optimize(StandardFunc.java:75)
  2646. at org.basex.query.expr.Arr.compile(Arr.java:41)
  2647. at org.basex.query.expr.Arr.compile(Arr.java:40)
  2648. at org.basex.query.expr.If.compile(If.java:47)
  2649. at org.basex.query.expr.List.compile(List.java:42)
  2650. at org.basex.query.func.StaticFunc.comp(StaticFunc.java:71)
  2651. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:113)
  2652. at org.basex.query.QueryCompiler.compile(QueryCompiler.java:104)
  2653. at org.basex.query.QueryContext.compile(QueryContext.java:310)
  2654. at org.basex.query.QueryProcessor.compile(QueryProcessor.java:80)
  2655. at org.basex.core.cmd.AQuery.query(AQuery.java:80)
  2656. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  2657. at org.basex.core.Command.run(Command.java:253)
  2658. at org.basex.core.cmd.Execute.run(Execute.java:54)
  2659. at org.basex.core.Command.run(Command.java:253)
  2660. at org.basex.core.Command.execute(Command.java:99)
  2661. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2662. at org.basex.api.client.Session.execute(Session.java:36)
  2663. at org.basex.core.CLI.execute(CLI.java:103)
  2664. at org.basex.core.CLI.execute(CLI.java:87)
  2665. at org.basex.core.CLI.execute(CLI.java:74)
  2666. at org.basex.BaseX.<init>(BaseX.java:86)
  2667. at org.basex.BaseX.main(BaseX.java:42)
  2668. org.basex.query.QueryException: Database 'provider_directory' was not found.
  2669. at org.basex.query.func.fn.FnError.iter(FnError.java:32)
  2670. at org.basex.query.QueryContext.iter(QueryContext.java:398)
  2671. at org.basex.query.expr.List$1.next(List.java:134)
  2672. at org.basex.query.MainModule.cache(MainModule.java:100)
  2673. at org.basex.query.QueryContext.iter(QueryContext.java:337)
  2674. at org.basex.query.QueryProcessor.iter(QueryProcessor.java:91)
  2675. at org.basex.core.cmd.AQuery.query(AQuery.java:94)
  2676. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  2677. at org.basex.core.Command.run(Command.java:253)
  2678. at org.basex.core.cmd.Execute.run(Execute.java:54)
  2679. at org.basex.core.Command.run(Command.java:253)
  2680. at org.basex.core.Command.execute(Command.java:99)
  2681. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2682. at org.basex.api.client.Session.execute(Session.java:36)
  2683. at org.basex.core.CLI.execute(CLI.java:103)
  2684. at org.basex.core.CLI.execute(CLI.java:87)
  2685. at org.basex.core.CLI.execute(CLI.java:74)
  2686. at org.basex.BaseX.<init>(BaseX.java:86)
  2687. at org.basex.BaseX.main(BaseX.java:42)
  2688. org.basex.core.BaseXException:
  2689. Query:
  2690. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; import module namespace csd_psd = "https://github.com/openhie/openinfoman/csd_psd"; import module namespace csd_lsc = "https://github.com/openhie/openinfoman/csd_lsc"; import module namespace svs_lsvs = "https://github.com/openhie/openinfoman/svs_lsvs"; (csr_proc:init() ,csd_lsc:init_cache_meta() ,csd_psd:init() ,svs_lsvs:init_store() )
  2691.  
  2692. Compiling:
  2693. - inlining Q{https://github.com/openhie/openinfoman/csd_lsc}cache_meta_exists#0
  2694. - rewriting if(not(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."))) then db:add("provider_directory", element Q{urn:ihe:iti:csd:2013}cacheData { () }, "local_cache_meta.xml") else ()
  2695. - inlining Q{https://github.com/openhie/openinfoman/csd_psd}dm_exists#0
  2696. - rewriting if(not(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."))) then db:add("provider_directory", element serviceDirectoryLibrary { () }, "csd_directories.xml") else ()
  2697. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}init#0
  2698. - inlining Q{https://github.com/openhie/openinfoman/csd_lsc}init_cache_meta#0
  2699. - inlining Q{https://github.com/openhie/openinfoman/csd_psd}init#0
  2700. - inlining Q{https://github.com/openhie/openinfoman/svs_lsvs}init_store#0
  2701.  
  2702. Optimized Query:
  2703. (error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."), if(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found.")) then () else db:add("provider_directory", element Q{urn:ihe:iti:csd:2013}cacheData { () }, "local_cache_meta.xml"), if(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found.")) then () else db:add("provider_directory", element serviceDirectoryLibrary { () }, "csd_directories.xml"), error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."))
  2704.  
  2705. Error:
  2706. Stopped at /var/lib/openinfoman/repo/com/github/openhie/openinfoman/csr_proc.xqm, 37/23:
  2707. [bxerr:BXDB0002] Database 'provider_directory' was not found.
  2708. at org.basex.core.Command.execute(Command.java:100)
  2709. at org.basex.api.client.LocalSession.execute(LocalSession.java:132)
  2710. at org.basex.api.client.Session.execute(Session.java:36)
  2711. at org.basex.core.CLI.execute(CLI.java:103)
  2712. at org.basex.core.CLI.execute(CLI.java:87)
  2713. at org.basex.core.CLI.execute(CLI.java:74)
  2714. at org.basex.BaseX.<init>(BaseX.java:86)
  2715. at org.basex.BaseX.main(BaseX.java:42)
  2716. Caused by: org.basex.query.QueryException: Database 'provider_directory' was not found.
  2717. at org.basex.query.func.fn.FnError.iter(FnError.java:32)
  2718. at org.basex.query.QueryContext.iter(QueryContext.java:398)
  2719. at org.basex.query.expr.List$1.next(List.java:134)
  2720. at org.basex.query.MainModule.cache(MainModule.java:100)
  2721. at org.basex.query.QueryContext.iter(QueryContext.java:337)
  2722. at org.basex.query.QueryProcessor.iter(QueryProcessor.java:91)
  2723. at org.basex.core.cmd.AQuery.query(AQuery.java:94)
  2724. at org.basex.core.cmd.XQuery.run(XQuery.java:22)
  2725. at org.basex.core.Command.run(Command.java:253)
  2726. at org.basex.core.cmd.Execute.run(Execute.java:54)
  2727. at org.basex.core.Command.run(Command.java:253)
  2728. at org.basex.core.Command.execute(Command.java:99)
  2729. ... 7 more
  2730.  
  2731. Query:
  2732. import module namespace csr_proc = "https://github.com/openhie/openinfoman/csr_proc"; import module namespace csd_psd = "https://github.com/openhie/openinfoman/csd_psd"; import module namespace csd_lsc = "https://github.com/openhie/openinfoman/csd_lsc"; import module namespace svs_lsvs = "https://github.com/openhie/openinfoman/svs_lsvs"; (csr_proc:init() ,csd_lsc:init_cache_meta() ,csd_psd:init() ,svs_lsvs:init_store() )
  2733.  
  2734. Compiling:
  2735. - inlining Q{https://github.com/openhie/openinfoman/csd_lsc}cache_meta_exists#0
  2736. - rewriting if(not(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."))) then db:add("provider_directory", element Q{urn:ihe:iti:csd:2013}cacheData { () }, "local_cache_meta.xml") else ()
  2737. - inlining Q{https://github.com/openhie/openinfoman/csd_psd}dm_exists#0
  2738. - rewriting if(not(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."))) then db:add("provider_directory", element serviceDirectoryLibrary { () }, "csd_directories.xml") else ()
  2739. - inlining Q{https://github.com/openhie/openinfoman/csr_proc}init#0
  2740. - inlining Q{https://github.com/openhie/openinfoman/csd_lsc}init_cache_meta#0
  2741. - inlining Q{https://github.com/openhie/openinfoman/csd_psd}init#0
  2742. - inlining Q{https://github.com/openhie/openinfoman/svs_lsvs}init_store#0
  2743.  
  2744. Optimized Query:
  2745. (error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."), if(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found.")) then () else db:add("provider_directory", element Q{urn:ihe:iti:csd:2013}cacheData { () }, "local_cache_meta.xml"), if(error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found.")) then () else db:add("provider_directory", element serviceDirectoryLibrary { () }, "csd_directories.xml"), error(Q{http://basex.org/errors}BXDB0002, "Database 'provider_directory' was not found."))
  2746.  
  2747. Error:
  2748. Stopped at /var/lib/openinfoman/repo/com/github/openhie/openinfoman/csr_proc.xqm, 37/23:
  2749. [bxerr:BXDB0002] Database 'provider_directory' was not found.
  2750. dpkg: error processing package openinfoman (--configure):
  2751. subprocess installed post-installation script returned error exit status 1
  2752. dpkg: dependency problems prevent configuration of openinfoman-dhis:
  2753. openinfoman-dhis depends on openinfoman (>= 1.3.0); however:
  2754. Package openinfoman is not configured yet.
  2755.  
  2756. dpkg: error processing package openinfoman-dhis (--configure):
  2757. dependency problems - leaving unconfigured
  2758. dpkg: dependency problems prevent configuration of openinfoman-datim:
  2759. openinfoman-datim depends on openinfoman (>= 1.1~vivid); however:
  2760. Package openinfoman is not configured yet.
  2761. openinfoman-datim depends on openinfoman-dhis (>= 1.1~vivid); however:
  2762. Package openinfoman-dhis is not configured yet.
  2763.  
  2764. dpkg: error processing package openinfoman-datim (--configure):
  2765. dependency problems - leaving unconfigured
  2766. dpkg: dependency problems prevent configuration of openinfoman-csv:
  2767. openinfoman-csv depends on openinfoman (>= 1.1); however:
  2768. Package openinfoman is not configured yet.
  2769.  
  2770. dpkg: error processing package openinfoman-csv (--configure):
  2771. dependency problems - leaving unconfigured
  2772. dpkg: dependency problems prNo apport report written because the error message indicates its a followup error from a previous failure.
  2773. No apport report written because the error message indicates its a followup error from a previous failure.
  2774. No apport report written because MaxReports is reached already
  2775. No apport report written because MaxReports is reached already
  2776. No apport report written because MaxReports is reached already
  2777. event configuration of openinfoman-mapping:
  2778. openinfoman-mapping depends on openinfoman-csv (>= 1.1); however:
  2779. Package openinfoman-csv is not configured yet.
  2780.  
  2781. dpkg: error processing package openinfoman-mapping (--configure):
  2782. dependency problems - leaving unconfigured
  2783. dpkg: dependency problems prevent configuration of ohie-datim-node:
  2784. ohie-datim-node depends on openinfoman; however:
  2785. Package openinfoman is not configured yet.
  2786. ohie-datim-node depends on openinfoman-datim; however:
  2787. Package openinfoman-datim is not configured yet.
  2788. ohie-datim-node depends on openinfoman-dhis; however:
  2789. Package openinfoman-dhis is not configured yet.
  2790. ohie-datim-node depends on openinfoman-csv; however:
  2791. Package openinfoman-csv is not configured yet.
  2792. ohie-datim-node depends on openinfoman-mapping; however:
  2793. Package openinfoman-mapping is not configured yet.
  2794.  
  2795. dpkg: error processing package ohie-datim-node (--configure):
  2796. dependency problems - leaving unconfigured
  2797. Setting up php5-readline (5.5.9+dfsg-1ubuntu4.17) ...
  2798.  
  2799. Creating config file /etc/php5/mods-available/readline.ini with new version
  2800. php5_invoke: Enable module readline for cli SAPI
  2801. Setting up php5-json (1.3.2-2build1) ...
  2802. php5_invoke: Enable module json for cli SAPI
  2803. Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
  2804. Errors were encountered while processing:
  2805. openinfoman
  2806. openinfoman-dhis
  2807. openinfoman-datim
  2808. openinfoman-csv
  2809. openinfoman-mapping
  2810. ohie-datim-node
  2811. E: Sub-process /usr/bin/dpkg returned an error code (1)
  2812. Waiting up to 90 seconds for DHIS2 to come up.
  2813. Patching uid...
  2814. Shutting down dhis2 instance
  2815. could not change directory to "/root": Permission denied
  2816. UPDATE 1
  2817. UPDATE 1
  2818. UPDATE 1
  2819. UPDATE 1
  2820. Starting dhis2...
  2821. Using CATALINA_BASE: /var/lib/dhis2/dhis2
  2822. Using CATALINA_HOME: /usr/share/tomcat7
  2823. Using CATALINA_TMPDIR: /var/lib/dhis2/dhis2/temp
  2824. Using JRE_HOME: /usr
  2825. Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
  2826. Using CATALINA_PID: /var/lib/dhis2/dhis2/tomcat.pid
  2827. Existing PID file found during start.
  2828. Removing/clearing stale PID file.
  2829. Tomcat started.
  2830. DHIS2 instance starting for dhis2
  2831.  
  2832. Waiting up to 90 seconds for DHIS2 to come up...........................................................................................
  2833. Inserting OU...
  2834. % Total % Received % Xferd Average Speed Time Time Time Current
  2835. Dload Upload Total Spent Left Speed
  2836. 100 3032 100 618 100 2414 288 1126 0:00:02 0:00:02 --:--:-- 1126
  2837.  
  2838. Setting app folder and base url
  2839. Inserting Forms...(This may take up to 10 minutes)...|
  2840.  
  2841. Inserting user management app metadata....\
  2842.  
  2843. Configuring User Management App...
  2844. % Total % Received % Xferd Average Speed Time Time Time Current
  2845. Dload Upload Total Spent Left Speed
  2846. 100 190 100 166 100 24 824 119 --:--:-- --:--:-- --:--:-- 825
  2847. Openinfoman could not be found. Aborting...
  2848. {"httpStatus":"Created","httpStatusCode":201,"status":"OK","message":"Key 'location' created."}
  2849. Manual post configuration steps can be found here:
  2850. https://wiki.ohie.org/display/resources/How+to+install+DATIM+Node
Add Comment
Please, Sign In to add comment