URGENTE! Instalacion de elastix sobre red hat 5.3

Discussion in 'Elastix 2.x' started by jjpgrado, Nov 24, 2010.

  1. jjpgrado

    Joined:
    Oct 26, 2010
    Messages:
    2
    Likes Received:
    0
    hola, estoy desarrollando mi pasantia para obtener el titulo de ing de sistemas y debo desarrollar un call center con 10 extensiones, basicamente recepcion de llamadas.

    El problema es q la universidad tiene un servidor con sistema operativo preinstalado y sobre el servidor es q debemos montar el callcenter por ello debemos hacer la instalacion de los paquetes elastix y no hacer instalacion limpia desde los cds.

    la version del servidor es red hat enterprise 5.1, kernel
    descargue la iso ElastiXCorE-1.6-i386-22dec2009.iso y realice el siguiente proceso:

    [root@dhcppc3 mnt]# mount -o loop -t iso9660 ElastiXCorE-1.6-i386-22dec2009.iso /elastix
    [root@dhcppc3 mnt]# cd /elastix
    [root@dhcppc3 elastix]# ls
    CentOS dahdi-bri Elastix elastix-iptables epel install
    [root@dhcppc3 elastix]# ./install

    Your selinux policy need to be shutdown to the correct Elastix Operation.
    Do you want to shutdown selinux [Y/n] ? y
    ./install: line 38: setenforce: command not found

    Your iptables will be changed to the correct Elastix operation
    Do you want [shutdown, nothing] iptables [S/n] ? s

    Initiating process....
    Parando httpd: [ OK ]
    Iniciando httpd: httpd: apr_sockaddr_info_get() failed for dhcppc3
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [ OK ]

    Creating directory structure

    Verifying the kernel version installed
    Installing kernel-2.6.18-164.el5
    advertencia:/elastix/CentOS/kernel-2.6.18-164.el5.i686.rpm: CabeceraV3 DSA signature: NOKEY, key ID d05c057c
    Preparando... ########################################### [100%]
    1:kernel ########################################### [100%]
    Verifying the kernel-xen version installed
    el paquete kernel-xen-2.6.18-164.el5 no está instalado
    Installing kernel-xen-2.6.18-164.el5
    advertencia:/elastix/CentOS/kernel-xen-2.6.18-164.el5.i686.rpm: CabeceraV3 DSA signature: NOKEY, key ID d05c057c
    Preparando... ########################################### [100%]
    1:kernel-xen ########################################### [100%]

    Creating Elastix Core repository
    Deteniendo yum-updatesd: [ OK ]
    Loaded plugins: rhnplugin, security
    Cleaning up Everything

    Intalling Epel RPMs
    Loaded plugins: rhnplugin, security
    This system is not registered with RHN.
    RHN support will be disabled.
    epel-elastix | 1.1 kB 00:00
    primary.xml.gz | 8.5 kB 00:00
    epel-elastix 21/21
    elastix-core | 1.1 kB 00:00
    primary.xml.gz | 23 kB 00:00
    elastix-core 50/50
    Setting up Group Process
    comps.xml | 1.6 kB 00:00
    comps.xml | 3.4 kB 00:00
    Resolving Dependencies
    --> Running transaction check
    ---> Package perl-Convert-UUlib.i386 1:1.12-1.el5 set to be updated
    ---> Package perl-Sub-Override.noarch 0:0.08-2.el5 set to be updated
    ---> Package spandsp-apidoc.i386 0:0.0.6-0.1.pre12.el5 set to be updated
    ---> Package spandsp-devel.i386 0:0.0.6-0.1.pre12.el5 set to be updated
    ---> Package perl-Convert-BinHex.noarch 0:1.119-5.el5 set to be updated
    ---> Package perl-Convert-TNEF.noarch 0:0.17-7.el5 set to be updated
    ---> Package perl-BerkeleyDB.i386 0:0.32-1.el5 set to be updated
    ---> Package perl-Net-Server.noarch 0:0.96-2.el5 set to be updated
    ---> Package perl-Net-Telnet.noarch 0:3.03-7.el5 set to be updated
    ---> Package perl-MailTools.noarch 0:1.77-1.el5 set to be updated
    --> Processing Dependency: perl(Date::parse) for package: perl-MailTools
    --> Processing Dependency: perl(Date::Format) for package: perl-MailTools
    ---> Package spandsp.i386 0:0.0.6-0.1.pre12.el5 set to be updated
    ---> Package perl-IO-stringy.noarch 0:2.110-5.el5 set to be updated
    ---> Package perl-MIME-tools.noarch 0:5.420-3.el5 set to be updated
    ---> Package perl-HTML-TokeParser-Simple.noarch 0:3.15-1.el5 set to be updated
    ---> Package perl-Parse-RecDescent.noarch 0:1.96-1.el5 set to be updated
    ---> Package perl-IO-Multiplex.noarch 0:1.08-5.el5 set to be updated
    ---> Package gsm.i386 0:1.0.12-4.el5 set to be updated
    ---> Package perl-Unix-Syslog.i386 0:0.100-9.el5.1 set to be updated
    ---> Package epel-release.noarch 0:5-3 set to be updated
    ---> Package perl-Mail-IMAPClient.noarch 0:3.20-1.el5 set to be updated
    ---> Package perl-version.i386 1:0.7203-1.el5 set to be updated
    --> Finished Dependency Resolution
    perl-MailTools-1.77-1.el5.noarch from epel-elastix has depsolving problems
    --> Missing Dependency: perl(Date::Format) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    perl-MailTools-1.77-1.el5.noarch from epel-elastix has depsolving problems
    --> Missing Dependency: perl(Date::parse) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    Error: Missing Dependency: perl(Date::parse) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    Error: Missing Dependency: perl(Date::Format) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)

    Installing Elastix
    Loaded plugins: rhnplugin, security
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Group Process
    Package matching redhat-logos-4.9.8-8.noarch already installed. Checking for update.
    Resolving Dependencies
    --> Running transaction check
    ---> Package ptlib-devel.i386 0:2.4.2-2 set to be updated
    ---> Package php-sqlite3.i386 0:0.4-1.mf set to be updated
    ---> Package mISDN-modules.i686 0:1.1.9.1-1.2.6.18_164.el5 set to be updated
    ---> Package elastix-sugarcrm.noarch 0:4.5.0d-3 set to be updated
    ---> Package hylafax.i386 20091202:4.3.8-1rhel5 set to be updated
    --> Processing Dependency: sharutils for package: hylafax
    ---> Package asterisk-perl.noarch 0:0.10-2 set to be updated
    ---> Package mISDNuser-devel.i386 0:1.1.9.1-0 set to be updated
    ---> Package wanpipe-util.i686 0:3.5.7-2 set to be updated
    ---> Package elastix-asterisk-sounds.noarch 0:1.2.3-1 set to be updated
    ---> Package asterisk-devel.i386 2009020507:1.4.26.3-8 set to be updated
    --> Processing Dependency: spandsp-devel for package: asterisk-devel
    ---> Package dahdi-devel.i686 0:2.2.0.2-6 set to be updated
    ---> Package mISDN-devel.i686 0:1.1.9.1-0 set to be updated
    ---> Package asterisk.i386 2009020507:1.4.26.3-8 set to be updated
    --> Processing Dependency: libspandsp.so.2 for package: asterisk
    --> Processing Dependency: libgsm.so.1 for package: asterisk
    ---> Package kernel-module-dahdi.i686 0:2.2.0.2-6_2.6.18_164.el5 set to be updated
    ---> Package asterisk-addons.i386 1:1.4.9-0 set to be updated
    ---> Package RoundCubeMail.noarch 0:0.2-8 set to be updated
    ---> Package lcdproc.i386 1:0.5.2-6 set to be updated
    ---> Package kernel-module-rhino-xen.i686 2:0.99.2-0_2.6.18_164.el5 set to be updated
    ---> Package ptlib.i386 0:2.4.2-2 set to be updated
    ---> Package m4.i386 0:1.4.11-1 set to be updated
    ---> Package libopenr2-devel.i386 0:1.2.0-1 set to be updated
    ---> Package kernel-module-wanpipe.i686 0:3.5.7-1_2.6.18_164.el5 set to be updated
    ---> Package elastix-firstboot.noarch 0:1.6.0-1 set to be updated
    ---> Package libopenr2.i386 0:1.2.0-1 set to be updated
    ---> Package fxload.i386 0:2008_10_13-1 set to be updated
    ---> Package mISDN-modules-xen.i686 0:1.1.9.1-1.2.6.18_164.el5xen set to be updated
    ---> Package h323plus-devel.i386 0:1.20.5-0.99.cvs20090515.2 set to be updated
    ---> Package libpri.i386 0:1.4.10.2-0 set to be updated
    ---> Package speex.i386 0:1.2rc1-1 set to be updated
    ---> Package mISDN.i686 0:1.1.9.1-0 set to be updated
    ---> Package rhino.i686 2:0.99.2-0 set to be updated
    ---> Package asterisk-sounds-fr.i386 2009020507:1.4.26.3-8 set to be updated
    ---> Package elastix-a2billing.noarch 0:1.3.0-4 set to be updated
    ---> Package h323plus.i386 0:1.20.5-0.99.cvs20090515.2 set to be updated
    ---> Package speex-devel.i386 0:1.2rc1-1 set to be updated
    ---> Package asterisk-sounds-es.i386 2009020507:1.4.26.3-8 set to be updated
    ---> Package kernel-module-rhino.i686 2:0.99.2-0_2.6.18_164.el5 set to be updated
    ---> Package dahdi.i686 0:2.2.0.2-6 set to be updated
    ---> Package kernel-module-wanpipe-xen.i686 0:3.5.7-1_2.6.18_164.el5 set to be updated
    ---> Package openfire.i386 0:3.5.1-2 set to be updated
    ---> Package freePBX.noarch 0:2.5.2-2rc set to be updated
    ---> Package perl-Data-UUID.i386 0:1.149-0 set to be updated
    ---> Package libpri-devel.i386 0:1.4.10.2-0 set to be updated
    ---> Package elastix.noarch 0:1.6-13 set to be updated
    --> Processing Dependency: php-gd for package: elastix
    --> Processing Dependency: cyrus-imapd for package: elastix
    --> Processing Dependency: perl(Mail::IMAPClient) for package: elastix
    --> Processing Dependency: php-xml for package: elastix
    --> Processing Dependency: php-imap for package: elastix
    --> Processing Dependency: spamassassin for package: elastix
    --> Processing Dependency: postfix for package: elastix
    --> Processing Dependency: nmap for package: elastix
    --> Processing Dependency: perl(MIME::parser) for package: elastix
    --> Processing Dependency: vsftpd for package: elastix
    --> Processing Dependency: php-pear-DB for package: elastix
    ---> Package iaxmodem.i386 0:1.2.0-1.1 set to be updated
    ---> Package elastix-vtigercrm.noarch 0:5.0.3-6 set to be updated
    ---> Package mISDNuser.i386 0:1.1.9.1-0 set to be updated
    ---> Package autoconf.noarch 0:2.63-1 set to be updated
    ---> Package kernel-module-dahdi-xen.i686 0:2.2.0.2-6_2.6.18_164.el5 set to be updated
    --> Running transaction check
    ---> Package spandsp.i386 0:0.0.6-0.1.pre12.el5 set to be updated
    ---> Package hylafax.i386 20091202:4.3.8-1rhel5 set to be updated
    --> Processing Dependency: sharutils for package: hylafax
    ---> Package spandsp-devel.i386 0:0.0.6-0.1.pre12.el5 set to be updated
    ---> Package gsm.i386 0:1.0.12-4.el5 set to be updated
    ---> Package perl-MIME-tools.noarch 0:5.420-3.el5 set to be updated
    --> Processing Dependency: perl(IO::Lines) >= 1.108 for package: perl-MIME-tools
    --> Processing Dependency: perl(Mail::Header) >= 1.06 for package: perl-MIME-tools
    --> Processing Dependency: perl(Mail::Internet) >= 1.28 for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::ScalarArray) >= 1.114 for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::Scalar) >= 1.117 for package: perl-MIME-tools
    --> Processing Dependency: perl(Mail::Field) >= 1.05 for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::ScalarArray) for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::Scalar) for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::Wrap) for package: perl-MIME-tools
    --> Processing Dependency: perl(Convert::BinHex) for package: perl-MIME-tools
    --> Processing Dependency: perl(Mail::Send) for package: perl-MIME-tools
    --> Processing Dependency: perl(Mail::Field) for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::Lines) for package: perl-MIME-tools
    --> Processing Dependency: perl(IO::InnerFile) for package: perl-MIME-tools
    ---> Package perl-Mail-IMAPClient.noarch 0:3.20-1.el5 set to be updated
    --> Processing Dependency: perl(Parse::RecDescent) for package: perl-Mail-IMAPClient
    ---> Package elastix.noarch 0:1.6-13 set to be updated
    --> Processing Dependency: php-gd for package: elastix
    --> Processing Dependency: cyrus-imapd for package: elastix
    --> Processing Dependency: php-xml for package: elastix
    --> Processing Dependency: php-imap for package: elastix
    --> Processing Dependency: spamassassin for package: elastix
    --> Processing Dependency: postfix for package: elastix
    --> Processing Dependency: nmap for package: elastix
    --> Processing Dependency: vsftpd for package: elastix
    --> Processing Dependency: php-pear-DB for package: elastix
    --> Running transaction check
    ---> Package hylafax.i386 20091202:4.3.8-1rhel5 set to be updated
    --> Processing Dependency: sharutils for package: hylafax
    ---> Package perl-IO-stringy.noarch 0:2.110-5.el5 set to be updated
    ---> Package perl-Parse-RecDescent.noarch 0:1.96-1.el5 set to be updated
    --> Processing Dependency: perl(version) for package: perl-Parse-RecDescent
    ---> Package perl-MailTools.noarch 0:1.77-1.el5 set to be updated
    --> Processing Dependency: perl(Date::parse) for package: perl-MailTools
    --> Processing Dependency: perl(Date::Format) for package: perl-MailTools
    ---> Package perl-Convert-BinHex.noarch 0:1.119-5.el5 set to be updated
    ---> Package elastix.noarch 0:1.6-13 set to be updated
    --> Processing Dependency: php-gd for package: elastix
    --> Processing Dependency: cyrus-imapd for package: elastix
    --> Processing Dependency: php-xml for package: elastix
    --> Processing Dependency: php-imap for package: elastix
    --> Processing Dependency: spamassassin for package: elastix
    --> Processing Dependency: postfix for package: elastix
    --> Processing Dependency: nmap for package: elastix
    --> Processing Dependency: vsftpd for package: elastix
    --> Processing Dependency: php-pear-DB for package: elastix
    --> Running transaction check
    ---> Package hylafax.i386 20091202:4.3.8-1rhel5 set to be updated
    --> Processing Dependency: sharutils for package: hylafax
    ---> Package perl-version.i386 1:0.7203-1.el5 set to be updated
    ---> Package perl-MailTools.noarch 0:1.77-1.el5 set to be updated
    --> Processing Dependency: perl(Date::parse) for package: perl-MailTools
    --> Processing Dependency: perl(Date::Format) for package: perl-MailTools
    ---> Package elastix.noarch 0:1.6-13 set to be updated
    --> Processing Dependency: php-gd for package: elastix
    --> Processing Dependency: cyrus-imapd for package: elastix
    --> Processing Dependency: php-xml for package: elastix
    --> Processing Dependency: php-imap for package: elastix
    --> Processing Dependency: spamassassin for package: elastix
    --> Processing Dependency: postfix for package: elastix
    --> Processing Dependency: nmap for package: elastix
    --> Processing Dependency: vsftpd for package: elastix
    --> Processing Dependency: php-pear-DB for package: elastix
    --> Finished Dependency Resolution
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: spamassassin is needed by package elastix-1.6-13.noarch (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: php-pear-DB is needed by package elastix-1.6-13.noarch (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: vsftpd is needed by package elastix-1.6-13.noarch (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: cyrus-imapd is needed by package elastix-1.6-13.noarch (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: php-gd is needed by package elastix-1.6-13.noarch (elastix-core)
    perl-MailTools-1.77-1.el5.noarch from epel-elastix has depsolving problems
    --> Missing Dependency: perl(Date::parse) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    perl-MailTools-1.77-1.el5.noarch from epel-elastix has depsolving problems
    --> Missing Dependency: perl(Date::Format) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: php-xml is needed by package elastix-1.6-13.noarch (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: postfix is needed by package elastix-1.6-13.noarch (elastix-core)
    20091202:hylafax-4.3.8-1rhel5.i386 from elastix-core has depsolving problems
    --> Missing Dependency: sharutils is needed by package 20091202:hylafax-4.3.8-1rhel5.i386 (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: nmap is needed by package elastix-1.6-13.noarch (elastix-core)
    20091202:hylafax-4.3.8-1rhel5.i386 from elastix-core has depsolving problems
    --> Missing Dependency: sharutils is needed by package 20091202:hylafax-4.3.8-1rhel5.i386 (elastix-core)
    elastix-1.6-13.noarch from elastix-core has depsolving problems
    --> Missing Dependency: php-imap is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: sharutils is needed by package 20091202:hylafax-4.3.8-1rhel5.i386 (elastix-core)
    Error: Missing Dependency: nmap is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: vsftpd is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: cyrus-imapd is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: spamassassin is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: php-gd is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: php-imap is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: php-pear-DB is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: postfix is needed by package elastix-1.6-13.noarch (elastix-core)
    Error: Missing Dependency: perl(Date::parse) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    Error: Missing Dependency: perl(Date::Format) is needed by package perl-MailTools-1.77-1.el5.noarch (epel-elastix)
    Error: Missing Dependency: php-xml is needed by package elastix-1.6-13.noarch (elastix-core)

    Your PC will be restarted

    ./install: line 183: init: command not found
    [root@dhcppc3 elastix]#

    pero al reiniciar manualmente la maquina e ir al navegador con la direccion ip del equipo inicia en apache y no la consola de administracion elastix

    AGRADEZCO SU AYUDA
     
  2. kerbymart

    Joined:
    May 14, 2011
    Messages:
    3
    Likes Received:
    0
    Hi,

    I get the same problem too. Apache is the one that load up.

    Have you fixed this already?

    Thanks.
     
  3. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Según veo, tienes varios problemas de dependencias...
    Recuerda que ese script fue pensado para ser utilizado en un centos (donde ya vienen instalados los paquetes que te hacen falta).
    En particular lo que podrías hacer es instalar aquellos paquetes que te hacen falta (los que dicen: Missing Dependency), como por ejemplo:
    yum install nmap
    Para estar claros, una vez que hayas resuelto esos inconvenientes, y se realice la instalación de forma exitosa, tendrás un repo de centos...
     
  4. Elendil

    Joined:
    Jul 14, 2011
    Messages:
    17
    Likes Received:
    0
    Que tal


    Di con este post hace aproximadamente 2 semanas, el hecho de que hubiera tantos errores de dependencias me atemorizo un poco, pues quería instalar Elastix sobre Red Hat Enterprise 5.6.


    Me dedique a descargar e instalar los rpm necesarios para resolver todos los problemas que presentó el post original, sin embargo, al aplicar el Script descubrí que había muchas dependencias más, pero Red Hat las podía resolver.

    Hice otra prueba sin instalar ningún rpm adicional y solo aplicando el script y también funcionaba a la perfección, lo que noté es q necesitas forzosamente una conexión a Red Hat Network para que Red Hat se pueda actualizar y pueda resolver los problemas de dependencia.

    El único problema que tuve fue la versión del kernel, pues la de Red Hat 5.6 es mayor, pero lo solucione con el comando

    rpm –ivh - - force ./CentoOS/kernel-2.6.18-164.el5.i686.rpm

    Claro, se ejecuta estando dentro de la carpeta del iso montado. Se que es un poco tarde pero espero le sirva a alguien que quiera intentarlo.

    El otro problema es que como el Script es para CentOS, al terminar la instalación y reiniciar el sistema, se instalan repositorios para CentOS y esto deja inservible yum, se soluciona eliminando o deshabilitando los repositorios de CentOS.

    Saludos
     
  5. jjpgrado

    Joined:
    Oct 26, 2010
    Messages:
    2
    Likes Received:
    0
    Gracias Elendil, ya había probado con la actualización de kernel pero ps como lo has dicho es importante estar registrado para resolver las dependecias...

    Aunque ya no estoy haciendo nada de esto me causa mucha curiosidad q funcione, tratare de probarlo, aun así agradezco mucho su colaboración.
     

Share This Page