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.

Email completely down: "${perl{checkbx_autowhitelist}

Discussion in 'E-mail Discussions' started by BianchiDude, Jul 19, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    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. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    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.
     
  3. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    uninstall cpanel pro, that fixed it for me
     
  4. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    That isn't a good fix, need a way to run pro.
     
  5. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    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
     
  6. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    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.
     
  7. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Got a workaround:

    root@svr02 [~]# cd /lib
    root@svr02 [/lib]# ln -s /lib/libdb-4.1.so libdb-4.2.so
     
  8. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Well, Exim has started up. Doesn't look like mail delivery is really running at this point though.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Kris,

    Have you tried forcibly reapplying the db4 rpm through yum?
     
  10. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Tried, yum seems to like the version installed. :)
     
  11. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    What os are you running ?
     
  12. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    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.
     
  13. cPanelNick

    cPanelNick Administrator
    Staff Member

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

    [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. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Ok finally have mail flowing again. Had to do a force install of DB4:

    wget http://rpm.pbone.net/index.php3/stat/4/idpl/1985276/com/db4-4.2.52-7.1.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.
     
  15. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    We've all had a very difficult week already...
     
  16. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Well, /etc/localdomains keeps resetting to the incorrect permissions with upcp now. That makes life fun as it starts rejecting mails with the unrouteable domain errors. This is turning out to be a fun week.
     
  17. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    After updating to E142 I am getting this problem as well I am running RedHat 7.3. I have removed cpanelpro but I ma still getting this error.

    When I try to run /scripts/upcp I am getting this error:
    syntax error at /scripts/upcp line 46, near "system"
    Execution of /scripts/upcp aborted due to compilation errors.

    It seems lately that cpanel updates are really messed up.

    Can somebody give me some advices on how to resolve this matter.

    Thanks.

    Ronald
     
  18. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I've logged this:
    http://bugzilla.cpanel.net/show_bug.cgi?id=2842
     
  19. Secret Agent

    Secret Agent Guest

    root@server3 [~]# rpm --nodeps --ivhf db4-4.2.52-7.1.i386.rpm.html
    --ivhf: unknown option

    What now?
     
  20. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Only one dash in fron of ivhf
     
Loading...

Share This Page