Ir para o conteúdo

 Voltar a i-Educar Sup...
Tela cheia

Problemas na Instalação dependencias i-Educar

2 de Setembro de 2014, 20:14 , por Desconhecido - | 1 Pessoa seguindo este artigo.
Visualizado 130 vezes
Boa noite companheiros, venho através deste solicitar uma ajuda para instalação do procedimento:
  • 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

  • Db55bf80b4839a3c549f1789e0570089?only path=false&size=50&d=404Gabriel Matos de Souza(usuário não autenticado)
    3 de Setembro de 2014, 9:25

     

    Olá Elde,

     

    Teu problema sem dúvida está relacionado com o Pear, que não está conseguindo abrir os arquivos "tgz".

    Aquela série de comandos que te passei eram pra ter resolvido teu problema. Encontrei também uma  solução parecida neste link[1], sugiro que tente também.

    Se assim mesmo o problema não for resolvido, poste aqui mais informações, como versão e nome do teu sistema operacional. E também poste aqui qualquer pergunta que o terminal tenha feito ao executar os comandos[1] que te passei.

     [1]http://www.phpcomleite.com.br/110-tutorials/303-pear-could-not-extract-package-xml.html 

     

    Espero ter ajudado. 

      

    Atenciosamente,

    Gabriel Matos de Souza
    Portabilis Tecnologia 

    www.​port​abil​is.c​om.b​r&nb​sp;

    • E346dcbda20684abda8feead66fe6c83?only path=false&size=50&d=404ELDE SALGADO(usuário não autenticado)
      3 de Setembro de 2014, 19:09

       

      Boa tarde meu caro amigo, realizamos a reinstalação do Pear, deixamos na pasta downloads e instalamos manualmente, e conseguimos incluir todos os serviços da seguinte forma:

      Observação: Ainda não consigo realizar o acesso ao Ieducar (Abaixo do script dúvidas).

      servereduc-HOME-2400 downloads # gunzip *.tar
      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​.git​hub.​com/​luca​sdav​ila/​4711​321/​raw/​be0c​a20b​e5e0​92db​e05a​23cb​b5ff​6ba0​1c4b​9af9​/3_v​host​.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 iedu​car.​loca​l/ 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,

       
       

       

Mapeamento do i-Educar por todo o Brasil

23 de Abril de 2018, 16:31, por Tiago Giusti

A Portabilis, organização que é integrante da comunidade desde 2009 e que atua no papel de mantenedora do projeto, propôs uma renovação de energias, ao final de 2017, para levar o i-Educar ainda mais longe.



Situação atual do lançamento do maior software livre de gestão escolar do Brasil

10 de Abril de 2018, 11:29, por Tiago Giusti

O Coordenador da Comunidade i-Educar e CEO da Portabilis, Tiago Giusti, foi a Brasília, no fim do ano passado, representando a Comunidade i-Educar numa visita ao Ministério do Planejamento para discutir soluções para alguns assuntos de interesse da Comunidade, tais como:



Em 2018, queremos o i-Educar por todo o Brasil

28 de Dezembro de 2017, 23:08, por Tiago Giusti

Esta mensagem é diferente das de retrospectiva dos anos anteriores. Vamos abordar primeiro sobre o futuro, encerrando com um resumo de como foi 2017.



Prefeitura de Criciúma implanta o i-Educar na rede municipal de ensino

20 de Dezembro de 2017, 11:04, por Tiago Giusti

Buscando melhorar o sistema de informações da rede municipal de ensino de Criciúma, a Administração Municipal, através da Secretaria de Educação e da Diretoria de Tecnologia da Informação (TI), implantará um software de gestão de dados nas unidades educacionais. Denominado i-Educar, o sistema aperfeiçoará o armazenamento de dados e auxiliará gestores e professores de Criciúma.



Retrospectiva i-Educar 2016: o que conseguimos realizar?

31 de Dezembro de 2016, 12:00, por Tiago Giusti

Chegamos a mais um 31/12 e é hora de fazermos a retrospectiva da Comunidade i-Educar, como temos feito todos os finais de ano.