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.

how can install exim at server with cpanel

Discussion in 'General Discussion' started by loverboy, May 1, 2005.

  1. loverboy

    loverboy Active Member

    Joined:
    May 1, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    after i installed cpanel it appear to me

    exim (packageeximisnotinstalled) failed

    when i try to setup it useing /scripts/exim4

    i found that error


    error: cannot open Packages index using db3 - Permission denied (13)
    error: cannot open Packages database in /var/lib/rpm
    `/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.../scripts/buildeximconf: fatal: /etc/exim.conf.dist is missing
    Done
    exim: no process killed
    exim: no process killed
    Waiting for exim to restart..............finished.

    mailnull 2697 0.0 0.3 5512 3988 ? S Apr30 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    root 31868 0.0 0.1 2744 1144 ? S 01:47 0:00 antirelayd

    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


    plez help me to install exim on my server
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Looks like you have a corrput RPM database, you are logged in as root I presume?

    If so, try the following:

    cd /var/lib/rpm/
    rm -vf __db*
    rpm --rebuilddb -v -v


    Then try installing exim again.

    If the rpm rebuild hangs, the quickest way to remedy that is to reboot the server and then follow the steps again (alternatively you need to use lsof to find processes that have the rpm database open and kill them).
     
  3. loverboy

    loverboy Active Member

    Joined:
    May 1, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    error

    iam fedora core 2

    i do that but the same error :(

    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.../scripts/buildeximconf: fatal: /etc/exim.conf.dist is missing
    Done
    exim: no process killed
    exim: no process killed
    Waiting for exim to restart..............finished.

    mailnull 23205 0.0 0.3 7304 3988 pts/0 S 16:20 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    root 25427 0.0 0.1 3576 1284 ? S 16:23 0:00 antirelayd

    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

    how can i solve it ?
     
  4. adm.marcello

    adm.marcello Registered

    Joined:
    May 10, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    try to use the script eximup, cuz the exim4 is deprecated. I had the same problem and I fixed with this script.
     
Loading...

Share This Page