Exim installer fail on Fedora Core2

speckados

Well-Known Member
On a new server with fresh install of WHM/Cpanel, Exim install fail.

After see, I run /scripts/exim4 and fail.

I'm lost.

Here it's code


Cannot find a package matching db-devel >>>> Why db-devel if on system iit's installed db4 and db4-devel ?
gdbm-devel is installed and is the latest version.
Cannot find a package matching db1-devel >>> The same
compat-db is installed and is the latest version.
Cannot find a package matching ndbm-devel <<< I don't see this package on any repository
No actions to take
--08:34:36-- http://diff.cpanel.net/exim-cpanel7...write_mailman2_maskedmailtrap_exiscan.src.rpm
=> `exim.src.rpm'
Resolving diff.cpanel.net... 69.72.164.155
Connecting to diff.cpanel.net[69.72.164.155]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,871,441 [application/x-rpm]

100%[=================================================================================================================>] 1,871,441 279.94K/s ETA 00:00

08:34:43 (267.54 KB/s) - `exim.src.rpm' saved [1871441/1871441]

Building RPM...............................Done
Preparing... ########################################### [100%]
1:exim warning: /etc/aliases created as /etc/aliases.rpmnew
warning: /etc/exim.conf.dist saved as /etc/exim.conf.dist.rpmorig
warning: /etc/exim.conf.mailman2.dist saved as /etc/exim.conf.mailman2.dist.rpmorig
warning: /etc/exim.conf.mailman2.exiscan.dist saved as /etc/exim.conf.mailman2.exiscan.dist.rpmorig
warning: /etc/eximrejects saved as /etc/eximrejects.rpmorig
warning: /etc/localaliases created as /etc/localaliases.rpmnew
warning: /etc/localdomains created as /etc/localdomains.rpmnew
warning: /etc/secondarymx created as /etc/secondarymx.rpmnew
warning: /etc/spammers saved as /etc/spammers.rpmorig
########################################### [100%]
error: unpacking of archive failed on file /usr/lib/libperl.so;41171b1f: cpio: MD5 sum mismatch
`/etc/localdomains.eximreset' -> `/etc/localdomains'
`/etc/aliases.eximreset' -> `/etc/aliases'
`/etc/secondarymx.eximreset' -> `/etc/secondarymx'
chown: cannot access `/var/spool/exim': No such file or directory
chown: cannot access `/etc/exim.crt': No such file or directory
chown: cannot access `/etc/exim.key': No such file or directory
chmod: cannot access `/var/log/exim_*': No such file or directory
chown: cannot access `/var/log/exim_*': No such file or directory
Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 212.
Done
exim: no process killed
exim: no process killed
Waiting for exim to restart..............finished.

mailnull 2553 0.0 0.4 6396 4624 ? S Aug07 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
root 13782 0.0 0.1 5448 1560 ? S 08:35 0:00 antirelayd
root 13791 5.7 2.0 25508 20908 ? S 08:35 0:00 /usr/bin/spamd -d

exim has failed, please contact the sysadmin.
sh: line 9: /usr/sbin/exim_dbmbuild: No such file or directory
sh: line 10: /usr/sbin/exim_dbmbuild: No such file or directory
sh: line 11: /usr/sbin/exim_dbmbuild: No such file or directory
sh: line 12: /usr/sbin/exim_dbmbuild: No such file or directory
chmod: cannot access `/var/spool/exim/db/*': No such file or directory
chown: cannot access `/var/spool/exim': No such file or directory
Install Complete


ADMIN EDIT: ticket link removed as it contained sensitiveinfo.

NOTE: You should probably change your root password.
 
Last edited by a moderator:

Adz

Member
PartnerNOC
Jul 2, 2003
9
0
151
One of my co-lo customers is having the same problem. Any ideas cPanel?
 

OllyM

Registered
Aug 9, 2004
4
0
151
Adz said:
One of my co-lo customers is having the same problem. Any ideas cPanel?
Yep, that co-lo customer is me ;)

I get exactly the same thing... and can't use my server for customers until it's fixed. I doubt they'd like not having mail.

Please get it fixed!
 

syserror

Member
Jun 1, 2004
11
0
151
Wiltshire, UK
same error. except if you go into cpanel, and install the dbh and dbh-devel (under software=>install an rpm) that removes some of the errors at the end


still working on the other errors :s
 

speckados

Well-Known Member
Today, with update scripts a new exim4 scripts that try to compiling exim-4.41-100_cpanel_stmpcontrol_antivirus_rewrite_mailman2_maskedmailtrap_exiscan.src.rpm (other version it's 90) but the porblem it's the same.

TWO days without SMTP Server. :mad:
 

speckados

Well-Known Member
Step for step

> If you have trouble with updates or building apache with Fedora, then likely
>
> these 4 steps will fix Fedora enough so it works. (Steps 2 and 3 can take a
>
> long time to finish)
> 0) If you get missing .so errors, you need to locate them and symlink the
>
> existing ones to the ones wanted, much like FreeBSD
>
> ln -s exists.so.4 exists.so

Well. System talk during compiling about "error:/unpacking of archive failed on file /usr/lib/libperl.so;41187927: cpio: MD5 sum mismatch"

I put a symbolic link onto /usr/lib and on /usr/local/cpanel/perl


>
> 1) Fix /etc/yum.conf
>
> [base] name=Fedora Core $releasever - $basearch - Base
> baseurl=<a href="http://mirror.linux.duke.edu/pub/fedora/linux/core//$releasever/$basearc"
>
> [updates-released] name=Fedora Core $releasever - $basearch - Released Updates
> baseurl=<a
> href="http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/$releasever/" target=newwin>http://mirror.linux.duke.edu/pub/fedora/linux/core/updates/$relea

Correct this on yum.conf and correct yous bad adrres for update repository (end with /$releasever/$basearch/ AND NOT WHIT /$releasever/

> 2) Fix the libs GD and others use
>
> /scripts/ensurerpm xorg-x11-devel
>
That it's ok

> 3) Fix all of the yum stuff
>
> yum update
>

Run and any update.


After, run /scripts/exim4 and get same errors.

Two days without SMTP server.
> --
> Daniel Muey
> Technical Support
> cPanel Inc
 

speckados

Well-Known Member
Here real solution:

Weel after reply of tickets, I put to work.

1.- Remopve all rpm of perl
2.- Install Perl form rpm
3.- Install modules from Cpan
4.- Create directory manually/var/spool/exim/db ( install script not create this directory)
5.- Run /scripts/exim4

And ... voila RUN
 

foxboy

Well-Known Member
Sep 20, 2003
66
0
156
how did you remove all perl rpms? with rpm and the remove module after module and then finally perl?
 

syserror

Member
Jun 1, 2004
11
0
151
Wiltshire, UK
i did yum remove perl

after that i couldnt run any scripts for cpanel as most of them use perl in 1 way or another,
then i *somehow* got perl back on (rpm i think) then i did /scripts/upcp --force to force a reinstall

the service now starts but fails to send and recieve mail. we do however get mail in the mail queue now.

Any help is welcome.
 

Mani

Well-Known Member
Dec 22, 2003
115
0
166
it was gona be nice of you to put the new :)

unless if it was gona take a bit of your time
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
We are running CentOS and when trting to install exim we keep getting these errors. The rpms are not available in whm to install.



Downloading needed headers
rpm is installed and is the latest version.
rpm-build is installed and is the latest version.
Cannot find a package matching db-devel
gdbm-devel is installed and is the latest version.
Cannot find a package matching db1-devel
compat-db is installed and is the latest version.
Cannot find a package matching ndbm-devel
No actions to take
Building RPM....Done
Failed to download http://diff.cpanel.net/exim-cpanel7...v_rewrite_mm2_mmmtrap_exiscan_md5pass.src.rpm at /scripts/exim4 line 208.