Created
April 27, 2014 06:41
-
-
Save snowch/11339042 to your computer and use it in GitHub Desktop.
Config.sh output log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This script will install and configure puppet agent, do you want to continue [y/n]y | |
--2014-04-27 05:44:36-- http://169.254.169.254/latest/user-data | |
Connecting to 169.254.169.254:80... connected. | |
HTTP request sent, awaiting response... 404 Not Found | |
2014-04-27 05:44:37 ERROR 404: Not Found. | |
Please provide stratos service-name:php | |
Please provide puppet master IP:192.168.56.5 | |
Please provide puppet master hostname [puppet.stratos.org]:puppet.stratos.com | |
Node Id 339827041435.default.php | |
Domain puppet.stratos.com | |
\nRunning puppet installation with arguments: -n339827041435.default.php -dpuppet.stratos.com -s192.168.56.5 | |
Puppet Installer v1 2014-02-12 | |
This script will install PuppetLab puppet v3. | |
Thilina Piyasundara. <[email protected]> | |
== [Caution] =========================================================== | |
This script will replace existing '/etc/hosts' and '/etc/hostname' | |
files and will update hostname of the system with following parameter. | |
Installing puppet : Agent | |
Puppet Master FQDN name : puppet.stratos.com | |
Puppet Masters IP address : 192.168.56.5 | |
Domain of the deployment : puppet.stratos.com | |
FQDN of this node : 339827041435.default.php.puppet.stratos.com | |
Operating system : Debian | |
Please check your input and confirm by pressing [Enter] to continue. | |
Or press [Ctrl] + [c] to stop the installationan exit. | |
======================================================================== | |
Installation started. Please wait ... | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages will be REMOVED: | |
locales ubuntu-minimal | |
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded. | |
After this operation, 9,430 kB disk space will be freed. | |
(Reading database ... 47868 files and directories currently installed.) | |
Removing ubuntu-minimal ... | |
Removing locales ... | |
Processing triggers for man-db ... | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_MESSAGES to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
debconf: unable to initialize frontend: Dialog | |
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) | |
debconf: falling back to frontend: Readline | |
Reading package lists... Done [165/1953] | |
Building dependency tree | |
Reading state information... Done | |
The following NEW packages will be installed: | |
locales | |
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 3359 kB of archives. | |
After this operation, 9372 kB of additional disk space will be used. | |
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main locales all 2.13+git20120306-3 [3359 kB] | |
Fetched 3359 kB in 4s (730 kB/s) | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = "en_US.UTF-8", | |
LC_ALL = "en_US.UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_MESSAGES to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
debconf: unable to initialize frontend: Dialog | |
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) | |
debconf: falling back to frontend: Readline | |
Selecting previously unselected package locales. | |
(Reading database ... 47306 files and directories currently installed.) | |
Unpacking locales (from .../locales_2.13+git20120306-3_all.deb) ... | |
Processing triggers for man-db ... | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_MESSAGES to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
debconf: unable to initialize frontend: Dialog | |
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) | |
debconf: falling back to frontend: Readline | |
Setting up locales (2.13+git20120306-3) ... | |
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | |
Generating locales... | |
en_US.UTF-8... /usr/sbin/locale-gen: line 177: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | |
done | |
Generation complete. | |
debconf: unable to initialize frontend: Dialog | |
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) | |
debconf: falling back to frontend: Readline | |
Generating locales... | |
en_US.UTF-8... up-to-date | |
Generation complete. | |
Current default time zone: 'Etc/UTC' | |
Local time is now: Sun Apr 27 05:47:06 UTC 2014. | |
Universal Time is now: Sun Apr 27 05:47:06 UTC 2014. | |
27 Apr 05:47:16 ntpdate[1724]: adjust time server 91.189.89.199 offset 0.000142 sec | |
Selecting previously unselected package puppetlabs-release. | |
(Reading database ... 47865 files and directories currently installed.) | |
Unpacking puppetlabs-release (from puppetlabs-release-precise.deb) ... | |
Setting up puppetlabs-release (1.0-7) ... | |
debconf: unable to initialize frontend: Dialog [110/1953] | |
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) | |
debconf: falling back to frontend: Readline | |
Selecting previously unselected package libreadline5. | |
(Reading database ... 47871 files and directories currently installed.) | |
Unpacking libreadline5 (from .../libreadline5_5.2-11_amd64.deb) ... | |
Selecting previously unselected package augeas-lenses. | |
Unpacking augeas-lenses (from .../augeas-lenses_0.10.0-0ubuntu4_all.deb) ... | |
Selecting previously unselected package debconf-utils. | |
Unpacking debconf-utils (from .../debconf-utils_1.5.42ubuntu1_all.deb) ... | |
Selecting previously unselected package libruby1.8. | |
Unpacking libruby1.8 (from .../libruby1.8_1.8.7.352-2ubuntu1.4_amd64.deb) ... | |
Selecting previously unselected package ruby1.8. | |
Unpacking ruby1.8 (from .../ruby1.8_1.8.7.352-2ubuntu1.4_amd64.deb) ... | |
Selecting previously unselected package ruby. | |
Unpacking ruby (from .../apt/archives/ruby_4.8_all.deb) ... | |
Selecting previously unselected package virt-what. | |
Unpacking virt-what (from .../virt-what_1.11-1_amd64.deb) ... | |
Selecting previously unselected package facter. | |
Unpacking facter (from .../facter_2.0.1-1puppetlabs1_amd64.deb) ... | |
Selecting previously unselected package libaugeas0. | |
Unpacking libaugeas0 (from .../libaugeas0_0.10.0-0ubuntu4_amd64.deb) ... | |
Selecting previously unselected package libaugeas-ruby1.8. | |
Unpacking libaugeas-ruby1.8 (from .../libaugeas-ruby1.8_0.3.0-1.1ubuntu4_amd64.deb) ... | |
Selecting previously unselected package libaugeas-ruby. | |
Unpacking libaugeas-ruby (from .../libaugeas-ruby_0.3.0-1.1ubuntu4_all.deb) ... | |
Selecting previously unselected package ruby-json. | |
Unpacking ruby-json (from .../ruby-json_1.6.3-1_amd64.deb) ... | |
Selecting previously unselected package libjson-ruby. | |
Unpacking libjson-ruby (from .../libjson-ruby_1.6.3-1_all.deb) ... | |
Selecting previously unselected package libruby. | |
Unpacking libruby (from .../archives/libruby_4.8_all.deb) ... | |
Selecting previously unselected package libshadow-ruby1.8. | |
Unpacking libshadow-ruby1.8 (from .../libshadow-ruby1.8_1.4.1-8build1_amd64.deb) ... | |
Selecting previously unselected package hiera. | |
Unpacking hiera (from .../hiera_1.3.2-1puppetlabs1_all.deb) ... | |
Selecting previously unselected package ruby-rgen. | |
Unpacking ruby-rgen (from .../ruby-rgen_0.6.5-1puppetlabs1_all.deb) ... | |
Selecting previously unselected package puppet-common. | |
Unpacking puppet-common (from .../puppet-common_3.5.1-1puppetlabs1_all.deb) ... | |
Selecting previously unselected package puppet. | |
Unpacking puppet (from .../puppet_3.5.1-1puppetlabs1_all.deb) ... | |
Processing triggers for man-db ... | |
debconf: unable to initialize frontend: Dialog | |
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) | |
debconf: falling back to frontend: Readline | |
Processing triggers for ureadahead ... | |
Setting up libreadline5 (5.2-11) ... | |
Setting up augeas-lenses (0.10.0-0ubuntu4) ... | |
Setting up debconf-utils (1.5.42ubuntu1) ... | |
Setting up libruby1.8 (1.8.7.352-2ubuntu1.4) ... | |
Setting up ruby1.8 (1.8.7.352-2ubuntu1.4) ... | |
update-alternatives: using /usr/bin/ruby1.8 to provide /usr/bin/ruby (ruby) in auto mode. | |
Setting up ruby (4.8) ... | |
Setting up virt-what (1.11-1) ... | |
Setting up facter (2.0.1-1puppetlabs1) ... [55/1953] | |
Setting up libaugeas0 (0.10.0-0ubuntu4) ... | |
Setting up libaugeas-ruby1.8 (0.3.0-1.1ubuntu4) ... | |
Setting up libaugeas-ruby (0.3.0-1.1ubuntu4) ... | |
Setting up ruby-json (1.6.3-1) ... | |
Setting up libjson-ruby (1.6.3-1) ... | |
Setting up libruby (4.8) ... | |
Setting up libshadow-ruby1.8 (1.4.1-8build1) ... | |
Setting up hiera (1.3.2-1puppetlabs1) ... | |
Setting up ruby-rgen (0.6.5-1puppetlabs1) ... | |
Setting up puppet-common (3.5.1-1puppetlabs1) ... | |
Setting up puppet (3.5.1-1puppetlabs1) ... | |
* Starting puppet agent | |
puppet not configured to start, please edit /etc/default/puppet to enable | |
...done. | |
Processing triggers for libc-bin ... | |
ldconfig deferred processing now taking place | |
Copying Stratos facter file to /usr/lib/ruby/1.8 | |
* Stopping puppet agent | |
...done. | |
Info: Creating a new SSL key for 339827041435.default.php.puppet.stratos.com | |
Info: Caching certificate for ca | |
Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml | |
Info: Creating a new SSL certificate request for 339827041435.default.php.puppet.stratos.com | |
Info: Certificate Request fingerprint (SHA256): BE:49:08:60:50:66:4F:64:49:22:95:D6:EE:C2:81:94:BB:E2:9F:1D:2D:AB:9A:BC:80:46:C5:53:F2:3D:ED:FA | |
Info: Caching certificate for 339827041435.default.php.puppet.stratos.com | |
Info: Caching certificate_revocation_list for ca | |
Info: Caching certificate for ca | |
Info: Retrieving pluginfacts | |
Info: Retrieving plugin | |
Notice: /File[/var/lib/puppet/lib/facter]/ensure: created | |
Notice: /File[/var/lib/puppet/lib/facter/stratos_facts.rb]/ensure: defined content as '{md5}58a2fc506397b18254c4972bb31abf41' | |
Info: Loading facts in /var/lib/puppet/lib/facter/stratos_facts.rb | |
Info: Caching catalog for 339827041435.default.php.puppet.stratos.com | |
Info: Applying configuration version '1398578000' | |
Notice: /Stage[main]/Java/File[/etc/profile.d/java_home.sh]/ensure: created | |
Notice: /Stage[main]/Java/File[/opt/jdk-7u51-linux-x64.tar.gz]/ensure: defined content as '{md5}764f96c4b078b80adaa5983e75470ff2' | |
Notice: /Stage[main]/Java/Exec[Install java]/returns: executed successfully | |
Notice: /Stage[main]/Java/File[/opt/java]/ensure: created | |
Notice: /Stage[main]/Php/File[/etc/apt/apt.conf.d/90forceyes]/ensure: defined content as '{md5}a0984f2488154022d95ebeb68900ce71' | |
Notice: /Stage[main]/Php/Exec[update-apt]/returns: executed successfully | |
Notice: /Stage[main]/Php/Package[php5-mysql]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[build-essential]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-xmlrpc]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-gd]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[git]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[ldap-utils]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-mcrypt]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[mcrypt]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-xsl]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[libboost-all-dev]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-sqlite]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php-pear]/ensure: ensure changed 'purged' to 'present' | |
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install mysql-client' returned 100: Reading package lists... [0/1953] | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl | |
libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 | |
The following NEW packages will be installed: | |
libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl | |
libterm-readkey-perl mysql-client mysql-client-5.5 mysql-client-core-5.5 | |
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 11.3 MB of archives. | |
After this operation, 40.6 MB of additional disk space will be used. | |
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] | |
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] | |
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB] | |
Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB] | |
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 kB] | |
Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.37-0ubuntu0.12.04.1 [1938 kB] | |
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.37-0ubuntu0.12.04.1 [8338 kB] | |
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client all 5.5.37-0ubuntu0.12.04.1 [11.3 kB] | |
Fetched 11.3 MB in 18s (626 kB/s) | |
dpkg: error: dpkg status database is locked by another process | |
E: Sub-process /usr/bin/dpkg returned an error code (2) | |
Error: /Stage[main]/Php/Package[mysql-client]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-con | |
fold install mysql-client' returned 100: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl | |
libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 | |
The following NEW packages will be installed: | |
libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl | |
libterm-readkey-perl mysql-client mysql-client-5.5 mysql-client-core-5.5 | |
0 upgraded, 8 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 11.3 MB of archives. | |
After this operation, 40.6 MB of additional disk space will be used. | |
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] | |
Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] | |
Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB] | |
Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB] | |
Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 kB] | |
Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.37-0ubuntu0.12.04.1 [1938 kB] | |
Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.37-0ubuntu0.12.04.1 [8338 kB] | |
Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client all 5.5.37-0ubuntu0.12.04.1 [11.3 kB] | |
Fetched 11.3 MB in 18s (626 kB/s) | |
dpkg: error: dpkg status database is locked by another process | |
E: Sub-process /usr/bin/dpkg returned an error code (2) | |
Notice: /Stage[main]/Php/Package[php5-ldap]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-curl]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[fail2ban]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[libapache2-mod-php5]/ensure: ensure changed 'purged' to 'present' | |
Notice: /Stage[main]/Php/Package[php5-imap]/ensure: ensure changed 'purged' to 'present' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment