Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    May 2005
    Posts
    31

    Default how can install exim at server with cpanel

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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).
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    May 2005
    Posts
    31

    Default 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. #4
    Registered User
    Join Date
    May 2005
    Posts
    3

    Default

    try to use the script eximup, cuz the exim4 is deprecated. I had the same problem and I fixed with this script.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 07-28-2010, 09:04 AM
  2. can't use cpanel install exim~
    By chris_ng in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-26-2007, 05:29 PM
  3. How to: install chained SSL to work WHM/Cpanel, exim, courier.
    By hekri in forum cPanel and WHM Discussions
    Replies: 33
    Last Post: 07-11-2007, 09:55 AM
  4. exim install on Cpanel 10.2.0-S83 with Trustix
    By zipcon in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-06-2005, 07:55 PM
  5. fedora 2 fresh install with cpanel. exim & imap RED.
    By aboyz in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 01-31-2005, 11:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube