Skip to content

Instantly share code, notes, and snippets.

@bshi
Created August 22, 2013 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bshi/6311159 to your computer and use it in GitHub Desktop.
Save bshi/6311159 to your computer and use it in GitHub Desktop.
EC2 failure
ubuntu@ip-10-12-0-76:~/docker-postgres$ sudo docker build -t teddziuba/postgres .
sudo: unable to resolve host ip-10-12-0-76
Uploading context 133120 bytes
Step 1 : FROM ubuntu:precise
---> 8dbd9e392a96
Step 2 : MAINTAINER Ted Dziuba "tdziuba@ebay.com"
---> Using cache
---> c3ca7a6626c4
Step 3 : RUN apt-get update
---> Using cache
---> 9a568b2a7fa5
Step 4 : RUN apt-get install -y wget language-pack-en
---> Using cache
---> 181ecd6ced30
Step 5 : RUN locale-gen en_US
---> Using cache
---> 29287723f8a6
Step 6 : ADD config /
---> e215b242c3db
Step 7 : RUN apt-key add /tmp/pgdg-apt-key.asc
---> Running in 6c41c55ca6bf
OK
---> 8dd2df3bd4ac
Step 8 : RUN apt-get update
---> Running in 3a9a948aa536
Ign http://archive.ubuntu.com precise InRelease
Get:1 http://apt.postgresql.org precise-pgdg InRelease [30.1 kB]
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise Release
Get:2 http://apt.postgresql.org precise-pgdg/main amd64 Packages [39.3 kB]
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Get:3 http://apt.postgresql.org precise-pgdg/main i386 Packages [39.3 kB]
Hit http://archive.ubuntu.com precise/main Translation-en
Ign http://apt.postgresql.org precise-pgdg/main TranslationIndex
Ign http://apt.postgresql.org precise-pgdg/main Translation-en
Fetched 109 kB in 1s (58.2 kB/s)
Reading package lists...
---> de694bee0bc1
Step 9 : RUN apt-get install -y pgdg-keyring postgresql-9.2 postgresql-contrib-9.2 pwgen
---> Running in 44836f2265e9
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
cron file krb5-locales libasn1-8-heimdal libbsd0 libedit2 libexpat1
libgcrypt11 libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal
libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
libhx509-5-heimdal libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3
libkrb5support0 libldap-2.4-2 libmagic1 libossp-uuid16 libp11-kit0 libpopt0
libpq5 libroken18-heimdal libsasl2-2 libsasl2-modules libsqlite3-0
libtasn1-3 libwind0-heimdal libxml2 libxslt1.1 logrotate lsb-release
mime-support netbase openssl postgresql-client-9.2 postgresql-client-common
postgresql-common python python2.7 sgml-base ssl-cert xml-core
Suggested packages:
anacron checksecurity exim4 postfix mail-transport-agent rng-tools
gnutls-bin krb5-doc krb5-user uuid libsasl2-modules-otp
libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal mailx lsb ca-certificates oidentd
ident-server locales-all postgresql-doc-9.2 libdbd-pg-perl python-doc
python-tk python2.7-doc binutils sgml-base-doc openssl-blacklist debhelper
The following NEW packages will be installed:
cron file krb5-locales libasn1-8-heimdal libbsd0 libedit2 libexpat1
libgcrypt11 libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal
libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
libhx509-5-heimdal libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3
libkrb5support0 libldap-2.4-2 libmagic1 libossp-uuid16 libp11-kit0 libpopt0
libpq5 libroken18-heimdal libsasl2-2 libsasl2-modules libsqlite3-0
libtasn1-3 libwind0-heimdal libxml2 libxslt1.1 logrotate lsb-release
mime-support netbase openssl pgdg-keyring postgresql-9.2
postgresql-client-9.2 postgresql-client-common postgresql-common
postgresql-contrib-9.2 pwgen python python2.7 sgml-base ssl-cert xml-core
0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.8 MB of archives.
After this operation, 54.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main cron amd64 3.0pl1-120ubuntu3 [83.9 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main libpq5 amd64 9.2.4-1.pgdg12.4+1 [536 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main libexpat1 amd64 2.0.1-7.2ubuntu1 [131 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main libpopt0 amd64 1.16-3ubuntu1 [28.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/main libsqlite3-0 amd64 3.7.9-2ubuntu1 [348 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/main libroken18-heimdal amd64 1.6~git20120311.dfsg.1-2 [46.0 kB]
Get:7 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main pgdg-keyring all 2012.1 [4102 B]
Get:8 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-client-common all 147.pgdg12.4+1 [69.6 kB]
Get:9 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-client-9.2 amd64 9.2.4-1.pgdg12.4+1 [1394 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/main libasn1-8-heimdal amd64 1.6~git20120311.dfsg.1-2 [220 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise/main libbsd0 amd64 0.3.0-2 [31.6 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise/main libedit2 amd64 2.11-20080614-3ubuntu2 [70.3 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise/main libgpg-error0 amd64 1.10-2ubuntu1 [14.5 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main libgcrypt11 amd64 1.5.0-3 [280 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise/main libp11-kit0 amd64 0.12-2ubuntu1 [34.3 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise/main libtasn1-3 amd64 2.10-1ubuntu1 [43.1 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise/main libgnutls26 amd64 2.12.14-5ubuntu3 [459 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/main libkrb5support0 amd64 1.10+dfsg~beta1-2 [23.5 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ precise/main libk5crypto3 amd64 1.10+dfsg~beta1-2 [79.9 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ precise/main libkeyutils1 amd64 1.5.2-2 [7862 B]
Get:21 http://archive.ubuntu.com/ubuntu/ precise/main libkrb5-3 amd64 1.10+dfsg~beta1-2 [354 kB]
Get:22 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-common all 147.pgdg12.4+1 [156 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ precise/main libgssapi-krb5-2 amd64 1.10+dfsg~beta1-2 [118 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ precise/main libhcrypto4-heimdal amd64 1.6~git20120311.dfsg.1-2 [103 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ precise/main libheimbase1-heimdal amd64 1.6~git20120311.dfsg.1-2 [33.0 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ precise/main libwind0-heimdal amd64 1.6~git20120311.dfsg.1-2 [77.8 kB]
Get:27 http://archive.ubuntu.com/ubuntu/ precise/main libhx509-5-heimdal amd64 1.6~git20120311.dfsg.1-2 [125 kB]
Get:28 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-9.2 amd64 9.2.4-1.pgdg12.4+1 [3768 kB]
Get:29 http://archive.ubuntu.com/ubuntu/ precise/main libkrb5-26-heimdal amd64 1.6~git20120311.dfsg.1-2 [234 kB]
Get:30 http://archive.ubuntu.com/ubuntu/ precise/main libheimntlm0-heimdal amd64 1.6~git20120311.dfsg.1-2 [16.0 kB]
Get:31 http://archive.ubuntu.com/ubuntu/ precise/main libgssapi3-heimdal amd64 1.6~git20120311.dfsg.1-2 [108 kB]
Get:32 http://archive.ubuntu.com/ubuntu/ precise/main libsasl2-2 amd64 2.1.25.dfsg1-3 [69.8 kB]
Get:33 http://archive.ubuntu.com/ubuntu/ precise/main libldap-2.4-2 amd64 2.4.28-1.1ubuntu4 [186 kB]
Get:34 http://archive.ubuntu.com/ubuntu/ precise/main libxml2 amd64 2.7.8.dfsg-5.1ubuntu4 [673 kB]
Get:35 http://archive.ubuntu.com/ubuntu/ precise/main libxslt1.1 amd64 1.1.26-8ubuntu1 [166 kB]
Get:36 http://archive.ubuntu.com/ubuntu/ precise/main libmagic1 amd64 5.09-2 [217 kB]
Get:37 http://archive.ubuntu.com/ubuntu/ precise/main file amd64 5.09-2 [19.7 kB]
Get:38 http://archive.ubuntu.com/ubuntu/ precise/main logrotate amd64 3.7.8-6ubuntu5 [36.0 kB]
Get:39 http://archive.ubuntu.com/ubuntu/ precise/main mime-support all 3.51-1ubuntu1 [30.7 kB]
Get:40 http://archive.ubuntu.com/ubuntu/ precise/main python2.7 amd64 2.7.3-0ubuntu3 [2663 kB]
Get:41 http://archive.ubuntu.com/ubuntu/ precise/main python amd64 2.7.3-0ubuntu2 [166 kB]
Get:42 http://archive.ubuntu.com/ubuntu/ precise/main lsb-release all 4.0-0ubuntu20 [10.7 kB]
Get:43 http://archive.ubuntu.com/ubuntu/ precise/main netbase all 4.47ubuntu1 [15.0 kB]
Get:44 http://archive.ubuntu.com/ubuntu/ precise/main krb5-locales all 1.10+dfsg~beta1-2 [8886 B]
Get:45 http://archive.ubuntu.com/ubuntu/ precise/main libsasl2-modules amd64 2.1.25.dfsg1-3 [63.4 kB]
Get:46 http://archive.ubuntu.com/ubuntu/ precise/main openssl amd64 1.0.1-4ubuntu3 [523 kB]
Get:47 http://archive.ubuntu.com/ubuntu/ precise/main sgml-base all 1.26+nmu1ubuntu1 [8360 B]
Get:48 http://archive.ubuntu.com/ubuntu/ precise/main xml-core all 0.13 [23.4 kB]
Get:49 http://archive.ubuntu.com/ubuntu/ precise/main libossp-uuid16 amd64 1.6.2-1.1build3 [51.4 kB]
Get:50 http://archive.ubuntu.com/ubuntu/ precise/main ssl-cert all 1.0.28 [12.2 kB]
Get:51 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main postgresql-contrib-9.2 amd64 9.2.4-1.pgdg12.4+1 [794 kB]
Get:52 http://archive.ubuntu.com/ubuntu/ precise/main pwgen amd64 2.06-1ubuntu2 [21.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 14.8 MB in 5s (2595 kB/s)
Selecting previously unselected package cron.
(Reading database ... 8197 files and directories currently installed.)
Unpacking cron (from .../cron_3.0pl1-120ubuntu3_amd64.deb) ...
Selecting previously unselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7.2ubuntu1_amd64.deb) ...
Selecting previously unselected package libpopt0.
Unpacking libpopt0 (from .../libpopt0_1.16-3ubuntu1_amd64.deb) ...
Selecting previously unselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.7.9-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libroken18-heimdal.
Unpacking libroken18-heimdal (from .../libroken18-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libasn1-8-heimdal.
Unpacking libasn1-8-heimdal (from .../libasn1-8-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libbsd0.
Unpacking libbsd0 (from .../libbsd0_0.3.0-2_amd64.deb) ...
Selecting previously unselected package libedit2.
Unpacking libedit2 (from .../libedit2_2.11-20080614-3ubuntu2_amd64.deb) ...
Selecting previously unselected package libgpg-error0.
Unpacking libgpg-error0 (from .../libgpg-error0_1.10-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.5.0-3_amd64.deb) ...
Selecting previously unselected package libp11-kit0.
Unpacking libp11-kit0 (from .../libp11-kit0_0.12-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_2.10-1ubuntu1_amd64.deb) ...
Selecting previously unselected package libgnutls26.
Unpacking libgnutls26 (from .../libgnutls26_2.12.14-5ubuntu3_amd64.deb) ...
Selecting previously unselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously unselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libhcrypto4-heimdal.
Unpacking libhcrypto4-heimdal (from .../libhcrypto4-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libheimbase1-heimdal.
Unpacking libheimbase1-heimdal (from .../libheimbase1-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libwind0-heimdal.
Unpacking libwind0-heimdal (from .../libwind0-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libhx509-5-heimdal.
Unpacking libhx509-5-heimdal (from .../libhx509-5-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libkrb5-26-heimdal.
Unpacking libkrb5-26-heimdal (from .../libkrb5-26-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libheimntlm0-heimdal.
Unpacking libheimntlm0-heimdal (from .../libheimntlm0-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libgssapi3-heimdal.
Unpacking libgssapi3-heimdal (from .../libgssapi3-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-3_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.28-1.1ubuntu4_amd64.deb) ...
Selecting previously unselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5.1ubuntu4_amd64.deb) ...
Selecting previously unselected package libxslt1.1.
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1_amd64.deb) ...
Selecting previously unselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_5.09-2_amd64.deb) ...
Selecting previously unselected package file.
Unpacking file (from .../archives/file_5.09-2_amd64.deb) ...
Selecting previously unselected package logrotate.
Unpacking logrotate (from .../logrotate_3.7.8-6ubuntu5_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1ubuntu1_all.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.3-0ubuntu3_amd64.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.3-0ubuntu2_amd64.deb) ...
Selecting previously unselected package lsb-release.
Unpacking lsb-release (from .../lsb-release_4.0-0ubuntu20_all.deb) ...
Selecting previously unselected package netbase.
Unpacking netbase (from .../netbase_4.47ubuntu1_all.deb) ...
Selecting previously unselected package krb5-locales.
Unpacking krb5-locales (from .../krb5-locales_1.10+dfsg~beta1-2_all.deb) ...
Selecting previously unselected package libsasl2-modules.
Unpacking libsasl2-modules (from .../libsasl2-modules_2.1.25.dfsg1-3_amd64.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.1-4ubuntu3_amd64.deb) ...
Selecting previously unselected package sgml-base.
Unpacking sgml-base (from .../sgml-base_1.26+nmu1ubuntu1_all.deb) ...
Selecting previously unselected package xml-core.
Unpacking xml-core (from .../archives/xml-core_0.13_all.deb) ...
Selecting previously unselected package libossp-uuid16.
Unpacking libossp-uuid16 (from .../libossp-uuid16_1.6.2-1.1build3_amd64.deb) ...
Selecting previously unselected package libpq5.
Unpacking libpq5 (from .../libpq5_9.2.4-1.pgdg12.4+1_amd64.deb) ...
Selecting previously unselected package pgdg-keyring.
Unpacking pgdg-keyring (from .../pgdg-keyring_2012.1_all.deb) ...
Selecting previously unselected package postgresql-client-common.
Unpacking postgresql-client-common (from .../postgresql-client-common_147.pgdg12.4+1_all.deb) ...
Selecting previously unselected package postgresql-client-9.2.
Unpacking postgresql-client-9.2 (from .../postgresql-client-9.2_9.2.4-1.pgdg12.4+1_amd64.deb) ...
Selecting previously unselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Selecting previously unselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_147.pgdg12.4+1_all.deb) ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Selecting previously unselected package postgresql-9.2.
Unpacking postgresql-9.2 (from .../postgresql-9.2_9.2.4-1.pgdg12.4+1_amd64.deb) ...
Selecting previously unselected package postgresql-contrib-9.2.
Unpacking postgresql-contrib-9.2 (from .../postgresql-contrib-9.2_9.2.4-1.pgdg12.4+1_amd64.deb) ...
Selecting previously unselected package pwgen.
Unpacking pwgen (from .../pwgen_2.06-1ubuntu2_amd64.deb) ...
Setting up cron (3.0pl1-120ubuntu3) ...
Adding group `crontab' (GID 102) ...
Done.
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Setting up libexpat1 (2.0.1-7.2ubuntu1) ...
Setting up libpopt0 (1.16-3ubuntu1) ...
Setting up libsqlite3-0 (3.7.9-2ubuntu1) ...
Setting up libroken18-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libasn1-8-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libbsd0 (0.3.0-2) ...
Setting up libedit2 (2.11-20080614-3ubuntu2) ...
Setting up libgpg-error0 (1.10-2ubuntu1) ...
Setting up libgcrypt11 (1.5.0-3) ...
Setting up libp11-kit0 (0.12-2ubuntu1) ...
Setting up libtasn1-3 (2.10-1ubuntu1) ...
Setting up libgnutls26 (2.12.14-5ubuntu3) ...
Setting up libkrb5support0 (1.10+dfsg~beta1-2) ...
Setting up libk5crypto3 (1.10+dfsg~beta1-2) ...
Setting up libkeyutils1 (1.5.2-2) ...
Setting up libkrb5-3 (1.10+dfsg~beta1-2) ...
Setting up libgssapi-krb5-2 (1.10+dfsg~beta1-2) ...
Setting up libhcrypto4-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libheimbase1-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libwind0-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libhx509-5-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libkrb5-26-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libheimntlm0-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libgssapi3-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libsasl2-2 (2.1.25.dfsg1-3) ...
Setting up libldap-2.4-2 (2.4.28-1.1ubuntu4) ...
Setting up libxml2 (2.7.8.dfsg-5.1ubuntu4) ...
Setting up libxslt1.1 (1.1.26-8ubuntu1) ...
Setting up libmagic1 (5.09-2) ...
Setting up file (5.09-2) ...
Setting up logrotate (3.7.8-6ubuntu5) ...
Setting up mime-support (3.51-1ubuntu1) ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode.
Setting up python2.7 (2.7.3-0ubuntu3) ...
Setting up python (2.7.3-0ubuntu2) ...
Setting up lsb-release (4.0-0ubuntu20) ...
Setting up netbase (4.47ubuntu1) ...
Setting up krb5-locales (1.10+dfsg~beta1-2) ...
Setting up libsasl2-modules (2.1.25.dfsg1-3) ...
Setting up openssl (1.0.1-4ubuntu3) ...
Setting up sgml-base (1.26+nmu1ubuntu1) ...
Setting up xml-core (0.13) ...
Setting up libossp-uuid16 (1.6.2-1.1build3) ...
Setting up libpq5 (9.2.4-1.pgdg12.4+1) ...
Setting up pgdg-keyring (2012.1) ...
Setting up postgresql-client-common (147.pgdg12.4+1) ...
Setting up postgresql-client-9.2 (9.2.4-1.pgdg12.4+1) ...
update-alternatives: using /usr/share/postgresql/9.2/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode.
Setting up ssl-cert (1.0.28) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
hostname: Name or service not known
make-ssl-cert: Could not get FQDN, using "e215febe14cb".
make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run
make-ssl-cert: make-ssl-cert generate-default-snakeoil --force-overwrite
make-ssl-cert: again.
Setting up postgresql-common (147.pgdg12.4+1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Adding user postgres to group ssl-cert
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
* No PostgreSQL clusters exist; see "man pg_createcluster"
Setting up postgresql-9.2 (9.2.4-1.pgdg12.4+1) ...
Creating new cluster 9.2/main ...
config /etc/postgresql/9.2/main
data /var/lib/postgresql/9.2/main
locale en_US.UTF-8
port 5432
update-alternatives: using /usr/share/postgresql/9.2/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
* Starting PostgreSQL 9.2 database server
...done.
Setting up postgresql-contrib-9.2 (9.2.4-1.pgdg12.4+1) ...
Setting up pwgen (2.06-1ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
---> 891756d73fc4
Step 10 : ADD config-stage2 /
---> ec915cadaa3d
Step 11 : RUN /bin/docker-postgres-init-devdb
---> Running in 41d5418d6b9f
* Starting PostgreSQL 9.2 database server
* Removed stale pid file.
The PostgreSQL server failed to start. Please check the log output:
2013-08-22 18:36:01 UTC FATAL: could not remove old lock file "postmaster.pid": Operation not permitted
2013-08-22 18:36:01 UTC HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again.
...fail!
Error build: The command [/bin/sh -c /bin/docker-postgres-init-devdb] returned a non-zero code: 1
The command [/bin/sh -c /bin/docker-postgres-init-devdb] returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment