Ir para conteúdo
  • Cadastre-se

[Tutorial] Erro Ao Atualizar Apache


Jefferson

Posts Recomendados

Para quem está com o erro abaixo na hora de atualizar o apache...!

If the browser window is closed or stopped the build will continue in the background.

The build output should start shortly...

Distilled successfully

!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1328282676' !!

!!

Ouput from '/bin/sh -c "ulimit -a"':

core file size (blocks, -c) 0

data seg size (kbytes, -d) unlimited

scheduling priority (-e) 0

file size (blocks, -f) unlimited

pending signals (-i) 73728

max locked memory (kbytes, -l) 32

max memory size (kbytes, -m) 524288

open files (-n) 1024

pipe size (512 bytes, -p) 8

POSIX message queues (bytes, -q) 819200

real-time priority (-r) 0

stack size (kbytes, -s) 10240

cpu time (seconds, -t) unlimited

max user processes (-u) 73728

virtual memory (kbytes, -v) 524288

file locks (-x) unlimited

!!

!! Creating backup of working apache in '/usr/local/apache.backup'. !!

!! Symlink encountered (/usr/local/apache/etc), preserving target (conf)... !!

!! Backup of working apache complete. !!

Checking that all tarballs are present and up to date.

Checking that all packages are present and up to date.

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: centos.mirrorcatalogs.com

* extras: mirrors.tummy.com

* updates: centos.mirror.lstn.net

Excluding Packages in global exclude list

Finished

Setting up Install Process

Package gettext-0.17-1.el5.i386 already installed and latest version

No package automake19 available.

Package 2:libpng-devel-1.2.10-7.1.el5_7.5.i386 already installed and latest version

Package readline-devel-5.1-3.el5.i386 already installed and latest version

No package libpng-dev available.

Package zlib-devel-1.2.3-4.el5.i386 already installed and latest version

No package autoconf261 available.

Package libidn-devel-0.6.5-1.1.i386 already installed and latest version

No package gmake available.

Package libidn-0.6.5-1.1.i386 already installed and latest version

Package libXpm-3.5.5-3.i386 already installed and latest version

Package openssl-devel-0.9.8e-20.el5_7.1.i386 already installed and latest version

Package automake-1.9.6-2.3.el5.noarch already installed and latest version

Package coreutils-5.97-34.el5.i386 already installed and latest version

Package patch-2.5.4-31.el5.i386 already installed and latest version

No package libstdc++-dev available.

No package libltdl3-devel available.

No package libltdl available.

No package libopenssl0.9.7-static-devel available.

No package readline-dev available.

Package libtool-ltdl-devel-1.5.22-7.el5_4.i386 already installed and latest version

Package libXpm-devel-3.5.5-3.i386 already installed and latest version

Package sed-4.1.5-8.el5.i386 already installed and latest version

No package libXpm-dev available.

Package lsof-4.78-3.i386 already installed and latest version

No package krb5-dev available.

Package flex-2.5.4a-41.fc6.i386 already installed and latest version

No package glibc-dev available.

No package expat-dev available.

Package krb5-devel-1.6.1-63.el5_7.i386 already installed and latest version

No package xorg-x11-devel available.

Package libtool-ltdl-1.5.22-7.el5_4.i386 already installed and latest version

No package libssl-dev available.

Package pam-devel-0.99.6.2-6.el5_5.2.i386 already installed and latest version

No package libopenssl0-devel available.

No package zlib1-devel available.

Package expat-devel-1.95.8-8.3.el5_5.3.i386 already installed and latest version

No package libopenssl0-dev available.

Package glibc-devel-2.5-65.el5_7.1.i386 already installed and latest version

Package expat-1.95.8-8.3.el5_5.3.i386 already installed and latest version

Package gcc-c++-4.1.2-51.el5.i386 already installed and latest version

Package libstdc++-4.1.2-51.el5.i386 already installed and latest version

Package zlib-1.2.3-4.el5.i386 already installed and latest version

Package bison-2.3-2.1.i386 already installed and latest version

Package libstdc++-devel-4.1.2-51.el5.i386 already installed and latest version

Package libjpeg-devel-6b-37.i386 already installed and latest version

No package libtool-libltdl-devel available.

Package libtool-1.5.22-7.el5_4.i386 already installed and latest version

No package openssl-dev available.

No package libopenssl0 available.

No package libz-devel available.

No package libjpeg-dev available.

No package pam-dev available.

Package coreutils-5.97-34.el5.i386 already installed and latest version

No package libltdl-devel available.

No package libopenssl0.9.7-devel available.

Package e2fsprogs-devel-1.39-33.el5.i386 already installed and latest version

No package ca_root_nss available.

Package 1:make-3.81-3.el5.i386 already installed and latest version

Package libX11-devel-1.0.3-11.el5_7.1.i386 already installed and latest version

No package libstdc++-devel.x86_64 available.

Package gd-2.0.33-9.4.el5_4.2.i386 already installed and latest version

Package cpp-4.1.2-51.el5.i386 already installed and latest version

No package xorg-x11-dev available.

Package gcc-4.1.2-51.el5.i386 already installed and latest version

No package ssl-dev available.

Package autoconf-2.59-12.noarch already installed and latest version

No package lex available.

Resolving Dependencies

--> Running transaction check

---> Package openssl.i686 0:0.9.8e-20.el5_7.1 set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

================================================================================

Installing:

openssl i686 0.9.8e-20.el5_7.1 updates 1.4 M

Transaction Summary

================================================================================

Install 1 Package(s)

Upgrade 0 Package(s)

Total size: 1.4 M

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Check Error:

package openssl-0.9.8e-20.el5_7.1.i686 is already installed

file /lib/.libcrypto.so.0.9.8e.hmac from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /lib/.libssl.so.0.9.8e.hmac from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /lib/libcrypto.so.0.9.8e from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /lib/libssl.so.0.9.8e from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/bin/openssl from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/lib4758cca.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libaep.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libatalla.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libchil.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libcswift.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libnuron.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libsureware.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/lib/openssl/engines/libubsec.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

Error Summary

-------------

!! ensure() rc was '0', exit status was '256', perl '$?' was '0', exit sig '0', core dump: '0', shell '$?' was '1' !!

!! Simulating failed Cpanel::SysPkgs as per 'simulate-failed-syspkgs' flag !!

!! Could not ensure pkglist 'gettext, automake19, libpng-devel, readline-devel, openssl, libpng-dev, zlib-devel, autoconf261, libidn-devel, gmake, libidn, libXpm, openssl-devel, automake, coreutils, patch, libstdc++-dev, libltdl3-devel, libltdl, libopenssl0.9.7-static-devel, readline-dev, libtool-ltdl-devel, libXpm-devel, sed, libXpm-dev, lsof, krb5-dev, flex, glibc-dev, expat-dev, krb5-devel, xorg-x11-devel, libtool-ltdl, libssl-dev, pam-devel, libopenssl0-devel, zlib1-devel, expat-devel, libopenssl0-dev, glibc-devel, expat, gcc-c++, libstdc++, zlib, bison, libstdc++-devel, libjpeg-devel, libtool-libltdl-devel, libtool, openssl-dev, libopenssl0, libz-devel, libjpeg-dev, pam-dev, fileutils, libltdl-devel, libopenssl0.9.7-devel, e2fsprogs-devel, ca_root_nss, make, libX11-devel, libstdc++-devel.x86_64, gd, cpp, xorg-x11-dev, gcc, ssl-dev, autoconf, lex' !!

!! The server's system package manager, 'YUM', failed. !!

!!

This is the command that failed: yum --exclude=kernel* -y install gettext automake19 libpng-devel readline-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libstdc++-dev libltdl3-devel libltdl libopenssl0.9.7-static-devel readline-dev libtool-ltdl-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel xorg-x11-devel libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c++ libstdc++ zlib bison libstdc++-devel libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev autoconf lex !!

!!

Since EasyApache was unable to resolve it automatically you should: 1) Manually run the failed YUM command (shown above) via SSH 2) See if your particular error is addressed at http://www.cpanel.ne..._ensurepkgs.htm 3) Resolve the YUM problem manually 4) Re-run EasyApache !!

!! Please visit http://www.cpanel.ne..._ensurepkgs.htm for help with this error. !!

!! Restoring original working apache !!

!! Executing '/scripts/initsslhttpd' !!

!! Restarting 'httpd' ... !!

!! 'httpd' restart complete. !!

Building global cache for cpanel...Done

!! Executing '/scripts/initfpsuexec' !!

!! Executing '/scripts/initsslhttpd' !!

!! Executing '/scripts/update_apachectl' !!

!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1328282676' !!

Steps to reproduce:

Rode os 2 comandos via SSH:

rpm -e --justdb --allmatches --nodeps openssl

yum --exclude=kernel* -y install gettext automake19 libpng-devel readline-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libstdc++-dev libltdl3-devel libltdl libopenssl0.9.7-static-devel readline-dev libtool-ltdl-devel libXpm-devel sed libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel xorg-x11-devel libtool-ltdl libssl-dev pam-devel libopenssl0-devel zlib1-devel expat-devel libopenssl0-dev glibc-devel expat gcc-c++ libstdc++ zlib bison libstdc++-devel libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel ca_root_nss make libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev autoconf lex
 Hospedagem de Sites, Revenda de Hospedagem, Servidores Virtuais, Registro de Domínios
Link para o comentário
Compartilhar em outros sites

Jefferson,

Esta dica é valiosa, esta semana mesmo tive este problema e após horas procurando e tentando alguma solução, desisti e recorri ao suporte da cPanel, que em menos de 20 minutos realizaram a correção. e ainda me passaram como corrigir, que é realmente rodando os comandos que você informou.

Somente não sei o que aconteceu para ocorrer este erro, e pelo que notei existem muitas pessoas com este problema.

Link para o comentário
Compartilhar em outros sites

Tem pacotes que ele tenta instalar/atualizar que acaba dando conflitos, ai o próprio easyapache tenta incluir as linhas no yum mas creio que por falta de permição o mesmo não consegue.

Após inserir manualmente ai passa a correr bem.

Note que no próprio erro já informa o que deve ser incluido.

kernel* é algo que sempre deixo na linha do exclude do yum.

Isso fica responsável para não dar um update no kernel quando executar um yum update. Pode bagunçar todos os seus serviços que estão rodando caso atualiza o kernel numa maquina de produção, conflitos etc podem aparecer.

ObrigadoJefferson

A dica vai ser bem útil para muitos membros.

OBS: Sei que o tópico é de quase 1 semana atrás e pode não ter tido necessidade de comentar, mas quiz esclarecer a dúvida do amigo Guto e para futuros.

Link para o comentário
Compartilhar em outros sites

O erro ocorreu pois ele tentou instalar os pacotes para x64 ao invés de x86.. provavelmente algum erro de repositório ou programação da versão do cPanel.

file /usr/lib/openssl/engines/libaep.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...

Informação Importante

Concorda com os nossos termos?