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.

problem with exim upgrade

Discussion in 'General Discussion' started by markhard, Aug 16, 2005.

  1. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    problem with exim upgrade, can't send or receive email

    my server is using trustix 2.2 and i have problem with upgrading exim. after upgrade i can't sending and receiving email, here is the install log:

    # /scripts/eximup --force
    Exim Setup Script Version 20.0
    Fetching version information from http://updates.cpanel.net/eximinstall/version (CURRENT)....Done
    This is the exim 4.52 installer release number 7 for platform trustix 2.2
    Fetching upgrade info: 'http://download.trustix.com/tsel/addons/2/rdfs/latest.rdf'
    Fetching upgrade info for site: Trustix Official http
    Fetching upgrade info for site: Trustix Official ftp
    Fetching resource info for site: Trustix Official ftp
    Fetching resource info for site: Trustix Official http
    Fetching resource info: 'http://download.trustix.com/tsel/addons/2/rdfs'
    Verifying packages.
    Nothing found for 'libdb3.3-devel'

    Package 'openssl' is already newest version.
    Done verifying packages.
    Resolving zlib: /sbin/ldconfig (1 /7 )Can't find distro version at /scripts/fileversion.pl line 18.
    Resetting Exim to cPanel Defaults and Installing the Latest Version
    --09:54:34-- http://diff.cpanel.net/exim/4.52-7/..._rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm
    => `exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm'
    Resolving diff.cpanel.net... 69.72.164.151, 69.72.164.152, 69.90.250.34, ...
    Connecting to diff.cpanel.net[69.72.164.151]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 976,234 [application/x-rpm]

    100%[=================================================================================>] 976,234 795.36K/s

    09:54:35 (793.91 KB/s) - `exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm' saved [976234/976234]

    Preparing... Building exim.conf...Exim version 4.52 #1 built 28-Jul-2005 07:22:47
    Copyright (c) University of Cambridge 2005
    Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
    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'
    09:54:36 listing root's fcrontab
    09:54:36 installing file /tmp/fcr-VG0WBg for user root
    Modifications will be taken into account right now.
    Done
    exim: no process killed
    exim: no process killed
    Waiting for exim to restart..............finished.

    mailnull 15953 0.0 0.9 6508 4612 ? S Aug16 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
    mailnull 25414 0.0 0.3 6064 1832 ? S 09:54 0:00 /usr/sbin/exim -bd -q60m
    mailnull 25419 0.0 0.3 6040 1808 ? S 09:54 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
    root 25450 0.1 0.3 3492 1684 ? S 09:54 0:00 antirelayd

    exim started ok

    exim is running, but i can't login and sent or receiving email
     
    #1 markhard, Aug 16, 2005
    Last edited: Aug 17, 2005
  2. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    did you backup the old exim.conf file?

    You have customized exim.conf file? Apply those customization again.
     
  3. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    runnign exim -v -bt user@thisserver.com

    LOG: MAIN PANIC
    failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checksa_deliver}{$domain}{$local_part}{$received_protocol}}" for virtual_sa_user router: Undefined subroutine &main::checksa_deliver called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{check_deliver_spam}{$domain}{$local_part}}" for virtual_user_spam router: Undefined subroutine &main::check_deliver_spam called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{check_deliver}{$domain}{$local_part}}" for virtual_user router: Undefined subroutine &main::check_deliver called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkvalias}{$domain}{$local_part}}" for has_alias_but_no_mailbox_discarded_to_prevent_loop router: Undefined subroutine &main::checkvalias called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkusersa}{$local_part}{$received_protocol}}" for sa_localuser router: Undefined subroutine &main::checkusersa called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{hasfilterfile}{$local_part}}" for central_user_filter router: Undefined subroutine &main::hasfilterfile called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkvalias}{$domain}{$local_part}}" for has_alias_but_no_mailbox_discarded_to_prevent_loop router: Undefined subroutine &main::checkvalias called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkuserspambox}{$local_part}}" for localuser_spam router: Undefined subroutine &main::checkuserspambox called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkuserbx}{$local_part}}" for boxtrapper_localuser router: Undefined subroutine &main::checkuserbx called.


    how to fix it?
     
  4. dev32

    dev32 Member

    Joined:
    Aug 8, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Same problem here

    Same problem here , Exim not sending / receiving mail since cpanel update [CURRENT] my OS : trustix 2.2.... any ideas / solution? Complaints are already coming in...Plz help ! Thanks!
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Try /scripts/eximup --force
     
  6. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    already done that twice! see my first post!
     
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Open a support ticket and post the number, and email it to nick@cpanel.net. I will look at it personally. Thanks
     
  8. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    does libdb3.3-devel needed by/to install exim?

    also what this error means: Resolving zlib: /sbin/ldconfig (1 /7 )Can't find distro version at /scripts/fileversion.pl line 18
     
  9. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    libdb3.3-devel is only needed under some distros
     
  10. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    does trustix 2.2 need libdb3.3-devel?

    and what about: "Resolving zlib: /sbin/ldconfig (1 /7 )Can't find distro version at /scripts/fileversion.pl line 18" error?

    what is the function of /sbin/ldconfig and /scripts/fileversion.pl? what do they do?
     
  11. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    Please submit a ticket.
     
  12. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    hey.. this is wierd.. when i run:

    #rpm -qa exim

    it result nothing, means exim is not installed?

    but if i run 'ps ax':

    12655 ? S 0:00 /usr/sbin/exim -bd -q60m
    12659 ? S 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465

    exim is running, but why rpm -qa can't find exim?
     
  13. dev32

    dev32 Member

    Joined:
    Aug 8, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    My problem is exactly the same as markhard. As anybody found a solution yet?

    Have tried everything as suggested here and other threads but to no avail and the same errors mentioned on this page, like :

    doing: /scripts/eximup --force

    causes this:
    ".....Can't find distro version...." etc..

    Also all RPM are gone from cpanel... Exim is up and queeing mail

    Updated cpanel to [RELEASED] ..still nothing prolem remains.

    WHM 10.1.0 cPanel 10.2.0-R82

    Can someone help ? Thanks
     
  14. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    you have the same problem with me, i guess cpanel 10.5.0-CURRENT_49 update have some problem.

    about RPM gone, i think your RPM database is broken, check this http://www.rpm.org/hintskinks/repairdb/

    but i'm not succeded using that guide, i get some error message about 'Packages' file on /var/lib/rpm/

    so this is what i do: (use this as your very last resort, i'm not reponsible if it will damage your server, and it is :) )

    #mv Packages Packages-orig
    #rpm --rebuilddb

    hope that help
     
  15. dev32

    dev32 Member

    Joined:
    Aug 8, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    @markhard have you tried that? Did this work for you? Did it populate the RPM on cpanel?

    I've done a simple "rebuild RPM" on cpanel, says: "Completed!" but nothing has changed RPM is still empty ...!? :confused:

    It looks like this is associated with our problem but the facts are that we cannot send /receive emails ... on all accounts.

    I've run out of ideas I'm afraid ! :( Lets hope the good guys from cpanel team will post a solution for us Trustix 2.2 users.

    Please post here if found a way to fix this problem, thanks!
     
  16. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    can you run this:

    #rpm -qa exim or #rpm -qa db4

    if you can, it should be no problem with your RPM database, but if you get something like this:

    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)

    that means your RPM database is broken, use http://www.rpm.org/hintskinks/repairdb/ guide to fix, if the problem (rpm database) still exist, well.. i already done this:

    #mv Packages Packages-orig
    #rpm --initdb (sorry not --rebuilddb)

    and RPM database fixed, i can run rpm -i/-U/-qa again and rpm in WHM is showing packages.

    to fix email (exim) problem, try this step:
    1. check from WHM "Service Status" page, if you see exim() then the rpm doesn't know that exim is actually installed (because we reset the RPM database, when we fix RPM database).
    it should be showing something like: exim (exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass)

    2. ensure again if exim is installed by doing:

    #rpm -qa exim

    if there is no output, then download the exim rpm here (for trustix 2.2): http://diff.cpanel.net/exim/4.52-7/..._rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm

    3. and upgrade exim:

    #rpm -Uvh exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm

    4. if you get dependecies error, in my case 'rsync', use SWUP to install it:

    #swup --install rsync

    then re-try upgrading exim.

    5. check if exim already installed:

    #rpm -qa exim

    it should be showing: exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
     
  17. dev32

    dev32 Member

    Joined:
    Aug 8, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks markhard! :)

    Following your instructions I've managed to rebuild the RPM (now showing on cpanel).
    Then tried this as indicated on this thread: /scripts/eximup --force
    and a long list os software was downloaded ...

    Rebooted the machine and tried sending email ... nothing! :mad:
    'service status' still shows: exim () -> up

    Then updated cpanel [RELEASED] version ... no errors on update but the problems still remain! Still cant send / receive email !!

    On Delivery attempt for queued messages I get the following: ( sorry for long post)

    Message 1E5V9m-0003LO-BJ is no longer frozen
    delivering 1E5V9m-0003LO-BJ
    LOG: MAIN PANIC
    failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkusersa}{$local_part}{$received_protocol}}" for sa_localuser router: Undefined subroutine &main::checkusersa called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{hasfilterfile}{$local_part}}" for central_user_filter router: Undefined subroutine &main::hasfilterfile called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkvalias}{$domain}{$local_part}}" for has_alias_but_no_mailbox_discarded_to_prevent_loop router: Undefined subroutine &main::checkvalias called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelist called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkspam}}" for lookuphost router: Undefined subroutine &main::checkspam called.

    LOG: MAIN PANIC
    failed to expand condition "${perl{checkspam}}" for literal router: Undefined subroutine &main::checkspam called.

    LOG: MAIN
    ** *******@domain[hiden].com <root@******.domain[hiden].com> R=fail_remote_domains: unrouteable mail domain "domain[hiden].com"
    LOG: MAIN
    Frozen (delivery error message)
    Return to Mail Queue

    ---------------------------------------------
    on ssh:
    rpm -qa exim
    returns: nothing

    exim
    returns:
    Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
    not directly from a shell command line. Options and/or arguments control
    what it does when called. For a list of options, see the Exim documentation.


    If you managed to fix your machine could you please post here. ( in detail if possible :D ) Thanks again!
     
    #17 dev32, Aug 17, 2005
    Last edited: Aug 17, 2005
  18. beebware

    beebware Active Member

    Joined:
    Aug 2, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    IIRC, there is a setting in "Tweak Security" relating to Exim - try changing that setting and see if it makes a difference.
     
  19. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
  20. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    to: dev32

    follow step below to fix Exim, i can send and receive email now

     
    #20 markhard, Aug 17, 2005
    Last edited: Aug 17, 2005
Loading...

Share This Page