exim (package exim is not installed)

kiwiroll

Member
Jun 5, 2006
16
0
151
Japan
/var/log/exim_mainlog


2007-10-09 15:51:35 1If4hW-0007jF-MS failed to expand condition "${perl{democheck}}" for democheck router: Undefined subroutine &main::democheck called.

2007-10-09 15:51:35 1If4hW-0007jF-MS failed to expand condition "${perl{checkbx_autowhitelist}{$authenticated_id}}" for boxtrapper_autowhitelist router: Undefined subroutine &main::checkbx_autowhitelis
t called.

2007-10-09 15:51:35 1If4hW-0007jF-MS failed to expand condition "${perl{hasfilterfile}{$local_part}}" for mainacct_central_user_filter router: Undefined subroutine &main::hasfilterfile called.

2007-10-09 15:51:35 1If4hW-0007jF-MS == [email protected] <[email protected]> routing defer (-51): retry time not reached
2007-10-09 15:51:35 1If4hW-0007jF-MS == [email protected] <[email protected]> routing defer (-51): retry time not reached



------

WHM 11.2.0 cPanel 11.11.0-S16999
REDHAT Enterprise 4 i686 - WHM X v3.1.0

------

WHM > Service Status > exim (package exim is not installed)

------


The following were executed.

/scripts/courierup --force
/scripts/eximup --force
/scripts/buildeximconf
/scripts/restartsrv_exim

and

/etc/exim.pl → doesn't exist


It is not possible to solve it.

please help me!!
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
What is the output of:

/scripts/eximup --force --verbose

Also:

rpm -qa | grep -i exim
 

kiwiroll

Member
Jun 5, 2006
16
0
151
Japan
What is the result of the following commands?

/etc/init.d/exim restart
/etc/init.d/exim status

root@xxx [/etc]# /etc/init.d/exim restart
Shutting down exim: [ OK ]
Shutting down antirelayd: [ OK ]
Shutting down spamd: [ OK ]
Starting exim: [ OK ]
Starting exim-smtps: [ OK ]
Starting antirelayd: [ OK ]
Starting spamd: [ OK ]

root@xxx [/etc]# /etc/init.d/exim status
exim (pid 6809 6804) is running...


but

It is not possible to solve it.
please help me!!
 

kiwiroll

Member
Jun 5, 2006
16
0
151
Japan
What is the output of:

/scripts/eximup --force --verbose

Also:

rpm -qa | grep -i exim



root@xxx [/etc]# /scripts/eximup --force --verbose
Exim (maildir) Setup Script Version 20.0
Fetching version information from http://updates.cpanel.net/eximinstall/version (STABLE)....Fetching http://updates.cpanel.net/eximinstall/version (0).[email protected]%......Done
Done
This is the exim 4.68 installer release number 1 for platform redhat AS-4
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
An error has occurred:
exceptions.TypeError
See /var/log/up2date for more information
Resetting Exim to cPanel Defaults and Installing the Latest Version
Method: Perl Expect
Fetching CPAN timestamp...Done
Testing connection speed...(this could take a while)...Done
Ping:22.522 Testing connection speed to ftp.nara.wide.ad.jp using pureperl...(156700.00 bytes/s)...Done
Ping:101.500 Testing connection speed to cpan-sj.viaverio.com using pureperl...(9524.24 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for ftp.nara.wide.ad.jp (/index.html)
Unknown config variable 'less'
commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
CPAN: File::HomeDir loaded ok (v0.66)
CPAN: Storable loaded ok (v2.16)
Going to read /home/.cpan/Metadata
Database was generated on Tue, 09 Oct 2007 15:36:47 GMT
HTML::Parser is up to date (3.56).
cPCPAN: Module (Mail::SpamAssassin) holdback (3.002003 held back to 3.2.3)
Mail::SpamAssassin is up to date (3.002003).
Net::DNS is up to date (0.61).
perlmod--Install done
Fetching http://diff.cpanel.net/exim/4.68-1/redhat/AS-4/exim-4.68-1_cpanel_maildir.i386.rpm (0)[email protected]%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...12%...13%...14%...15%...16%...17%...18%...19%...20%...21%...22%...23%...24%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...37%...38%...39%...40%...41%...42%...43%...44%...45%...46%...47%...48%...49%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...61%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%...74%...75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...86%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...99%...100%......Done
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages database in /var/lib/rpm
Installing latest version of antirelayd ... Done
Building exim.conf ... 2007-10-10 09:38:02 non-existent configuration file(s): /etc/exim.conf
Enabled system filter options: attachments|fail_spam_score_over_200|spam_rewrite
Enabled ACL options in block ACL_RBL_BLOCK:
Enabled ACL options in block ACL_NOTQUIT_BLOCK: ratelimit
Enabled ACL options in block ACL_CONNECT_BLOCK: ratelimit
Enabled ACL options in block ACL_SPAM_BLOCK: deny_spam_score_over_200
Detected spam handling in acls, disabling spamassassin in routers & transports!.
SpamAssassin method remains unchanged
Configured options list is:
Provided options list is: acl_smtp_notquit|acl_smtp_connect|spamd_address
Exim Insert Regex is: virtual_user|virtual_sa_user|address_pipe|localuser|virtual_aliases|virtual_userdelivery|lookuphost
Exim Replace Regex is: virtual_sa_user|sa_localuser|virtual_sa_userdelivery|local_sa_delivery|central_filter|central_user_filter|democheck|fail_remote_domains|literal|localuser_spam|lookuphost|remote_smtp|virtual_user_spam
Exim Match Insert Regex is: quota_directory|maildir_format
Adding maildir specific virtual_sa_user to exim config
Adding maildir specific address_pipe to exim config
Exim version 4.68 #1 built 02-Sep-2007 10:33:24
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 11, 2004)
Support for: crypteq iconv() PAM Perl OpenSSL Content_Scanning Old_Demime Experimental_DomainKeys
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply pipe smtp
Size of off_t: 8
Configuration file passes test! New configuration file was installed.
Exim Perl Load List is: boxtrapper|checkuserquota|spam_acl_support|fast_isdemo|checkspam2|checkpass_cphulkd|checkspam
/etc/exim.pl.local installed!
Done
/scripts/mailscannerupdate: This script should not be run manually. If you really wanted to do that, please add --force
exim: no process killed
Waiting for exim to restart..............finished.

mailnull 24340 0.0 0.3 6860 4096 ? S Oct09 0:00 eximstats
mailnull 6031 0.0 0.0 9228 876 ? Ss 09:38 0:00 /usr/sbin/exim -bd -q60m
mailnull 6036 0.0 0.0 8972 848 ? Ss 09:38 0:00 /usr/sbin/exim -tls-on-connect -bd -oX 465
root 6080 0.0 0.1 5508 1428 ? S 09:38 0:00 antirelayd

exim started ok
Install Complete





root@xxx [/etc]# rpm -qa | grep -i exim
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm


It becomes an error.
Why?
 

rgilkey

Registered
Sep 18, 2007
3
0
51
same here

I'm having the _exact_ same errors after an auto-update from CPanel. I've turned auto-updates off to prevent this from happening again, but what can be done to resolve this issue now?

I have _zero_ mail functionality for any of my domains, and the RPM database is down too.
 

rgilkey

Registered
Sep 18, 2007
3
0
51
short-term resolution!

Kiwiroll,

I found a resolution to this issue. Since the /etc/exim.pl file was lost in the upgrade (as well as many other things) I was able to restore the file from an off-site backup just before the upgrade. The file contents are too large to be displayed in this post, so you can download them from https://web.puryear-it.com/~rgilkey/exim.pl.

Then just run a "service exim restart" and your mail will flow again.

Ronnie
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
root@xxx [/etc]# /scripts/eximup --force --verbose
Exim (maildir) Setup Script Version 20.0
Fetching version information from http://updates.cpanel.net/eximinstall/version (STABLE)....Fetching http://updates.cpanel.net/eximinstall/version (0).[email protected]%......Done
Done
This is the exim 4.68 installer release number 1 for platform redhat AS-4
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
An error has occurred:



root@xxx [/etc]# rpm -qa | grep -i exim
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm


It becomes an error.
Why?
These errors must be fixed, your RPM database is corrupt. The information at the following link will help you resolve these errors. Once resolved, you should be able to re-install the exim RPM.

http://www.rpm.org/hintskinks/repairdb/
 

rgilkey

Registered
Sep 18, 2007
3
0
51
resolved for me

cpanelkenneth,

Thanks for the quick link on rebuilding the RPM database. We're running on CentOS so all we had to do was reboot the server (rc.sysinit cleared the RPM database locks).

After that I just did a /scripts/cpup --force and everything is back to normal. :D

Ronnie
 

kiwiroll

Member
Jun 5, 2006
16
0
151
Japan
Kiwiroll,

I found a resolution to this issue. Since the /etc/exim.pl file was lost in the upgrade (as well as many other things) I was able to restore the file from an off-site backup just before the upgrade. The file contents are too large to be displayed in this post, so you can download them from https://web.puryear-it.com/~rgilkey/exim.pl.

Then just run a "service exim restart" and your mail will flow again.

Ronnie

exim.pl file thank you!!!!

/etc/exim.pl  → It set it up.

E-mail moved.

but

It is not possible to solve it fundamentally ・・・:confused:
 

kiwiroll

Member
Jun 5, 2006
16
0
151
Japan
These errors must be fixed, your RPM database is corrupt. The information at the following link will help you resolve these errors. Once resolved, you should be able to re-install the exim RPM.

http://www.rpm.org/hintskinks/repairdb/


very!! very!! thank you


root@xxx [/etc]# rpm -qa | grep -i exim
exim-4.68-1_cpanel_maildir


WHM > Service Status > exim (exim-4.68-1_cpanel_maildir)

and

/scripts/eximup --force --verbose → OK

/etc/exim.pl → It exists.


The error was solved. :)
 

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,727
28
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
very!! very!! thank you


root@xxx [/etc]# rpm -qa | grep -i exim
exim-4.68-1_cpanel_maildir


WHM > Service Status > exim (exim-4.68-1_cpanel_maildir)

and

/scripts/eximup --force --verbose → OK

/etc/exim.pl → It exists.


The error was solved. :)
Thanks for clarifying! This was very helpful
 

bmarshallbri

Active Member
Jan 11, 2006
29
0
151
RE: How does this happen?

I just had similar issues. The above notes fixed it for me. I had stale locks on the RPM database and exim.pl had vanished on my system.

Did upcp cause this?

Thanks god I have a sister machine to this that had the exim.pl file, otherwise I'd of been hosed.

Taking snapshots now!!
 
Thread starter Similar threads Forum Replies Date
Z Backups 2
minosjl Backups 3
D Backups 10
A Backups 5
N Backups 0