Guest User

Untitled

a guest
Jan 4th, 2011
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.12 KB | None | 0 0
  1. + [ -r /usr/share/postgresql-common/init.d-functions ]
  2. + . /usr/share/postgresql-common/init.d-functions
  3. + . /lib/lsb/init-functions
  4. + FANCYTTY=
  5. + [ -e /etc/lsb-base-logging.sh ]
  6. + . /etc/lsb-base-logging.sh
  7. + VERSION=8.4
  8. + start 8.4
  9. + [ -d /var/run/postgresql ]
  10. + chmod 2775 /var/run/postgresql
  11. + do_ctl_all start 8.4 Starting PostgreSQL 8.4 database server
  12. + [ start ]
  13. + [ 8.4 ]
  14. + [ -d /etc/postgresql/8.4 ]
  15. + ls /etc/postgresql/8.4
  16. + [ main ]
  17. + [ -x /usr/lib/postgresql/8.4/bin/postmaster ]
  18. + status=0
  19. + log_daemon_msg Starting PostgreSQL 8.4 database server
  20. + [ -z Starting PostgreSQL 8.4 database server ]
  21. + log_use_usplash
  22. + [ n = y ]
  23. + type usplash_write
  24. + log_to_console log_daemon_msg Starting PostgreSQL 8.4 database server
  25. + [ n != y ]
  26. + [ no != yes ]
  27. + readlink /proc/self/fd/0
  28. + stdin=/dev/pts/0
  29. + [ /dev/pts/0 != /dev/pts/0 ]
  30. + return 0
  31. + log_use_fancy_output
  32. + TPUT=/usr/bin/tput
  33. + EXPR=/usr/bin/expr
  34. + [ -t 1 ]
  35. + [ xxterm != x ]
  36. + [ xxterm != xdumb ]
  37. + [ -x /usr/bin/tput ]
  38. + [ -x /usr/bin/expr ]
  39. + /usr/bin/tput hpa 60
  40. + /usr/bin/tput setaf 1
  41. + [ -z ]
  42. + FANCYTTY=1
  43. + true
  44. + /usr/bin/tput xenl
  45. + /usr/bin/tput cols
  46. + COLS=142
  47. + [ 142 ]
  48. + [ 142 -gt 6 ]
  49. + /usr/bin/expr 142 - 7
  50. + COL=135
  51. + printf  * Starting PostgreSQL 8.4 database server
  52.  * Starting PostgreSQL 8.4 database server       + /usr/bin/expr 142 - 1
  53. + /usr/bin/tput hpa 141
  54.                                                                                                                                              + printf
  55.  + [ -e /etc/postgresql/8.4/main/postgresql.conf ]
  56. + basename /etc/postgresql/8.4/main
  57. + name=main
  58. + [ -e /etc/postgresql/8.4/main/start.conf ]
  59. + sed s/#.*$//; /^[[:space:]]*$/d; s/^\s*//; s/\s*$// /etc/postgresql/8.4/main/start.conf
  60. + start=auto
  61. + [ auto = auto ]
  62. + log_progress_msg main
  63. + :
  64. + set +e
  65. + [ start = stop ]
  66. + [ start = restart ]
  67. + pg_ctlcluster 8.4 main start
  68. + ERRMSG=The PostgreSQL server failed to start. Please check the log output:
  69. 2011-01-04 22:36:23 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
  70. 2011-01-04 22:36:23 CLST WARNING:  could not create listen socket for "localhost"
  71. 2011-01-04 22:36:23 CLST FATAL:  could not create any TCP/IP sockets
  72. + res=1
  73. + set -e
  74. + [ 1 -eq 0 ]
  75. + [ 1 -eq 2 ]
  76. + status=1
  77. + [ 1 -ne 0 -a -n The PostgreSQL server failed to start. Please check the log output:
  78. 2011-01-04 22:36:23 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
  79. 2011-01-04 22:36:23 CLST WARNING:  could not create listen socket for "localhost"
  80. 2011-01-04 22:36:23 CLST FATAL:  could not create any TCP/IP sockets ]
  81. + log_failure_msg The PostgreSQL server failed to start. Please check the log output:
  82. 2011-01-04 22:36:23 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
  83. 2011-01-04 22:36:23 CLST WARNING:  could not create listen socket for "localhost"
  84. 2011-01-04 22:36:23 CLST FATAL:  could not create any TCP/IP sockets
  85. + log_use_usplash
  86. + [ n = y ]
  87. + type usplash_write
  88. + log_to_console log_failure_msg The PostgreSQL server failed to start. Please check the log output:
  89. 2011-01-04 22:36:23 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
  90. 2011-01-04 22:36:23 CLST WARNING:  could not create listen socket for "localhost"
  91. 2011-01-04 22:36:23 CLST FATAL:  could not create any TCP/IP sockets
  92. + [ n != y ]
  93. + [ no != yes ]
  94. + readlink /proc/self/fd/0
  95. + stdin=/dev/pts/0
  96. + [ /dev/pts/0 != /dev/pts/0 ]
  97. + return 0
  98. + log_use_fancy_output
  99. + TPUT=/usr/bin/tput
  100. + EXPR=/usr/bin/expr
  101. + [ -t 1 ]
  102. + [ xxterm != x ]
  103. + [ xxterm != xdumb ]
  104. + [ -x /usr/bin/tput ]
  105. + [ -x /usr/bin/expr ]
  106. + /usr/bin/tput hpa 60
  107. + /usr/bin/tput setaf 1
  108. + [ -z 1 ]
  109. + true
  110. + true
  111. + /usr/bin/tput setaf 1
  112. + RED=
  113. + /usr/bin/tput op
  114. + NORMAL=
  115. + echo  * The PostgreSQL server failed to start. Please check the log output:
  116. 2011-01-04 22:36:23 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
  117. 2011-01-04 22:36:23 CLST WARNING:  could not create listen socket for "localhost"
  118. 2011-01-04 22:36:23 CLST FATAL:  could not create any TCP/IP sockets
  119.  * The PostgreSQL server failed to start. Please check the log output:
  120. 2011-01-04 22:36:23 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
  121. 2011-01-04 22:36:23 CLST WARNING:  could not create listen socket for "localhost"
  122. 2011-01-04 22:36:23 CLST FATAL:  could not create any TCP/IP sockets
  123. + log_end_msg 1
  124. + [ -z 1 ]
  125. + log_use_usplash
  126. + [ n = y ]
  127. + type usplash_write
  128. + log_to_console log_end_msg 1
  129. + [ n != y ]
  130. + [ no != yes ]
  131. + readlink /proc/self/fd/0
  132. + stdin=/dev/pts/0
  133. + [ /dev/pts/0 != /dev/pts/0 ]
  134. + return 0
  135. + [ 135 ]
  136. + [ -x /usr/bin/tput ]
  137. + printf \r
  138. + /usr/bin/tput hpa 135
  139.                                                                                                                                        + [ 1 -eq 0 ]
  140. + printf [
  141. [+ /usr/bin/tput setaf 1
  142. + printf fail
  143. fail+ /usr/bin/tput op
  144. + echo ]
  145. ]
  146. + return 1
Advertisement
Add Comment
Please, Sign In to add comment