Giter Club home page Giter Club logo

ansible-isucon's Introduction

ansible-isucon's People

Contributors

anatofuz avatar dorako321 avatar honahuku avatar kikumoto avatar matsuu avatar netmarkjp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-isucon's Issues

isucon5q PHPのインストールが失敗する

https://github.com/matsuu/azure-isucon-templates/tree/master/isucon5-qualifierDeploy to Azure でデプロイしようとするとprovisioningが失敗しました。

tail -f /var/log/cloud-init-output.log

fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/home/isucon/.xbuild/php-install", "5.6.13", "/home/isucon/.local/php", "--", "--with-pear", "--with-openssl"], "delta": "0:00:30.165388", "end": "2017-08-01 21:48:17.316274", "failed": true, "rc": 1, "start": "2017-08-01 21:47:47.150886", "stderr": "", "stdout": "Start to build php 5.6.13 ...\nphp-build failed. see log: /tmp/isucon-php-install.log", "stdout_lines": ["Start to build php 5.6.13 ...", "php-build failed. see log: /tmp/isucon-php-install.log"], "warnings": []}

/tmp/isucon-php-install.log

[Info]: Loaded extension plugin
[Info]: Loaded apc Plugin.
[Info]: Loaded composer Plugin.
[Info]: Loaded github Plugin.
[Info]: Loaded uprofiler Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: Loaded zendopcache Plugin.
[Info]: php.ini-production gets used as php.ini
[Info]: Building 5.6.13 into /home/isucon/.local/php
[Downloading]: https://secure.php.net/distributions/php-5.6.13.tar.bz2
[Preparing]: /tmp/php-build/source/5.6.13

-----------------
|  BUILD ERROR  |
-----------------

Here are the last 10 lines from the log:

-----------------------------------------
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 3.0, min: 204, excluded: 3.0).
configure: error: Please reinstall the BZip2 distribution
-----------------------------------------

The full Log is available at '/tmp/php-build.5.6.13.20170801214748.log'.
[Warn]: Aborting build.

configure: error: Please reinstall the BZip2 distribution と出ます。

解決策

00_devel.ymllibbz2-dev を追記することでprovisioningが成功することが確認できました。

正しい解決策なのか確信がないのでissueにしておきました。よろしくお願いします。

nginx-1.6.1-1.el6.ngx.x86_64.rpm is no longer available

https://github.com/matsuu/ansible-isucon/blob/master/isucon4-qualifier/01_qualifier.yml
の中に書いてある
http://nginx.org/packages/old/centos/6/x86_64/nginx-1.6.1-1.el6.ngx.x86_64.rpm
が404: not foundを返します。

==> default: TASK [yum] ********************************************************************* ==> default: fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failure downloading http://nginx.org/packages/old/centos/6/x86_64/nginx-1.6.1-1.el6.ngx.x86_64.rpm, HTTP Error 404: Not Found"} ==> default: to retry, use: --limit @/home/vagrant/ansible-isucon/isucon4-qualifier/playbook.retry ==> default: ==> default: PLAY RECAP ********************************************************************* ==> default: localhost : ok=34 changed=2 unreachable=0 failed=1 The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.