Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + [ -r /usr/share/postgresql-common/init.d-functions ]
- + . /usr/share/postgresql-common/init.d-functions
- + . /lib/lsb/init-functions
- + FANCYTTY=
- + [ -e /etc/lsb-base-logging.sh ]
- + . /etc/lsb-base-logging.sh
- + VERSION=8.4
- + start 8.4
- + [ -d /var/run/postgresql ]
- + chmod 2775 /var/run/postgresql
- + do_ctl_all start 8.4 Starting PostgreSQL 8.4 database server
- + [ start ]
- + [ 8.4 ]
- + [ -d /etc/postgresql/8.4 ]
- + ls /etc/postgresql/8.4
- + [ main ]
- + [ -x /usr/lib/postgresql/8.4/bin/postmaster ]
- + status=0
- + log_daemon_msg Starting PostgreSQL 8.4 database server
- + [ -z Starting PostgreSQL 8.4 database server ]
- + log_use_usplash
- + [ n = y ]
- + type usplash_write
- + log_to_console log_daemon_msg Starting PostgreSQL 8.4 database server
- + [ n != y ]
- + [ no != yes ]
- + readlink /proc/self/fd/0
- + stdin=/dev/pts/0
- + [ /dev/pts/0 != /dev/pts/0 ]
- + return 0
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + [ -t 1 ]
- + [ xxterm != x ]
- + [ xxterm != xdumb ]
- + [ -x /usr/bin/tput ]
- + [ -x /usr/bin/expr ]
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + [ -z ]
- + FANCYTTY=1
- + true
- + /usr/bin/tput xenl
- + /usr/bin/tput cols
- + COLS=142
- + [ 142 ]
- + [ 142 -gt 6 ]
- + /usr/bin/expr 142 - 7
- + COL=135
- + printf * Starting PostgreSQL 8.4 database server
- * Starting PostgreSQL 8.4 database server + /usr/bin/expr 142 - 1
- + /usr/bin/tput hpa 141
- + printf
- + [ -e /etc/postgresql/8.4/main/postgresql.conf ]
- + basename /etc/postgresql/8.4/main
- + name=main
- + [ -e /etc/postgresql/8.4/main/start.conf ]
- + sed s/#.*$//; /^[[:space:]]*$/d; s/^\s*//; s/\s*$// /etc/postgresql/8.4/main/start.conf
- + start=auto
- + [ auto = auto ]
- + log_progress_msg main
- + :
- + set +e
- + [ start = stop ]
- + [ start = restart ]
- + pg_ctlcluster 8.4 main start
- + ERRMSG=The PostgreSQL server failed to start. Please check the log output:
- 2011-01-04 22:36:23 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
- 2011-01-04 22:36:23 CLST WARNING: could not create listen socket for "localhost"
- 2011-01-04 22:36:23 CLST FATAL: could not create any TCP/IP sockets
- + res=1
- + set -e
- + [ 1 -eq 0 ]
- + [ 1 -eq 2 ]
- + status=1
- + [ 1 -ne 0 -a -n The PostgreSQL server failed to start. Please check the log output:
- 2011-01-04 22:36:23 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
- 2011-01-04 22:36:23 CLST WARNING: could not create listen socket for "localhost"
- 2011-01-04 22:36:23 CLST FATAL: could not create any TCP/IP sockets ]
- + log_failure_msg The PostgreSQL server failed to start. Please check the log output:
- 2011-01-04 22:36:23 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
- 2011-01-04 22:36:23 CLST WARNING: could not create listen socket for "localhost"
- 2011-01-04 22:36:23 CLST FATAL: could not create any TCP/IP sockets
- + log_use_usplash
- + [ n = y ]
- + type usplash_write
- + log_to_console log_failure_msg The PostgreSQL server failed to start. Please check the log output:
- 2011-01-04 22:36:23 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
- 2011-01-04 22:36:23 CLST WARNING: could not create listen socket for "localhost"
- 2011-01-04 22:36:23 CLST FATAL: could not create any TCP/IP sockets
- + [ n != y ]
- + [ no != yes ]
- + readlink /proc/self/fd/0
- + stdin=/dev/pts/0
- + [ /dev/pts/0 != /dev/pts/0 ]
- + return 0
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + [ -t 1 ]
- + [ xxterm != x ]
- + [ xxterm != xdumb ]
- + [ -x /usr/bin/tput ]
- + [ -x /usr/bin/expr ]
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + [ -z 1 ]
- + true
- + true
- + /usr/bin/tput setaf 1
- + RED=
- + /usr/bin/tput op
- + NORMAL=
- + echo * The PostgreSQL server failed to start. Please check the log output:
- 2011-01-04 22:36:23 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
- 2011-01-04 22:36:23 CLST WARNING: could not create listen socket for "localhost"
- 2011-01-04 22:36:23 CLST FATAL: could not create any TCP/IP sockets
- * The PostgreSQL server failed to start. Please check the log output:
- 2011-01-04 22:36:23 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
- 2011-01-04 22:36:23 CLST WARNING: could not create listen socket for "localhost"
- 2011-01-04 22:36:23 CLST FATAL: could not create any TCP/IP sockets
- + log_end_msg 1
- + [ -z 1 ]
- + log_use_usplash
- + [ n = y ]
- + type usplash_write
- + log_to_console log_end_msg 1
- + [ n != y ]
- + [ no != yes ]
- + readlink /proc/self/fd/0
- + stdin=/dev/pts/0
- + [ /dev/pts/0 != /dev/pts/0 ]
- + return 0
- + [ 135 ]
- + [ -x /usr/bin/tput ]
- + printf \r
- + /usr/bin/tput hpa 135
- + [ 1 -eq 0 ]
- + printf [
- [+ /usr/bin/tput setaf 1
- + printf fail
- fail+ /usr/bin/tput op
- + echo ]
- ]
- + return 1
Advertisement
Add Comment
Please, Sign In to add comment