Advertisement
Guest User

nominatim_error_load_data

a guest
Nov 3rd, 2012
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.33 KB | None | 0 0
  1. postgres@ns231136:/home/Nominatim$ ./utils/setup.php --osm-file /data/planet/france.osm.pbf --load-data
  2. Drop old Data
  3. .....................................................................................................................................................................................................................................................................
  4. Loading word list
  5. SET
  6. SET
  7. SET
  8. SET
  9. SET
  10. SET
  11. SET
  12. SET
  13. Load Data
  14. string(19) "pgsql://@/nominatim"
  15. object(DB_Error)#3 (8) {
  16. ["error_message_prefix"]=>
  17. string(0) ""
  18. ["mode"]=>
  19. int(1)
  20. ["level"]=>
  21. int(1024)
  22. ["code"]=>
  23. int(-24)
  24. ["message"]=>
  25. string(24) "DB Error: connect failed"
  26. ["userinfo"]=>
  27. string(172) " [nativecode=pg_connect(): Unable to connect to PostgreSQL server: FATAL: le syst?me de bases de donn?es est en cours de restauration] ** pgsql://@/nominatim?new_link=true"
  28. ["backtrace"]=>
  29. array(7) {
  30. [0]=>
  31. array(6) {
  32. ["file"]=>
  33. string(21) "/usr/share/php/DB.php"
  34. ["line"]=>
  35. int(966)
  36. ["function"]=>
  37. string(10) "PEAR_Error"
  38. ["class"]=>
  39. string(10) "PEAR_Error"
  40. ["type"]=>
  41. string(2) "->"
  42. ["args"]=>
  43. array(5) {
  44. [0]=>
  45. string(24) "DB Error: connect failed"
  46. [1]=>
  47. int(-24)
  48. [2]=>
  49. int(1)
  50. [3]=>
  51. int(1024)
  52. [4]=>
  53. string(135) " [nativecode=pg_connect(): Unable to connect to PostgreSQL server: FATAL: le syst?me de bases de donn?es est en cours de restauration]"
  54. }
  55. }
  56. [1]=>
  57. array(7) {
  58. ["file"]=>
  59. string(23) "/usr/share/php/PEAR.php"
  60. ["line"]=>
  61. int(531)
  62. ["function"]=>
  63. string(8) "DB_Error"
  64. ["class"]=>
  65. string(8) "DB_Error"
  66. ["object"]=>
  67. *RECURSION*
  68. ["type"]=>
  69. string(2) "->"
  70. ["args"]=>
  71. array(4) {
  72. [0]=>
  73. int(-24)
  74. [1]=>
  75. int(1)
  76. [2]=>
  77. int(1024)
  78. [3]=>
  79. string(135) " [nativecode=pg_connect(): Unable to connect to PostgreSQL server: FATAL: le syst?me de bases de donn?es est en cours de restauration]"
  80. }
  81. }
  82. [2]=>
  83. array(7) {
  84. ["file"]=>
  85. string(28) "/usr/share/php/DB/common.php"
  86. ["line"]=>
  87. int(1908)
  88. ["function"]=>
  89. string(10) "raiseError"
  90. ["class"]=>
  91. string(4) "PEAR"
  92. ["object"]=>
  93. object(DB_pgsql)#2 (28) {
  94. ["phptype"]=>
  95. string(5) "pgsql"
  96. ["dbsyntax"]=>
  97. string(5) "pgsql"
  98. ["features"]=>
  99. array(7) {
  100. ["limit"]=>
  101. string(5) "alter"
  102. ["new_link"]=>
  103. string(5) "4.3.0"
  104. ["numrows"]=>
  105. bool(true)
  106. ["pconnect"]=>
  107. bool(true)
  108. ["prepare"]=>
  109. bool(false)
  110. ["ssl"]=>
  111. bool(true)
  112. ["transactions"]=>
  113. bool(true)
  114. }
  115. ["errorcode_map"]=>
  116. array(0) {
  117. }
  118. ["connection"]=>
  119. bool(false)
  120. ["dsn"]=>
  121. array(10) {
  122. ["phptype"]=>
  123. string(5) "pgsql"
  124. ["dbsyntax"]=>
  125. string(5) "pgsql"
  126. ["username"]=>
  127. string(0) ""
  128. ["password"]=>
  129. bool(false)
  130. ["protocol"]=>
  131. string(3) "tcp"
  132. ["hostspec"]=>
  133. string(0) ""
  134. ["port"]=>
  135. bool(false)
  136. ["socket"]=>
  137. bool(false)
  138. ["database"]=>
  139. string(9) "nominatim"
  140. ["new_link"]=>
  141. string(4) "true"
  142. }
  143. ["autocommit"]=>
  144. bool(true)
  145. ["transaction_opcount"]=>
  146. int(0)
  147. ["affected"]=>
  148. int(0)
  149. ["row"]=>
  150. array(0) {
  151. }
  152. ["_num_rows"]=>
  153. array(0) {
  154. }
  155. ["fetchmode"]=>
  156. int(1)
  157. ["fetchmode_object_class"]=>
  158. string(8) "stdClass"
  159. ["was_connected"]=>
  160. NULL
  161. ["last_query"]=>
  162. string(0) ""
  163. ["options"]=>
  164. array(8) {
  165. ["result_buffering"]=>
  166. int(500)
  167. ["persistent"]=>
  168. bool(false)
  169. ["ssl"]=>
  170. bool(false)
  171. ["debug"]=>
  172. int(0)
  173. ["seqname_format"]=>
  174. string(6) "%s_seq"
  175. ["autofree"]=>
  176. bool(false)
  177. ["portability"]=>
  178. int(0)
  179. ["optimize"]=>
  180. string(11) "performance"
  181. }
  182. ["last_parameters"]=>
  183. array(0) {
  184. }
  185. ["prepare_tokens"]=>
  186. array(0) {
  187. }
  188. ["prepare_types"]=>
  189. array(0) {
  190. }
  191. ["prepared_queries"]=>
  192. array(0) {
  193. }
  194. ["_last_query_manip"]=>
  195. bool(false)
  196. ["_next_query_manip"]=>
  197. bool(false)
  198. ["_debug"]=>
  199. bool(false)
  200. ["_default_error_mode"]=>
  201. NULL
  202. ["_default_error_options"]=>
  203. NULL
  204. ["_default_error_handler"]=>
  205. string(0) ""
  206. ["_error_class"]=>
  207. string(8) "DB_Error"
  208. ["_expected_errors"]=>
  209. array(0) {
  210. }
  211. }
  212. ["type"]=>
  213. string(2) "->"
  214. ["args"]=>
  215. array(7) {
  216. [0]=>
  217. NULL
  218. [1]=>
  219. int(-24)
  220. [2]=>
  221. NULL
  222. [3]=>
  223. NULL
  224. [4]=>
  225. string(135) " [nativecode=pg_connect(): Unable to connect to PostgreSQL server: FATAL: le syst?me de bases de donn?es est en cours de restauration]"
  226. [5]=>
  227. string(8) "DB_Error"
  228. [6]=>
  229. bool(true)
  230. }
  231. }
  232. [3]=>
  233. array(7) {
  234. ["file"]=>
  235. string(27) "/usr/share/php/DB/pgsql.php"
  236. ["line"]=>
  237. int(289)
  238. ["function"]=>
  239. string(10) "raiseError"
  240. ["class"]=>
  241. string(9) "DB_common"
  242. ["object"]=>
  243. object(DB_pgsql)#2 (28) {
  244. ["phptype"]=>
  245. string(5) "pgsql"
  246. ["dbsyntax"]=>
  247. string(5) "pgsql"
  248. ["features"]=>
  249. array(7) {
  250. ["limit"]=>
  251. string(5) "alter"
  252. ["new_link"]=>
  253. string(5) "4.3.0"
  254. ["numrows"]=>
  255. bool(true)
  256. ["pconnect"]=>
  257. bool(true)
  258. ["prepare"]=>
  259. bool(false)
  260. ["ssl"]=>
  261. bool(true)
  262. ["transactions"]=>
  263. bool(true)
  264. }
  265. ["errorcode_map"]=>
  266. array(0) {
  267. }
  268. ["connection"]=>
  269. bool(false)
  270. ["dsn"]=>
  271. array(10) {
  272. ["phptype"]=>
  273. string(5) "pgsql"
  274. ["dbsyntax"]=>
  275. string(5) "pgsql"
  276. ["username"]=>
  277. string(0) ""
  278. ["password"]=>
  279. bool(false)
  280. ["protocol"]=>
  281. string(3) "tcp"
  282. ["hostspec"]=>
  283. string(0) ""
  284. ["port"]=>
  285. bool(false)
  286. ["socket"]=>
  287. bool(false)
  288. ["database"]=>
  289. string(9) "nominatim"
  290. ["new_link"]=>
  291. string(4) "true"
  292. }
  293. ["autocommit"]=>
  294. bool(true)
  295. ["transaction_opcount"]=>
  296. int(0)
  297. ["affected"]=>
  298. int(0)
  299. ["row"]=>
  300. array(0) {
  301. }
  302. ["_num_rows"]=>
  303. array(0) {
  304. }
  305. ["fetchmode"]=>
  306. int(1)
  307. ["fetchmode_object_class"]=>
  308. string(8) "stdClass"
  309. ["was_connected"]=>
  310. NULL
  311. ["last_query"]=>
  312. string(0) ""
  313. ["options"]=>
  314. array(8) {
  315. ["result_buffering"]=>
  316. int(500)
  317. ["persistent"]=>
  318. bool(false)
  319. ["ssl"]=>
  320. bool(false)
  321. ["debug"]=>
  322. int(0)
  323. ["seqname_format"]=>
  324. string(6) "%s_seq"
  325. ["autofree"]=>
  326. bool(false)
  327. ["portability"]=>
  328. int(0)
  329. ["optimize"]=>
  330. string(11) "performance"
  331. }
  332. ["last_parameters"]=>
  333. array(0) {
  334. }
  335. ["prepare_tokens"]=>
  336. array(0) {
  337. }
  338. ["prepare_types"]=>
  339. array(0) {
  340. }
  341. ["prepared_queries"]=>
  342. array(0) {
  343. }
  344. ["_last_query_manip"]=>
  345. bool(false)
  346. ["_next_query_manip"]=>
  347. bool(false)
  348. ["_debug"]=>
  349. bool(false)
  350. ["_default_error_mode"]=>
  351. NULL
  352. ["_default_error_options"]=>
  353. NULL
  354. ["_default_error_handler"]=>
  355. string(0) ""
  356. ["_error_class"]=>
  357. string(8) "DB_Error"
  358. ["_expected_errors"]=>
  359. array(0) {
  360. }
  361. }
  362. ["type"]=>
  363. string(2) "->"
  364. ["args"]=>
  365. array(5) {
  366. [0]=>
  367. int(-24)
  368. [1]=>
  369. NULL
  370. [2]=>
  371. NULL
  372. [3]=>
  373. NULL
  374. [4]=>
  375. string(121) "pg_connect(): Unable to connect to PostgreSQL server: FATAL: le syst?me de bases de donn?es est en cours de restauration"
  376. }
  377. }
  378. [4]=>
  379. array(7) {
  380. ["file"]=>
  381. string(21) "/usr/share/php/DB.php"
  382. ["line"]=>
  383. int(556)
  384. ["function"]=>
  385. string(7) "connect"
  386. ["class"]=>
  387. string(8) "DB_pgsql"
  388. ["object"]=>
  389. object(DB_pgsql)#2 (28) {
  390. ["phptype"]=>
  391. string(5) "pgsql"
  392. ["dbsyntax"]=>
  393. string(5) "pgsql"
  394. ["features"]=>
  395. array(7) {
  396. ["limit"]=>
  397. string(5) "alter"
  398. ["new_link"]=>
  399. string(5) "4.3.0"
  400. ["numrows"]=>
  401. bool(true)
  402. ["pconnect"]=>
  403. bool(true)
  404. ["prepare"]=>
  405. bool(false)
  406. ["ssl"]=>
  407. bool(true)
  408. ["transactions"]=>
  409. bool(true)
  410. }
  411. ["errorcode_map"]=>
  412. array(0) {
  413. }
  414. ["connection"]=>
  415. bool(false)
  416. ["dsn"]=>
  417. array(10) {
  418. ["phptype"]=>
  419. string(5) "pgsql"
  420. ["dbsyntax"]=>
  421. string(5) "pgsql"
  422. ["username"]=>
  423. string(0) ""
  424. ["password"]=>
  425. bool(false)
  426. ["protocol"]=>
  427. string(3) "tcp"
  428. ["hostspec"]=>
  429. string(0) ""
  430. ["port"]=>
  431. bool(false)
  432. ["socket"]=>
  433. bool(false)
  434. ["database"]=>
  435. string(9) "nominatim"
  436. ["new_link"]=>
  437. string(4) "true"
  438. }
  439. ["autocommit"]=>
  440. bool(true)
  441. ["transaction_opcount"]=>
  442. int(0)
  443. ["affected"]=>
  444. int(0)
  445. ["row"]=>
  446. array(0) {
  447. }
  448. ["_num_rows"]=>
  449. array(0) {
  450. }
  451. ["fetchmode"]=>
  452. int(1)
  453. ["fetchmode_object_class"]=>
  454. string(8) "stdClass"
  455. ["was_connected"]=>
  456. NULL
  457. ["last_query"]=>
  458. string(0) ""
  459. ["options"]=>
  460. array(8) {
  461. ["result_buffering"]=>
  462. int(500)
  463. ["persistent"]=>
  464. bool(false)
  465. ["ssl"]=>
  466. bool(false)
  467. ["debug"]=>
  468. int(0)
  469. ["seqname_format"]=>
  470. string(6) "%s_seq"
  471. ["autofree"]=>
  472. bool(false)
  473. ["portability"]=>
  474. int(0)
  475. ["optimize"]=>
  476. string(11) "performance"
  477. }
  478. ["last_parameters"]=>
  479. array(0) {
  480. }
  481. ["prepare_tokens"]=>
  482. array(0) {
  483. }
  484. ["prepare_types"]=>
  485. array(0) {
  486. }
  487. ["prepared_queries"]=>
  488. array(0) {
  489. }
  490. ["_last_query_manip"]=>
  491. bool(false)
  492. ["_next_query_manip"]=>
  493. bool(false)
  494. ["_debug"]=>
  495. bool(false)
  496. ["_default_error_mode"]=>
  497. NULL
  498. ["_default_error_options"]=>
  499. NULL
  500. ["_default_error_handler"]=>
  501. string(0) ""
  502. ["_error_class"]=>
  503. string(8) "DB_Error"
  504. ["_expected_errors"]=>
  505. array(0) {
  506. }
  507. }
  508. ["type"]=>
  509. string(2) "->"
  510. ["args"]=>
  511. array(2) {
  512. [0]=>
  513. array(10) {
  514. ["phptype"]=>
  515. string(5) "pgsql"
  516. ["dbsyntax"]=>
  517. string(5) "pgsql"
  518. ["username"]=>
  519. string(0) ""
  520. ["password"]=>
  521. bool(false)
  522. ["protocol"]=>
  523. string(3) "tcp"
  524. ["hostspec"]=>
  525. string(0) ""
  526. ["port"]=>
  527. bool(false)
  528. ["socket"]=>
  529. bool(false)
  530. ["database"]=>
  531. string(9) "nominatim"
  532. ["new_link"]=>
  533. string(4) "true"
  534. }
  535. [1]=>
  536. bool(false)
  537. }
  538. }
  539. [5]=>
  540. array(6) {
  541. ["file"]=>
  542. string(26) "/home/Nominatim/lib/db.php"
  543. ["line"]=>
  544. int(7)
  545. ["function"]=>
  546. string(7) "connect"
  547. ["class"]=>
  548. string(2) "DB"
  549. ["type"]=>
  550. string(2) "::"
  551. ["args"]=>
  552. array(2) {
  553. [0]=>
  554. string(33) "pgsql://@/nominatim?new_link=true"
  555. [1]=>
  556. bool(false)
  557. }
  558. }
  559. [6]=>
  560. array(4) {
  561. ["file"]=>
  562. string(31) "/home/Nominatim/utils/setup.php"
  563. ["line"]=>
  564. int(315)
  565. ["function"]=>
  566. string(5) "getDB"
  567. ["args"]=>
  568. array(1) {
  569. [0]=>
  570. &bool(true)
  571. }
  572. }
  573. }
  574. ["callback"]=>
  575. NULL
  576. }
  577. ERROR: DB Error: connect failed
  578. DB Error: connect failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement