Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 28 of 28
  1. #16
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    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/t...5pass.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

  2. #17
    Member
    Join Date
    Aug 2005
    Posts
    9

    Default

    Quote Originally Posted by markhard
    can you run this:

    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)

    .....
    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!
    '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 ) Thanks again!
    Last edited by dev32; 08-17-2005 at 05:06 PM.

  3. #18
    Member
    Join Date
    Aug 2003
    Posts
    34

    Default

    IIRC, there is a setting in "Tweak Security" relating to Exim - try changing that setting and see if it makes a difference.

  4. #19
    Staff Member cpanelben's Avatar
    Join Date
    Feb 2004
    Location
    Houston, Texas USA
    Posts
    598
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Are you running Release? If so then switch to Current and let me know if that resolves your problems. You can also try the instructions in this thread: http://forums.cpanel.net/showthread.php?t=42282

  5. #20
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    to: dev32

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

    Quote Originally Posted by markhard
    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/t...5pass.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
    Last edited by markhard; 08-17-2005 at 08:33 PM.

  6. #21
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    i'm get this bounced email from exim every time i send email, the email itself is delivered (i've been test it), here is the bouced email:

    ========
    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    user@domain.com
    local delivery failed

    The following text was generated during the delivery attempt:

    ------ user@domain.com ------

    Time::HiRes object version 1.65 does not match $Time::HiRes::XS_VERSION 1.72.
    ========

    to fix this follow chirpy's guide on this thread: http://forums.cpanel.net/showthread....ate#post202925

  7. #22
    Member
    Join Date
    Aug 2005
    Posts
    9

    Default

    Thanks Markmard :

    here's what I did:

    #wget http://diff.cpanel.net/exim/4.52-7/t...5pass.i586.rpm

    #rpm -Uvh exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm
    error: failed dependencies:
    perl is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
    # swup --install perl
    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.
    Done verifying packages.
    Checking conflicts - done.
    Packages to install/upgrade:
    install: perl, version 5.8.5 release 8tr
    Downloading perl - done
    Segmentation fault (core dumped)

    tried one more time and same result.
    On cpanel : Install a RPM > Pearl (reinstall) > did Pearl (Force Install) > rebooted >

    then:
    # rpm -Uvh exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm
    error: failed dependencies:
    perl is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass

    what's going on? on cpanel under [install a RPM] it appears that Pearl is installed but no sign there of Exim ...

    In your case it was 'rsync' ...onmine is Pearl . Any more ideas? Thanks!

  8. #23
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    Quote Originally Posted by dev32
    Fetching resource info for site: Trustix Official http
    Fetching resource info: 'http://download.trustix.com/tsel/addons/2/rdfs'
    Verifying packages.
    Done verifying packages.
    Checking conflicts - done.
    Packages to install/upgrade:
    install: perl, version 5.8.5 release 8tr
    Downloading perl - done
    Segmentation fault (core dumped)
    you have problem with SWUP "Segmentation fault (core dumped)", may be you can try to download PERL RPM and upgrade it manually.

    does "rpm -qa perl" give you output? if not perl is not installed, may be there is another dependencies that needed to install perl.

    have you try to reinstall cpanel? /scripts/upcp --force after reseting RPM database?

  9. #24
    Member
    Join Date
    Aug 2005
    Posts
    9

    Default

    Quote Originally Posted by markhard
    have you try to reinstall cpanel? /scripts/upcp --force after reseting RPM database?
    I've tried that before, the problems started after updating cpanel, somehow the RPM got corrupted.
    So, since this is a new server so I've asked the data center to reinstall everything from scratch ..

    fingers crossed

    markhard, thanks for your support!

  10. #25
    Member
    Join Date
    Apr 2004
    Posts
    220

    Default

    Ok, dev32 good luck!

  11. #26
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

  12. #27
    Member
    Join Date
    Aug 2005
    Posts
    9

    Default

    Quote Originally Posted by cpanelben
    Are you running Release? If so then switch to Current and let me know if that resolves your problems. You can also try the instructions in this thread: http://forums.cpanel.net/showthread.php?t=42282
    I tried that CURRENT update as suggested and all went well apart from this line:
    .....
    Can't find distro version at /scripts/fileversion.pl line 19.
    Resetting pure-ftpd to cPanel Defaults and Installing the Latest Version
    --19:34:44-- http://diff.cpanel.net/ftpinstall/pu...4.tls.i586.rpm
    .....

    Still not able to send /receive emails .

    Anyway it might be too late now ..as I'm having everything installed again.
    I will never ever do a RELEASE update again. sorry

    <If ain't broke, don't fix it!>

  13. #28
    Member
    Join Date
    Jul 2003
    Posts
    106

    Default

    upgrade to current fixed it for me.

    weird, on another trustix box i didnt have any probs

    edit: oh damn that was to early, just tested again when cpanel update was finished, and now its broken again @$!(#, it just worked between te update (before it hits the 60%, after 60% i dont know where it went wrong).

    cant install it with rpm anyway:

    Code:
    root@giros [~]# rpm -Uvh exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm
    error: failed dependencies:
            /usr/sbin/useradd   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            perl   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            rsync   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            openssl   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            /bin/chown   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            /bin/cp   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            /etc/init.d is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            /bin/sh   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            /bin/sh   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            /usr/bin/perl   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            libcrypto.so.0.9.7   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            libpam.so.0   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
            libssl.so.0.9.7   is needed by exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass
    edit2:
    weird thing is if i do:
    root@giros [~]# rpm -qa exim
    exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass


    edit 3:
    ok restarted exim and sevice manager show now:
    exim (exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass) up
    this was exim() before

    but still cant send or receive email

    edit 4:
    ok finaly works, i did the following steps:
    - made a backup of rpm folder
    - mv Packages Packages-orig
    - rpm --initdb
    - updated to current (not needed i think)
    - used /scripts/exim4 (who re-installed all needed rpms)

    note that rpm database still lost a lot of crap, due to that u can encounter problems in the future.
    Last edited by The MAzTER; 08-19-2005 at 09:05 AM.

Similar Threads & Tags
Similar threads

  1. Exim Upgrade Problem
    By nzrubyrock in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 02-26-2007, 06:21 PM
  2. Exim ACL problem after upgrade to cPanel 10.5.0-C49
    By markhard in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-16-2005, 11:35 AM
  3. Problem with exim, exim cannot load modules located in /etc/exim.pl ?
    By Port80Hosting in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-14-2005, 09:53 AM
  4. Problem with exim after upgrade
    By magin in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-21-2005, 04:20 PM
  5. mail to postermaster account after exim upgrade - problem?
    By Jeff-C in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-15-2004, 07:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube