Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 27
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default Email completely down: "${perl{checkbx_autowhitelist}

    What is causing this error?
    2005-07-19 09:36:36 failed to expand condition "${perl{checkbx_autowhitelist}{$a
    uthenticated_id}}" for boxtraper_autowhitelist router: Undefined subroutine &mai
    n::checkbx_autowhitelist called.

    # cat /var/log/exim_mainlog | grep autowhitelist | wc -l
    17447

    No one can receive or send email!

    How can I fix this?

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Yup started getting that error this morning also:

    2005-07-18 00:25:26 failed to expand condition "${perl{checkbx_deliver}{$domain}{$local_part}}" for virtual_boxtraper_user router: Undefined subroutine &main::checkbx_deliver called.


    Whenever trying to run /scripts/eximup --force or reinstalling CpanelPro I get:

    /usr/sbin/exim: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory
    Configuration file has an invalid syntax. Please try again.

    Anyone have any ideas? Have switched back and forth between current and edge versions to attempt to fix it. This is on a centos 4 system, all other servers seem to be working.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default

    uninstall cpanel pro, that fixed it for me

  4. #4
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    That isn't a good fix, need a way to run pro.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  5. #5
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Uninstalled Pro and am running upcp --force now:

    Jul 19 10:46:42 svr02 exim: /usr/sbin/exim: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  6. #6
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Have uninstalled pro, done everything in the CWD thread and still can't get Exim to load up on a CentOS box. Have tried Edge and now going back to Current again to see if that helps.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  7. #7
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Got a workaround:

    root@svr02 [~]# cd /lib
    root@svr02 [/lib]# ln -s /lib/libdb-4.1.so libdb-4.2.so
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  8. #8
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Well, Exim has started up. Doesn't look like mail delivery is really running at this point though.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  9. #9
    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

    Kris,

    Have you tried forcibly reapplying the db4 rpm through yum?
    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

  10. #10
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Tried, yum seems to like the version installed.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

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

    Default

    Quote Originally Posted by kris1351
    Tried, yum seems to like the version installed.
    What os are you running ?

  12. #12
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Using Centos4. I just did a forced RPM install to get the libdb-4.2.so back in /lib, not sure how it got deleted before. Doing a /scripts/eximup --force currently to see if this resolves the issue.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

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

    Default

    Quote Originally Posted by kris1351
    Using Centos4. I just did a forced RPM install to get the libdb-4.2.so back in /lib, not sure how it got deleted before. Doing a /scripts/eximup --force currently to see if this resolves the issue.

    [root@rpmbuild32 /]# ls -l /usr/lib/libdb-*
    -rw-r--r-- 1 root root 1131644 Feb 21 20:29 /usr/lib/libdb-4.2.a
    -rw-r--r-- 1 root root 798 Feb 21 20:29 /usr/lib/libdb-4.2.la
    lrwxrwxrwx 1 root root 22 Mar 21 16:55 /usr/lib/libdb-4.2.so -> ../../lib/libdb-4.2.so
    [root@rpmbuild32 /]# cat /etc/redhat-release
    CentOS release 4.0 (Final)
    [root@rpmbuild32 /]# rpm -qf /usr/lib/libdb-4.2.so
    db4-4.2.52-7.1


    should be there on 4

  14. #14
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Ok finally have mail flowing again. Had to do a force install of DB4:

    wget http://rpm.pbone.net/index.php3/stat....i386.rpm.html
    rpm --nodeps --ivhf db4-4.2.52-7.1.i386.rpm.html
    /scripts/updatenow
    /scripts/upcp --force
    /scripts/updatenow
    /scripts/eximup --force
    chown root:mail /etc/localdomains
    chomod 660 /etc/localdomains
    /scripts/restartsrv exim

    It took every step in that order to get mail flowing again on our server.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  15. #15
    GOT
    GOT is offline
    Get Proactive! GOT's Avatar
    Join Date
    Apr 2003
    Posts
    902

    Default

    We've all had a very difficult week already...
    Proactive Server Monitoring and Management
    http://got-management.com

Similar Threads & Tags
Similar threads

  1. "[checkperlmodules] perl version too old..." But perl -v shows 5.8.8
    By orty in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 11-14-2007, 09:42 AM
  2. Completely Disable Creation of "CustomLog" in vhost containers
    By web2corp in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-04-2006, 10:50 AM
  3. CPanel "default address" not accepting email for "main account"
    By nsdesign in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-08-2005, 05:48 AM
  4. "File Manager" completely broken
    By JamesAB in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-22-2003, 03:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube