Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- daria@samsung-laptop:~/Projects/museums-yar$ vagrant up
- Bringing machine 'default' up with 'virtualbox' provider...
- ==> default: Checking if box 'ubuntu/trusty32' is up to date...
- ==> default: A newer version of the box 'ubuntu/trusty32' is available! You currently
- ==> default: have version '14.04'. The latest is version '20150609.0.9'. Run
- ==> default: `vagrant box update` to update.
- ==> default: Clearing any previously set network interfaces...
- ==> default: Preparing network interfaces based on configuration...
- default: Adapter 1: nat
- ==> default: Forwarding ports...
- default: 5000 => 5000 (adapter 1)
- default: 9000 => 5001 (adapter 1)
- default: 27017 => 27017 (adapter 1)
- default: 22 => 2222 (adapter 1)
- ==> default: Booting VM...
- ==> default: Waiting for machine to boot. This may take a few minutes...
- default: SSH address: 127.0.0.1:2222
- default: SSH username: vagrant
- default: SSH auth method: private key
- default: Warning: Connection timeout. Retrying...
- ==> default: Machine booted and ready!
- ==> default: Checking for guest additions in VM...
- ==> default: Mounting shared folders...
- default: /vagrant => /home/daria/Projects/museums-yar
- ==> default: Running provisioner: ansible...
- PLAY [all] ********************************************************************
- GATHERING FACTS ***************************************************************
- ok: [default]
- TASK: [update-system | Update all packages on the machine] ********************
- changed: [default]
- TASK: [python-virtualenv | Add system modules to setup python virtual environment] ***
- changed: [default] => (item=python-dev,python-virtualenv)
- TASK: [python-virtualenv | Install system packages required to setup python packages] ***
- changed: [default] => (item=libjpeg-dev,zlib1g-dev,libxml2-dev,libxslt-dev)
- TASK: [python-virtualenv | Install all packages required to setup environment] ***
- changed: [default]
- TASK: [mongodb | Add key for mongodb init scripts repository] *****************
- changed: [default]
- TASK: [mongodb | Add debian repository for mongodb init script] ***************
- changed: [default]
- TASK: [mongodb | Install mongodb server and client packages] ******************
- failed: [default] => (item=mongodb-10gen) => {"failed": true, "item": "mongodb-10gen"}
- stderr: perl: warning: Setting locale failed.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_TIME = "ru_RU.UTF-8",
- LC_MONETARY = "ru_RU.UTF-8",
- LC_CTYPE = "C",
- LC_ADDRESS = "ru_RU.UTF-8",
- LC_TELEPHONE = "ru_RU.UTF-8",
- LC_NAME = "ru_RU.UTF-8",
- LC_MEASUREMENT = "ru_RU.UTF-8",
- LC_IDENTIFICATION = "ru_RU.UTF-8",
- LC_NUMERIC = "ru_RU.UTF-8",
- LC_PAPER = "ru_RU.UTF-8",
- LANG = "C"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- locale: Cannot set LC_ALL to default locale: No such file or directory
- invoke-rc.d: initscript mongodb, action "start" failed.
- dpkg: error processing package mongodb-10gen (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- mongodb-10gen
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- stdout: Reading package lists...
- Building dependency tree...
- Reading state information...
- The following NEW packages will be installed:
- mongodb-10gen
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 87.5 MB of archives.
- After this operation, 222 MB of additional disk space will be used.
- Get:1 http://downloads-distro.mongodb.org/repo/debian-sysvinit/ dist/10gen mongodb-10gen i386 2.4.14 [87.5 MB]
- Fetched 87.5 MB in 3min 30s (415 kB/s)
- Selecting previously unselected package mongodb-10gen.
- (Reading database ... 88938 files and directories currently installed.)
- Preparing to unpack .../mongodb-10gen_2.4.14_i386.deb ...
- Unpacking mongodb-10gen (2.4.14) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- Processing triggers for ureadahead (0.100.0-16) ...
- Setting up mongodb-10gen (2.4.14) ...
- Adding system user `mongodb' (UID 108) ...
- Adding new user `mongodb' (UID 108) with group `nogroup' ...
- Not creating home directory `/home/mongodb'.
- Adding group `mongodb' (GID 113) ...
- Done.
- Adding user `mongodb' to group `mongodb' ...
- Adding user mongodb to group mongodb
- Done.
- * Starting database mongodb
- ...fail!
- Processing triggers for ureadahead (0.100.0-16) ...
- 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.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LC_TIME = "ru_RU.UTF-8",
- LC_MONETARY = "ru_RU.UTF-8",
- LC_CTYPE = "C",
- LC_ADDRESS = "ru_RU.UTF-8",
- LC_TELEPHONE = "ru_RU.UTF-8",
- LC_NAME = "ru_RU.UTF-8",
- LC_MEASUREMENT = "ru_RU.UTF-8",
- LC_IDENTIFICATION = "ru_RU.UTF-8",
- LC_NUMERIC = "ru_RU.UTF-8",
- LC_PAPER = "ru_RU.UTF-8",
- LANG = "C"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- locale: Cannot set LC_ALL to default locale: No such file or directory
- invoke-rc.d: initscript mongodb, action "start" failed.
- dpkg: error processing package mongodb-10gen (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- mongodb-10gen
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- FATAL: all hosts have already failed -- aborting
- PLAY RECAP ********************************************************************
- to retry, use: --limit @/home/daria/playbook.yaml.retry
- default : ok=7 changed=6 unreachable=0 failed=1
- Ansible failed to complete successfully. Any error output should be
- visible above. Please fix these errors and try again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement