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 4 Install error

Discussion in 'General Discussion' started by BlackDemon, Apr 8, 2005.

  1. BlackDemon

    BlackDemon Active Member

    Joined:
    Jun 5, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I just installed cpanel yesterday, today when I was setting everything up I seen exim was failing. I ran /scripts/exim4 to reinstall exim and I get these errors.

    Code:
    error: unpacking of archive failed on file /usr/lib/libperl.so;4256bf05: 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
    Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 231.
    Done
    exim: no process killed
    exim: no process killed
    Waiting for exim to restart..............finished.
    
    mailnull 14616  0.0  0.3  5868 4032 tty1     S    Apr07   0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats 
    root     26145  0.0  0.1  4140 1244 ?        S    13:27   0:00 antirelayd
    
    exim has failed, please contact the sysadmin.
    sh: line 8: /usr/sbin/exim_dbmbuild: No such file or directory
    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
    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
    
    I am not sure what is causing this problem, any suggestions?
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    You need to, manually, install Exim.
     
  3. BlackDemon

    BlackDemon Active Member

    Joined:
    Jun 5, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Why did cpanel not do so when I installed it, also why did the installer not work when I ran the exim4.pl in /scripts?
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    What os/version/machine is this on?
     
  5. BlackDemon

    BlackDemon Active Member

    Joined:
    Jun 5, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    RH Fedora Core 3
    WHM 9.9.9 cPanel 9.9.9-S15
    Fedora i686 - WHM X v3.1.0
     
  6. BlackDemon

    BlackDemon Active Member

    Joined:
    Jun 5, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I installed exim via yum and its not working in the process list but still shows as offline in the status list (in whm).
    I sent an email to one of the accounts I added and I get this error bounced back.

    <daniel@mysite.com>:
    204.9.187.213 does not like recipient.
    Remote host said: 550 relay not permitted
    Giving up on 204.9.187.213.


    Its not set to relay anything, not sure why its giving that error.
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well that definitely will not work. The version of exim that comes with Fedora is of no use to cPanel. you should remove it using rpm -e and then run:

    /scripts/exim4

    If you still get the perl error, you need to troubleshoot that rather than exim itself I would think.

    Bear in mind that FC3 is unsupported at this stage by cPanel, so you're unlikely to get official support. One major thing to check is that you have completely disabled SELinux on the server.
     
  8. BlackDemon

    BlackDemon Active Member

    Joined:
    Jun 5, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I think the problem is

    chown: cannot access `/etc/exim.crt': No such file or directory
    chown: cannot access `/etc/exim.key': No such file or directory

    But I dont know what to put in there, I looked at my friends and it looks like this.

    root@tx1 [~]# cat /etc/exim.crt
    -----BEGIN CERTIFICATE-----
    bunch of encryption crap I'm not gonna show you :-D
    -----END CERTIFICATE-----

    I also looked at /etc/exim.key and its
    -----BEGIN RSA PRIVATE KEY-----
    same as above
    -----END RSA PRIVATE KEY-----

    so I'm thinking this is just the ssl cert that whm/cpanel uses......
    any comments?
     
    #8 BlackDemon, Apr 11, 2005
    Last edited: Apr 11, 2005
  9. ZuRiCh

    ZuRiCh Member

    Joined:
    Sep 14, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem, the only solution is installing FC2 again?
     
  10. BlackDemon

    BlackDemon Active Member

    Joined:
    Jun 5, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Thats what I'm doing, I'm about to leave and go to the DC to reformat the server with FC2. Sucks, but needs to be done.
     
  11. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    If you're really going to reformat the hard drive, then skip Fedora and go for CentOS 3.4.
     
  12. realp

    realp Registered

    Joined:
    Apr 14, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cpanel's exim rpm package has wrong md5 sum for libperl.so file

    you can workaround the problem by modifying /scripts/exim4 file

    change the line:

    system("rpm","-Uvh","--nodeps","--force","${file}");

    like this:

    system("rpm","-Uvh","--nodeps","--force","--nomd5","${file}");



    cheers,
    rp
     
  13. Pirotess

    Pirotess Member

    Joined:
    Apr 5, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Good suggestion but no dice for me. Would installing the libperl.so ahead of time from a different package bypass this problem?
     
Loading...

Share This Page