The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim installer fail on Fedora Core2

Discussion in 'General Discussion' started by speckados, Aug 9, 2004.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    On a new server with fresh install of WHM/Cpanel, Exim install fail.

    After see, I run /scripts/exim4 and fail.

    I'm lost.

    Here it's code


    Cannot find a package matching db-devel >>>> Why db-devel if on system iit's installed db4 and db4-devel ?
    gdbm-devel is installed and is the latest version.
    Cannot find a package matching db1-devel >>> The same
    compat-db is installed and is the latest version.
    Cannot find a package matching ndbm-devel <<< I don't see this package on any repository
    No actions to take
    --08:34:36-- http://diff.cpanel.net/exim-cpanel7...write_mailman2_maskedmailtrap_exiscan.src.rpm
    => `exim.src.rpm'
    Resolving diff.cpanel.net... 69.72.164.155
    Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,871,441 [application/x-rpm]

    100%[=================================================================================================================>] 1,871,441 279.94K/s ETA 00:00

    08:34:43 (267.54 KB/s) - `exim.src.rpm' saved [1871441/1871441]

    Building RPM...............................Done
    Preparing... ########################################### [100%]
    1:exim warning: /etc/aliases created as /etc/aliases.rpmnew
    warning: /etc/exim.conf.dist saved as /etc/exim.conf.dist.rpmorig
    warning: /etc/exim.conf.mailman2.dist saved as /etc/exim.conf.mailman2.dist.rpmorig
    warning: /etc/exim.conf.mailman2.exiscan.dist saved as /etc/exim.conf.mailman2.exiscan.dist.rpmorig
    warning: /etc/eximrejects saved as /etc/eximrejects.rpmorig
    warning: /etc/localaliases created as /etc/localaliases.rpmnew
    warning: /etc/localdomains created as /etc/localdomains.rpmnew
    warning: /etc/secondarymx created as /etc/secondarymx.rpmnew
    warning: /etc/spammers saved as /etc/spammers.rpmorig
    ########################################### [100%]
    error: unpacking of archive failed on file /usr/lib/libperl.so;41171b1f: cpio: MD5 sum mismatch
    `/etc/localdomains.eximreset' -> `/etc/localdomains'
    `/etc/aliases.eximreset' -> `/etc/aliases'
    `/etc/secondarymx.eximreset' -> `/etc/secondarymx'
    chown: cannot access `/var/spool/exim': No such file or directory
    chown: cannot access `/etc/exim.crt': No such file or directory
    chown: cannot access `/etc/exim.key': No such file or directory
    chmod: cannot access `/var/log/exim_*': No such file or directory
    chown: cannot access `/var/log/exim_*': No such file or directory
    Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 212.
    Done
    exim: no process killed
    exim: no process killed
    Waiting for exim to restart..............finished.

    mailnull 2553 0.0 0.4 6396 4624 ? S Aug07 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    root 13782 0.0 0.1 5448 1560 ? S 08:35 0:00 antirelayd
    root 13791 5.7 2.0 25508 20908 ? S 08:35 0:00 /usr/bin/spamd -d

    exim has failed, please contact the sysadmin.
    sh: line 9: /usr/sbin/exim_dbmbuild: No such file or directory
    sh: line 10: /usr/sbin/exim_dbmbuild: No such file or directory
    sh: line 11: /usr/sbin/exim_dbmbuild: No such file or directory
    sh: line 12: /usr/sbin/exim_dbmbuild: No such file or directory
    chmod: cannot access `/var/spool/exim/db/*': No such file or directory
    chown: cannot access `/var/spool/exim': No such file or directory
    Install Complete


    ADMIN EDIT: ticket link removed as it contained sensitiveinfo.

    NOTE: You should probably change your root password.
     
    #1 speckados, Aug 9, 2004
    Last edited by a moderator: Aug 10, 2004
  2. Adz

    Adz Member
    PartnerNOC

    Joined:
    Jul 2, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    One of my co-lo customers is having the same problem. Any ideas cPanel?
     
  3. OllyM

    OllyM Registered

    Joined:
    Aug 9, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Yep, that co-lo customer is me ;)

    I get exactly the same thing... and can't use my server for customers until it's fixed. I doubt they'd like not having mail.

    Please get it fixed!
     
  4. syserror

    syserror Member

    Joined:
    Jun 1, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wiltshire, UK
    same error. except if you go into cpanel, and install the dbh and dbh-devel (under software=>install an rpm) that removes some of the errors at the end


    still working on the other errors :s
     
  5. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Today, with update scripts a new exim4 scripts that try to compiling exim-4.41-100_cpanel_stmpcontrol_antivirus_rewrite_mailman2_maskedmailtrap_exiscan.src.rpm (other version it's 90) but the porblem it's the same.

    TWO days without SMTP Server. :mad:
     
  6. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Step for step

    > If you have trouble with updates or building apache with Fedora, then likely
    >
    > these 4 steps will fix Fedora enough so it works. (Steps 2 and 3 can take a
    >
    > long time to finish)
    > 0) If you get missing .so errors, you need to locate them and symlink the
    >
    > existing ones to the ones wanted, much like FreeBSD
    >
    > ln -s exists.so.4 exists.so

    Well. System talk during compiling about "error:/unpacking of archive failed on file /usr/lib/libperl.so;41187927: cpio: MD5 sum mismatch"

    I put a symbolic link onto /usr/lib and on /usr/local/cpanel/perl


    >
    > 1) Fix /etc/yum.conf
    >
    > [base] name=Fedora Core $releasever - $basearch - Base
    > baseurl=<a href="http://mirror.linux.duke.edu/pub/fedora/linux/core//$releasever/$basearc"
    >
    > [updates-released] name=Fedora Core $releasever - $basearch - Released Updates
    > baseurl=<a
    > href="http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/$releasever/" target=newwin>http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/$relea

    Correct this on yum.conf and correct yous bad adrres for update repository (end with /$releasever/$basearch/ AND NOT WHIT /$releasever/

    > 2) Fix the libs GD and others use
    >
    > /scripts/ensurerpm xorg-x11-devel
    >
    That it's ok

    > 3) Fix all of the yum stuff
    >
    > yum update
    >

    Run and any update.


    After, run /scripts/exim4 and get same errors.

    Two days without SMTP server.
    > --
    > Daniel Muey
    > Technical Support
    > cPanel Inc
     
  7. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Here real solution:

    Weel after reply of tickets, I put to work.

    1.- Remopve all rpm of perl
    2.- Install Perl form rpm
    3.- Install modules from Cpan
    4.- Create directory manually/var/spool/exim/db ( install script not create this directory)
    5.- Run /scripts/exim4

    And ... voila RUN
     
  8. foxboy

    foxboy Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    how did you remove all perl rpms? with rpm and the remove module after module and then finally perl?
     
  9. syserror

    syserror Member

    Joined:
    Jun 1, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Wiltshire, UK
    i did yum remove perl

    after that i couldnt run any scripts for cpanel as most of them use perl in 1 way or another,
    then i *somehow* got perl back on (rpm i think) then i did /scripts/upcp --force to force a reinstall

    the service now starts but fails to send and recieve mail. we do however get mail in the mail queue now.

    Any help is welcome.
     
  10. Mani

    Mani Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
  11. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
  12. Mani

    Mani Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    it was gona be nice of you to put the new :)

    unless if it was gona take a bit of your time
     
  13. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    anyone found a solution or an alternative for this yet??? we have a server that desperately needs this sorted.
     
  14. Mani

    Mani Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    you mean force installing the RPM did not work for you ??
     
  15. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Nope fraid not...
     
  16. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Try

    /scripts/updatenow
    /scripts/exim4


    or if that doesn't work

    /scripts/updatenow
    /scripts/exim4 --latest
     
  17. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    We are running CentOS and when trting to install exim we keep getting these errors. The rpms are not available in whm to install.



    Downloading needed headers
    rpm is installed and is the latest version.
    rpm-build is installed and is the latest version.
    Cannot find a package matching db-devel
    gdbm-devel is installed and is the latest version.
    Cannot find a package matching db1-devel
    compat-db is installed and is the latest version.
    Cannot find a package matching ndbm-devel
    No actions to take
    Building RPM....Done
    Failed to download http://diff.cpanel.net/exim-cpanel7...v_rewrite_mm2_mmmtrap_exiscan_md5pass.src.rpm at /scripts/exim4 line 208.
     
  18. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    Which version of CentOS are you using?
     
  19. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    CentOS 3.3
     
Loading...

Share This Page