Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default system status reports exim (packageeximisnotinstalled)

    I am getting reports from this server that people cant check or send mail so I check WHM and the first thing I see in system status is this

    exim (packageeximisnotinstalled)

    Right beside it is the report that exim is up and running.

    I tried running /scripts/exim4 but all I got was errors.

    If I make a change in the exim config in WHM when I click save i see the following implying the correct version of exim is installed

    Exim version 4.43 #1 built 07-Oct-2004 20:02:21
    That is followed by a bunch of info and at the bottom it says exim has failed to restart.

    Im in the midst of a /upcp --force but I dont think that will fix anything. In searching I will try a /scripts/exim4 --latest and see what that does as well as look thru the messages log for more info on why exim is failing to restart.

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    when I run /scripts/exim4 I get the following output.

    ./exim4
    Exim Setup Script Version 16.0
    This is the exim 4.43 installer release number 40 for platform redhat AS-3
    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    Traceback (most recent call last):
    File "/usr/sbin/up2date", line 1174, in ?
    sys.exit(main() or 0)
    File "/usr/sbin/up2date", line 656, in main
    ret = sanityChecks(fromDaemon, hasGui)
    File "/usr/sbin/up2date", line 288, in sanityChecks
    if cfg["useGPG"] and gpgUtils.checkGPGInstallation() == 2:
    File "gpgUtils.py", line 31, in checkGPGInstallation
    File "gpgUtils.py", line 75, in findKey
    File "rpmUtils.py", line 102, in installedHeadersNameVersion
    TypeError: rpmdb open failed
    Resetting Exim to cPanel Defaults and Installing the Latest Version
    `/etc/localdomains' -> `/etc/localdomains.eximreset'
    `/etc/aliases' -> `/etc/aliases.eximreset'
    `/etc/secondarymx' -> `/etc/secondarymx.eximreset'
    --14:22:43-- http://diff.cpanel.net/exim/4.43-40/...5pass.i386.rpm
    => `exim-4.43-40_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm'
    Resolving diff.cpanel.net... done.
    Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,491,657 [application/x-rpm]

    100%[====================================>] 1,491,657 1.20M/s ETA 00:00

    14:22:45 (1.20 MB/s) - `exim-4.43-40_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm' saved [1491657/1491657]

    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: Program version 4.2 doesn't match environment version
    error: db4 error(22) from dbenv->open: Invalid argument
    error: cannot open Packages database in /var/lib/rpm
    `/etc/localdomains.eximreset' -> `/etc/localdomains'
    `/etc/aliases.eximreset' -> `/etc/aliases'
    `/etc/secondarymx.eximreset' -> `/etc/secondarymx'
    Building exim.conf...Exim version 4.43 #1 built 07-Oct-2004 20:02:21
    Copyright (c) University of Cambridge 2004
    Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (August 21, 2003)
    Support for: iconv() PAM Perl OpenSSL
    Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile autoreply pipe smtp
    Contains exiscan-acl patch revision 28 (c) Tom Kistner [http://duncanthrax.net/exiscan/]
    Configuration file is /etc/exim.conf.buildtest
    `/etc/exim.conf.buildtest' -> `/etc/exim.conf'
    Done
    exim: no process killed
    Waiting for exim to restart..............finished.

    mailnull 15714 0.0 0.1 5608 4056 pts/1 S 14:15 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    mailnull 27163 0.1 0.0 6628 1916 ? S 14:22 0:00 /usr/sbin/exim -bd -q60m
    mailnull 27168 0.0 0.0 6576 1880 ? S 14:22 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    root 27199 0.1 0.0 2980 1476 ? S 14:22 0:00 antirelayd

    exim started ok
    0 entries written
    0 entries written
    0 entries written
    0 entries written
    Install Complete
    The errors concern me somewhat. Im not sure why they are appearing or what to do to correct them.

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    This is odd. When I restart exim via ssh I see the following.

    /etc/rc.d/init.d/exim restart
    Shutting down clamd: [ OK ]
    Shutting down exim: [ OK ]
    Shutting down antirelayd: [ OK ]
    Shutting down spamd: [ OK ]
    Starting clamd: [ OK ]
    Starting exim: [ OK ]
    Starting exim-smtps: [ OK ]
    Starting antirelayd: [ OK ]
    Starting spamd: Could not create INET socket on 127.0.0.1:783: Address already in use (IO::Socket::INET: Address already in use)
    [FAILED]

    yet if I do /scripts/restartsrv spamd I get

    /scripts/restartsrv spamd
    Waiting for spamd to restart..............finished.

    root 330 4.7 0.9 23392 19392 ? D 15:08 0:00 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5

    spamd started ok
    root@server3 [/scripts]# ps -ef | grep spamd
    root 330 1 0 15:08 ? 00:00:00 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5
    root 358 330 0 15:09 ? 00:00:00 spamd child
    root 359 330 0 15:09 ? 00:00:00 spamd child
    root 360 330 0 15:09 ? 00:00:00 spamd child
    root 361 330 0 15:09 ? 00:00:00 spamd child
    root 362 330 0 15:09 ? 00:00:00 spamd child


    When I send a test message to a valid e-mail address on that server the e-mail ends up going to the main cpanel inbox for that account vs going to the individual mailbox. I dont see a foward or catchall thats setup to do this so I dont know or understand why its doing what its doing.

  4. #4
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    Do this:

    up2date -i yum
    rm -fr /var/cpanel/useup2date
    touch /var/cpanel/useyum
    yum install db4 db4-devel
    /scripts/exim4 --force

    if this still doesn't resolve it, feel free to contact me via any messenger (see my profile).

  5. #5
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    I got the following error when trying the first line.

    Error Message:
    Please run rhn_register (or up2date --register on Red Hat Linux 8.0)
    as root on this client
    Error Class Code: 9
    Error Class Info: Invalid System Credentials.
    Explanation:
    An error has occurred while processing your request. If this problem
    persists please enter a bug report at bugzilla.redhat.com.
    If you choose to submit the bug report, please be sure to include
    details of what you were trying to do when this error occurred and
    details on how to reproduce this problem.
    I have since opened a ticket with our datacenter as to why this system is not registered with the redhat network. Its running RHE3.

Similar Threads & Tags
Similar threads

  1. Service Status reports exim failed, but it's running..
    By fikse in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-24-2006, 11:54 PM
  2. exim (packageeximisnotinstalled)
    By netlook in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-12-2005, 05:56 AM
  3. exim (packageeximisnotinstalled)
    By iHost.net.nz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-04-2004, 06:21 AM
  4. Service Status: exim (packageeximisnotinstalled) up
    By romanh in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-28-2004, 01:39 PM
  5. exim (packageeximisnotinstalled)
    By kalitebil in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-11-2003, 11:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube