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 (packageeximisnotinstalled)

Discussion in 'General Discussion' started by netlook, Jun 25, 2005.

Thread Status:
Not open for further replies.
  1. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Hello

    Today I noticed that my /etc/exim.pl is 0 bytes. I tryed to reinstall exim with /scripts/upcp --force /scripts/exim4 --latest /scripts/exim4 but still /etc/exim.pl was 0 kb. Then I uploaded exim.pl form my another server, but in WHM Server Status now I have:

    exim (packageeximisnotinstalled) [green light]

    Exim is working on the server, users can send and recive mails, but it is very strange for me, anybody had similar situation?

    I use: WHM 10.1.0 cPanel 10.2.0-R82 CentOS 3.5 i686 - WHM X v3.1.0
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Run these commands at the prompt:
    /scripts/updatenow
    /scripts/eximup --force
     
  3. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    Exim Setup Script Version 17.0
    Fetching version information from [url]http://updates.cpanel.net/eximinstall/version[/url] (RELEASE)....Done
    This is the exim 4.51 installer release number 2 for platform centos 3.5
    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/bin/yum", line 30, in ?
        yummain.main(sys.argv[1:])
      File "/usr/share/yum/yummain.py", line 163, in main
        (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
      File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
        conf=yumconf(configfile=yumconffile)
      File "/usr/share/yum/config.py", line 155, in __init__
        self.yumvar['releasever'] = self._getsysver()
      File "/usr/share/yum/config.py", line 285, in _getsysver
        idx = ts.dbMatch('provides', self.distroverpkg)
    TypeError: rpmdb open failed
    Resetting Exim to cPanel Defaults and Installing the Latest Version
    Removing spamkey for iwonka...Done
    `/etc/localdomains' -> `/etc/localdomains.eximreset'
    `/etc/aliases' -> `/etc/aliases.eximreset'
    `/etc/secondarymx' -> `/etc/secondarymx.eximreset'
    --10:53:12--  [url]http://diff.cpanel.net/exim/4.51-2/centos/3.5/exim-4.51-2_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm[/url]
               => `exim-4.51-2_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.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: 937,784 [application/x-rpm]
    
    100%[==================================================================================>] 937,784      914.57K/s
    
    10:53:13 (911.74 KB/s) - `exim-4.51-2_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm' saved [937,784/937,784]
    
    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.51 #1 built 04-May-2005 13:50:50
    Copyright (c) University of Cambridge 2005
    Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (February 27, 2004)
    Support for: iconv() PAM Perl OpenSSL Content_Scanning Old_Demime
    Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile autoreply pipe smtp
    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 18201  0.0  0.1  6656 1900 ?        S    10:53   0:00 /usr/sbin/exim -bd -q60m
    mailnull 18203  0.0  0.3  6936 3092 ?        D    10:53   0:00 /usr/sbin/exim -q
    mailnull 18209  0.0  0.1  6628 1880 ?        S    10:53   0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    root     18213  0.0  0.0  1564  552 ?        S    10:53   0:00 initlog -q -c /usr/sbin/antirelayd
    root     18214  0.0  0.0  1564  552 ?        D    10:53   0:00 initlog -q -c /usr/sbin/antirelayd
    
    exim started ok
    0 entries written
    0 entries written
    0 entries written
    0 entries written
    Install Complete
    Still : exim (packageeximisnotinstalled) [green light]

    It zeroed my /etc/exim.pl (I had to copy it from another server).

    Any idea?

    Thanks
     
  4. netlook

    netlook Well-Known Member
    PartnerNOC

    Joined:
    Mar 25, 2004
    Messages:
    335
    Likes Received:
    0
    Trophy Points:
    16
    Fixed

    I deleted __* rpm db files and rebuilded rpm database, then /scripts/eximup --force

    Thanks
     
  5. dnspixel

    dnspixel Registered

    Joined:
    Mar 9, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    What is the command for delete __* rpm db files and rebuilded rpm database please ?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Do a search for rebuild rpm database and you will find plenty of relevant hits.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page