Email completely down: "${perl{checkbx_autowhitelist}

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
166
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?
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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.
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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.
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
kris1351 said:
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
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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.
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
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.
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
S

Secret Agent

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

What now?