Advertisement
roydash

Untitled

Aug 3rd, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.88 KB | None | 0 0
  1. daria@samsung-laptop:~/Projects/museums-yar$ vagrant up
  2. Bringing machine 'default' up with 'virtualbox' provider...
  3. ==> default: Checking if box 'ubuntu/trusty32' is up to date...
  4. ==> default: A newer version of the box 'ubuntu/trusty32' is available! You currently
  5. ==> default: have version '14.04'. The latest is version '20150609.0.9'. Run
  6. ==> default: `vagrant box update` to update.
  7. ==> default: Clearing any previously set network interfaces...
  8. ==> default: Preparing network interfaces based on configuration...
  9.     default: Adapter 1: nat
  10. ==> default: Forwarding ports...
  11.     default: 5000 => 5000 (adapter 1)
  12.     default: 9000 => 5001 (adapter 1)
  13.     default: 27017 => 27017 (adapter 1)
  14.     default: 22 => 2222 (adapter 1)
  15. ==> default: Booting VM...
  16. ==> default: Waiting for machine to boot. This may take a few minutes...
  17.     default: SSH address: 127.0.0.1:2222
  18.     default: SSH username: vagrant
  19.     default: SSH auth method: private key
  20.     default: Warning: Connection timeout. Retrying...
  21. ==> default: Machine booted and ready!
  22. ==> default: Checking for guest additions in VM...
  23. ==> default: Mounting shared folders...
  24.     default: /vagrant => /home/daria/Projects/museums-yar
  25. ==> default: Running provisioner: ansible...
  26.  
  27. PLAY [all] ********************************************************************
  28.  
  29. GATHERING FACTS ***************************************************************
  30. ok: [default]
  31.  
  32. TASK: [update-system | Update all packages on the machine] ********************
  33. changed: [default]
  34.  
  35. TASK: [python-virtualenv | Add system modules to setup python virtual environment] ***
  36. changed: [default] => (item=python-dev,python-virtualenv)
  37.  
  38. TASK: [python-virtualenv | Install system packages required to setup python packages] ***
  39. changed: [default] => (item=libjpeg-dev,zlib1g-dev,libxml2-dev,libxslt-dev)
  40.  
  41. TASK: [python-virtualenv | Install all packages required to setup environment] ***
  42. changed: [default]
  43.  
  44. TASK: [mongodb | Add key for mongodb init scripts repository] *****************
  45. changed: [default]
  46.  
  47. TASK: [mongodb | Add debian repository for mongodb init script] ***************
  48. changed: [default]
  49.  
  50. TASK: [mongodb | Install mongodb server and client packages] ******************
  51. failed: [default] => (item=mongodb-10gen) => {"failed": true, "item": "mongodb-10gen"}
  52. stderr: perl: warning: Setting locale failed.
  53. perl: warning: Please check that your locale settings:
  54.     LANGUAGE = (unset),
  55.     LC_ALL = (unset),
  56.     LC_TIME = "ru_RU.UTF-8",
  57.     LC_MONETARY = "ru_RU.UTF-8",
  58.     LC_CTYPE = "C",
  59.     LC_ADDRESS = "ru_RU.UTF-8",
  60.     LC_TELEPHONE = "ru_RU.UTF-8",
  61.     LC_NAME = "ru_RU.UTF-8",
  62.     LC_MEASUREMENT = "ru_RU.UTF-8",
  63.     LC_IDENTIFICATION = "ru_RU.UTF-8",
  64.     LC_NUMERIC = "ru_RU.UTF-8",
  65.     LC_PAPER = "ru_RU.UTF-8",
  66.     LANG = "C"
  67.     are supported and installed on your system.
  68. perl: warning: Falling back to the standard locale ("C").
  69. locale: Cannot set LC_ALL to default locale: No such file or directory
  70. invoke-rc.d: initscript mongodb, action "start" failed.
  71. dpkg: error processing package mongodb-10gen (--configure):
  72.  subprocess installed post-installation script returned error exit status 1
  73. Errors were encountered while processing:
  74.  mongodb-10gen
  75. E: Sub-process /usr/bin/dpkg returned an error code (1)
  76.  
  77. stdout: Reading package lists...
  78. Building dependency tree...
  79. Reading state information...
  80. The following NEW packages will be installed:
  81.   mongodb-10gen
  82. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  83. Need to get 87.5 MB of archives.
  84. After this operation, 222 MB of additional disk space will be used.
  85. Get:1 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-10gen i386 2.4.14 [87.5 MB]
  86. Fetched 87.5 MB in 3min 30s (415 kB/s)
  87. Selecting previously unselected package mongodb-10gen.
  88. (Reading database ... 88938 files and directories currently installed.)
  89. Preparing to unpack .../mongodb-10gen_2.4.14_i386.deb ...
  90. Unpacking mongodb-10gen (2.4.14) ...
  91. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  92. Processing triggers for ureadahead (0.100.0-16) ...
  93. Setting up mongodb-10gen (2.4.14) ...
  94. Adding system user `mongodb' (UID 108) ...
  95. Adding new user `mongodb' (UID 108) with group `nogroup' ...
  96. Not creating home directory `/home/mongodb'.
  97. Adding group `mongodb' (GID 113) ...
  98. Done.
  99. Adding user `mongodb' to group `mongodb' ...
  100. Adding user mongodb to group mongodb
  101. Done.
  102. * Starting database mongodb
  103.   ...fail!
  104. Processing triggers for ureadahead (0.100.0-16) ...
  105.  
  106. msg: '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"   install 'mongodb-10gen'' failed: perl: warning: Setting locale failed.
  107. perl: warning: Please check that your locale settings:
  108.     LANGUAGE = (unset),
  109.     LC_ALL = (unset),
  110.     LC_TIME = "ru_RU.UTF-8",
  111.     LC_MONETARY = "ru_RU.UTF-8",
  112.     LC_CTYPE = "C",
  113.     LC_ADDRESS = "ru_RU.UTF-8",
  114.     LC_TELEPHONE = "ru_RU.UTF-8",
  115.     LC_NAME = "ru_RU.UTF-8",
  116.     LC_MEASUREMENT = "ru_RU.UTF-8",
  117.     LC_IDENTIFICATION = "ru_RU.UTF-8",
  118.     LC_NUMERIC = "ru_RU.UTF-8",
  119.     LC_PAPER = "ru_RU.UTF-8",
  120.     LANG = "C"
  121.    are supported and installed on your system.
  122. perl: warning: Falling back to the standard locale ("C").
  123. locale: Cannot set LC_ALL to default locale: No such file or directory
  124. invoke-rc.d: initscript mongodb, action "start" failed.
  125. dpkg: error processing package mongodb-10gen (--configure):
  126. subprocess installed post-installation script returned error exit status 1
  127. Errors were encountered while processing:
  128. mongodb-10gen
  129. E: Sub-process /usr/bin/dpkg returned an error code (1)
  130.  
  131.  
  132. FATAL: all hosts have already failed -- aborting
  133.  
  134. PLAY RECAP ********************************************************************
  135.           to retry, use: --limit @/home/daria/playbook.yaml.retry
  136.  
  137. default                    : ok=7    changed=6    unreachable=0    failed=1  
  138.  
  139. Ansible failed to complete successfully. Any error output should be
  140. visible above. Please fix these errors and try again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement