Juju - a instalação do wordpress falhou

0

Estou usando o Ubuntu 14.04, tenho o juju instalado no servidor MaaS. No começo eu estava tendo este problema: :

Então,pararesolverisso,eufizjujussh:

sudopico/etc/apt/sources.list

Eufui aqui para obter o código para adicioná-lo aqui / etc / apt / sources .list.

Depois de sudo apt-get update , recebi um erro dizendo As assinaturas a seguir não puderam ser verificadas porque a chave pública não está disponível .

Então eu fiz o segundo método de aqui e funcionou .

Foi para meu servidor do MaaS e fez juju resolved --retry wordpress/0 e 3mins depois que recebi este erro:

unit-wordpress-0[1322]: 2015-05-25 17:20:11 INFO unit.wordpress/0.install logger.go:40 Adding system user 'statd' (UID 107) ...
unit-wordpress-0[1322]: 2015-05-25 17:20:11 INFO unit.wordpress/0.install logger.go:40 Adding new user 'statd' (UID 107) with group 'nogroup' ...
unit-wordpress-0[1322]: 2015-05-25 17:20:11 INFO unit.wordpress/0.install logger.go:40 Not creating home directory '/var/lib/nfs'.
unit-wordpress-0[1322]: 2015-05-25 17:20:11 INFO unit.wordpress/0.install logger.go:40 statd start/running, process 6817
unit-wordpress-0[1322]: 2015-05-25 17:20:11 INFO unit.wordpress/0.install logger.go:40 gssd stop/pre-start, process 6851
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 idmapd start/running, process 6901
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 Setting up php5 (5.5.9+dfsg-1ubuntu4.9) ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 Setting up php-auth-sasl (1.0.6-1) ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 Processing triggers for php5-fpm (5.5.9+dfsg-1ubuntu4.9) ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 php5-fpm stop/waiting
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 php5-fpm start/running, process 6945
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 Processing triggers for ureadahead (0.100.0-16) ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + modprobe nfs
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + juju-log 'Making /mnt/tmp dir ...'
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.juju-log cmd.go:247 Making /mnt/tmp dir ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + mkdir -p /mnt/tmp
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + chmod 1777 /mnt/tmp
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + juju-log 'Making /mnt/logs ...'
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.juju-log cmd.go:247 Making /mnt/logs ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + mkdir -p /mnt/logs/php-fpm
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + chmod -R 1777 /mnt/logs
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + juju-log 'Making Ramdisk mount point and config ...'
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.juju-log cmd.go:247 Making Ramdisk mount point and config ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + mkdir -p /mnt/ramdisk/proxy-cache
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + mkdir -p /mnt/ramdisk/phpfpm-cache
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + chmod -R 1777 /mnt/ramdisk
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + juju-log 'Installing PHP-FPM pool configs ...'
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.juju-log cmd.go:247 Installing PHP-FPM pool configs ...
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + rm -f /etc/php5/fpm/pool.d/www.conf
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + install -o root -g root -m 0644 files/charm/php/php5-fpm_pool.d_www.conf /etc/php5/fpm/pool.d/www.conf
unit-wordpress-0[1322]: 2015-05-25 17:20:12 INFO unit.wordpress/0.install logger.go:40 + rsync -az /var/lib/php5 /mnt/
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + rm -rf /var/lib/php5
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + ln -s /mnt/php5 /var/lib/
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + juju-log 'Creating random secret key ...'
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.juju-log cmd.go:247 Creating random secret key ...
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + '[' '!' -f .wp-secret ']'
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + pwgen -s 10 1
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + juju-log 'Installing wp-cli to make this charm'\''s life a little easier ...'
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.juju-log cmd.go:247 Installing wp-cli to make this charm's life a little easier ...
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 + git clone https://github.com/wp-cli/wp-cli.git /usr/src/wp-cli
unit-wordpress-0[1322]: 2015-05-25 17:20:13 INFO unit.wordpress/0.install logger.go:40 Cloning into '/usr/src/wp-cli'...
unit-wordpress-0[1322]: 2015-05-25 17:20:34 INFO unit.wordpress/0.install logger.go:40 fatal: unable to access 'https://github.com/wp-cli/wp-cli.git/': Failed to connect to github.com port 443: Connection refused
unit-wordpress-0[1322]: 2015-05-25 17:20:34 ERROR juju.worker.uniter.operation runhook.go:86 hook "install" failed: exit status 128

Alguma solução?

    
por Mario 25.05.2015 / 19:35

1 resposta

0

Parece que o erro importante é:

logger.go:40 fatal: unable to access 'https://github.com/wp-cli/wp-cli.git/': Failed to connect to github.com port 443: Connection refused

Isso sugere que o nó maas não tem uma conexão com a internet. Ou que o github estava indisponível (acho que estava sofrendo um ddo na época deste post)

    
por MattyW 04.12.2015 / 11:53