-
Instalação dos pacotes pear (dependências i-Educar)
bash ~/ieducar/ieducar/scripts/install_pear_packages.sh
Ao tentar inserir esta linha ao terminal, não conseguindo validar as dependências do ieducar. Estou precisando de um auxílio, segue as informações identificadas após execução:
bash ~/ieducar/ieducar/scripts/install_pear_packages.sh
** Instalando dependencias i-Educar
pear/HTTP_Request2 can optionally use PHP extension "curl"
downloading XML_RPC2-1.1.2.tgz ...
Starting to download XML_RPC2-1.1.2.tgz (67,331 bytes)
.................done: 67,331 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/XML_RPC2-1.1.2.tgz"
Download of "pear/XML_RPC2" succeeded, but it is not a valid package archive
Error: cannot download "pear/XML_RPC2"
downloading HTTP_Request2-2.2.1.tgz ...
Starting to download HTTP_Request2-2.2.1.tgz (107,339 bytes)
...done: 107,339 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/HTTP_Request2-2.2.1.tgz"
Download of "pear/HTTP_Request2" succeeded, but it is not a valid package archive
Error: cannot download "pear/HTTP_Request2"
downloading Cache_Lite-1.7.16.tgz ...
Starting to download Cache_Lite-1.7.16.tgz (32,997 bytes)
...done: 32,997 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Cache_Lite-1.7.16.tgz"
Download of "pear/Cache_Lite" succeeded, but it is not a valid package archive
Error: cannot download "pear/Cache_Lite"
downloading Net_URL2-2.0.6.tgz ...
Starting to download Net_URL2-2.0.6.tgz (17,760 bytes)
...done: 17,760 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_URL2-2.0.6.tgz"
Download of "pear/Net_URL2" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_URL2"
Download failed
install failed
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
downloading Mail-1.2.0.tgz ...
Starting to download Mail-1.2.0.tgz (23,214 bytes)
........done: 23,214 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Mail-1.2.0.tgz"
Download of "pear/Mail" succeeded, but it is not a valid package archive
Error: cannot download "pear/Mail"
Download failed
install failed
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
Did not download optional dependencies: pear/Auth_SASL, use --alldeps to download automatically
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)
downloading Net_SMTP-1.6.2.tgz ...
Starting to download Net_SMTP-1.6.2.tgz (13,077 bytes)
.....done: 13,077 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_SMTP-1.6.2.tgz"
Download of "pear/Net_SMTP" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_SMTP"
downloading Net_Socket-1.0.14.tgz ...
Starting to download Net_Socket-1.0.14.tgz (5,600 bytes)
...done: 5,600 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_Socket-1.0.14.tgz"
Download of "pear/Net_Socket" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_Socket"
Download failed
install failed
pear/Services_ReCaptcha can optionally use PHP extension "mcrypt"
pear/HTTP_Request2 can optionally use PHP extension "curl"
downloading Services_ReCaptcha-1.0.3.tgz ...
Starting to download Services_ReCaptcha-1.0.3.tgz (10,915 bytes)
.....done: 10,915 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Services_ReCaptcha-1.0.3.tgz"
Download of "pear/Services_ReCaptcha" succeeded, but it is not a valid package archive
Error: cannot download "pear/Services_ReCaptcha"
downloading HTTP_Request2-2.2.1.tgz ...
Starting to download HTTP_Request2-2.2.1.tgz (107,339 bytes)
...done: 107,339 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/HTTP_Request2-2.2.1.tgz"
Download of "pear/HTTP_Request2" succeeded, but it is not a valid package archive
Error: cannot download "pear/HTTP_Request2"
downloading Net_URL2-2.0.6.tgz ...
Starting to download Net_URL2-2.0.6.tgz (17,760 bytes)
...done: 17,760 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Net_URL2-2.0.6.tgz"
Download of "pear/Net_URL2" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_URL2"
Download failed
install failed
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[ OK ]
OBSERVAÇÃO: Navegando pelas minhas pastas identifiquei que o arquivo pear packages, está localizado no caminho: "/home/ieducar/ieducar/ieducar/scripts/install_pear_packages.sh", sendo assim inclui o bash ~, e foi retornado a mensagem:
bash: /home/ieducar/ieducar/ieducar/ieducar/scripts/install_pear_packages.sh: No such file or directory
Efetuei o processo de alterações, orientada pelo Sr.Gabriel Matos de Souza, porém não obtive sucesso, segue as informações inseridas:
sudo su
pear info archive_tar|head -n1
cd `pear config-get php_dir`
wget -O /tmp/archive.diff "https://pear.php.net/bugs/patch-download.php?id=19746&patch=archive_tar_php55.patch&revision=1355241213"
patch -p1 < /tmp/archive.diff
pear upgrade-all
Depois tente rodar o comando[1] novamente .
[1] bash ~/ieducar/ieducar/scripts/install_pear_packages.sh
Estou no aguardo de qualquer ajuda, estou gerando este novo tópico, obrigado.
Autor: ELDE SALGADO
22 comentários
Portabilis Tecnologia www.portabilis.com.br 
gzip: *.tar.gz: No such file or directory
servereduc-HOME-2400 downloads # gunzip *.tgz
servereduc-HOME-2400 downloads # /usr/bin/pear install Net_URL2-2.0.6.tar
install ok: channel://pear.php.net/Net_URL2-2.0.6
servereduc-HOME-2400 downloads # /usr/bin/pear install HTTP_Request2-2.2.1.tar
pear/HTTP_Request2 can optionally use PHP extension "curl"
install ok: channel://pear.php.net/HTTP_Request2-2.2.1
servereduc-HOME-2400 downloads # /usr/bin/pear install Cache_Lite-1.7.16.tar
install ok: channel://pear.php.net/Cache_Lite-1.7.16
servereduc-HOME-2400 downloads # /usr/bin/pear install XML_RPC2-1.1.2.tar
install ok: channel://pear.php.net/XML_RPC2-1.1.2
servereduc-HOME-2400 downloads # /usr/bin/pear install Mail
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
downloading Mail-1.2.0.tgz ...
Starting to download Mail-1.2.0.tgz (23,214 bytes)
........done: 23,214 bytes
could not extract the package.xml file from "/usr/pear/downloads/Mail-1.2.0.tgz"
Download of "pear/Mail" succeeded, but it is not a valid package archive
Error: cannot download "pear/Mail"
Download failed
install failed
servereduc-HOME-2400 downloads # gunzip Mail-1.2.0.tgz
servereduc-HOME-2400 downloads # pear install Mail-1.2.0.tar
Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically
pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.4.1)
install ok: channel://pear.php.net/Mail-1.2.0
servereduc-HOME-2400 downloads # pear install Net_SMTP
Package "Auth_SASL" does not have REST info xml available
Did not download optional dependencies: pear/Auth_SASL, use --alldeps to download automatically
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)
downloading Net_SMTP-1.6.2.tgz ...
Starting to download Net_SMTP-1.6.2.tgz (13,077 bytes)
.....done: 13,077 bytes
could not extract the package.xml file from "/usr/pear/downloads/Net_SMTP-1.6.2.tgz"
Download of "pear/Net_SMTP" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_SMTP"
downloading Net_Socket-1.0.14.tgz ...
Starting to download Net_Socket-1.0.14.tgz (5,600 bytes)
...done: 5,600 bytes
could not extract the package.xml file from "/usr/pear/downloads/Net_Socket-1.0.14.tgz"
Download of "pear/Net_Socket" succeeded, but it is not a valid package archive
Error: cannot download "pear/Net_Socket"
Download failed
install failed
servereduc-HOME-2400 downloads # gunzip *.tgz
servereduc-HOME-2400 downloads # pear install Net_Socket-1.0.14.tar
install ok: channel://pear.php.net/Net_Socket-1.0.14
servereduc-HOME-2400 downloads # pear install Net_SMTP-1.6.2.tar
WARNING: "pear/Auth_SASL" is deprecated in favor of "pear/Auth_SASL2"
Did not download optional dependencies: pear/Auth_SASL, use --alldeps to download automatically
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)
install ok: channel://pear.php.net/Net_SMTP-1.6.2
servereduc-HOME-2400 downloads # pear install Auth_SASL2 --alldeps
Failed to download pear/Auth_SASL2 within preferred state "stable", latest release is version 0.1.0, stability "beta", use "channel://pear.php.net/Auth_SASL2-0.1.0" to install
parsePackageName(): invalid package name "--alldeps" in "--alldeps"
invalid package name/package file "--alldeps"
install failed
servereduc-HOME-2400 downloads # pear install Auth_SASL2
Failed to download pear/Auth_SASL2 within preferred state "stable", latest release is version 0.1.0, stability "beta", use "channel://pear.php.net/Auth_SASL2-0.1.0" to install
install failed
servereduc-HOME-2400 downloads # pear install Services_ReCaptcha
pear/Services_ReCaptcha can optionally use PHP extension "mcrypt"
downloading Services_ReCaptcha-1.0.3.tgz ...
Starting to download Services_ReCaptcha-1.0.3.tgz (10,915 bytes)
.....done: 10,915 bytes
could not extract the package.xml file from "/usr/pear/downloads/Services_ReCaptcha-1.0.3.tgz"
Download of "pear/Services_ReCaptcha" succeeded, but it is not a valid package archive
Error: cannot download "pear/Services_ReCaptcha"
Download failed
install failed
servereduc-HOME-2400 downloads # gunzip *.tgz
servereduc-HOME-2400 downloads # pear install Services_ReCaptcha-1.0.3.tar
pear/Services_ReCaptcha can optionally use PHP extension "mcrypt"
install ok: channel://pear.php.net/Services_ReCaptcha-1.0.3 Segui a diante nas configurações, executei os seguintes passos: Configuração do apache curl -L gist.github.com/lucasdavila/4711321/raw/be0ca20be5e092dbe05a23cbb5ff6ba01c4b9af9/3_vhost.sh | bash Configuração git git config --global user.name "Seu Nome Completo" git config --global user.email seu_email@dominio.com Configurações finais do i-Educar nano ~/ieducar/ieducar/configuration/ieducar.ini Login Após salvar as configurações, o login pode ser feito na aplicação acessando ieducar.local/ com usuário e senha admin. PRIMEIRO PROBLEMA DETECTADO Porém ao tentar acessar o Ieducar, não foi possivel realizar esse acesso, especificando a seguinte mensagem: Server not found. SEGUNDO PROBLEMA DETECTADO Realizei o processo de migração, ao tentar iniciar o cluster do postgresql, digitando o comando: bash ~/ieducar/ieducar/scripts/db.sh start. É retornado a seguinte mensagem de erro: ucar@servereduc-HOME-2400 ~ $ bash ~/ieducar/ieducar/scripts/db.sh star
/home/ieducar/ieducar/ieducar/scripts/db.sh: line 8: pgvm: command not found
/home/ieducar/ieducar/ieducar/scripts/db.sh: line 10: pgvm: command not found
/home/ieducar/ieducar/ieducar/scripts/db.sh: line 11: pgvm: command not found
..... Se puderem me ajudar nessas duas dúvidas, agradeço. Estou utilizando o LINUX MINT X86 CINNAMON. Até mais,