exim install probs on Fedora Core 3

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
my host just rebuilt my server using Fedora Core 3, everything working fine apart from Exim and therefore no email at all !!!

i run /scripts/exim4 but get lots of errors as follows:-

/scripts/exim4 --force
Exim Setup Script Version 16.0
This is the exim 4.43 installer release number 40 for platform fedora 3
Using newyum support
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 215 kB 00:00
MD Read : ################################################## 510/510
updates-re: ################################################## 510/510
Nothing to do
Resetting Exim to cPanel Defaults and Installing the Latest Version
`/etc/localdomains' -> `/etc/localdomains.eximreset'
`/etc/aliases' -> `/etc/aliases.eximreset'
`/etc/secondarymx' -> `/etc/secondarymx.eximreset'
--21:00:51-- http://diff.cpanel.net/exim/4.43-40..._rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm
=> `exim-4.43-40_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.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... 404 Not Found
21:00:51 ERROR 404: Not Found.

Failed to download http://diff.cpanel.net/exim/4.43-40..._rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm .. using source instead
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
http://ftp.uni-koeln.de/fedora/updates/3/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 403: Forbidden
Trying other mirror.
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################### 1848/2622

Exiting on user cancel
--21:01:45-- http://diff.cpanel.net/exim-cpanel7...v_rewrite_mm2_mmmtrap_exiscan_md5pass.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,955,948 [application/x-rpm]

100%[======================================================================================================================================>] 1,955,948 872.15K/s

21:01:47 (869.45 KB/s) - `exim.src.rpm' saved [1,955,948/1,955,948]

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;41ec280f: 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
Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 231.
Done
exim: no process killed
exim: no process killed
Waiting for exim to restart..............finished.

mailnull 3702 0.0 0.3 7420 1848 ? S 16:01 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
root 18485 0.0 0.3 3556 1544 ? S 21:03 0:00 antirelayd

exim has failed, please contact the sysadmin.
sh: line 8: /usr/sbin/exim_dbmbuild: No such file or directory
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
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


any pointers ????
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
update so fa
/scripts/updatenow
Sync Source: http://httpupdate.cpanel.net/EDGE/scripts
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/.cpanelsync.lock....Trying httpupdate.cpanel.net @ 69.72.164.152
100%......Done
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.152
35%...71%...100%......Done
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/sysup.bz2....87%...100%......Done
Got file ./sysup ok (md5 matches)
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/mysqlup.bz2....100%......Done
Got file ./mysqlup ok (md5 matches)
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/exim4.bz2....100%......Done
Got file ./exim4 ok (md5 matches)
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/fixinterchangeperm.bz2....100%......Done
Got file ./fixinterchangeperm ok (md5 matches)
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/bsdldconfig.bz2....100%......Done
Got file ./bsdldconfig ok (md5 matches)
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/restartsrv_mysql.bz2....100%......Done
Got file ./restartsrv_mysql ok (md5 matches)
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/ftpup.bz2....100%......Done
Got file ./ftpup ok (md5 matches)

then

/scripts/exim4
Exim Setup Script Version 17.0
Fetching version information from http://updates.cpanel.net/eximinstall/version (EDGE)....Done
This is the exim 4.44 installer release number 0 for platform fedora 3
Using newyum support
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 214 kB 00:06
MD Read : ################################################## 506/506
updates-re: ################################################## 506/506
Nothing to do
Resetting Exim to cPanel Defaults and Installing the Latest Version
`/etc/localdomains' -> `/etc/localdomains.eximreset'
`/etc/aliases' -> `/etc/aliases.eximreset'
`/etc/secondarymx' -> `/etc/secondarymx.eximreset'
--21:43:42-- http://diff.cpanel.net/exim/4.44-0/..._rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm
=> `exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.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: 967,439 [application/x-rpm]

100%[======================================================================================================================================>] 967,439 848.67K/s

21:43:43 (847.67 KB/s) - `exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm' saved [967,439/967,439]

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;41ec3190: 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
Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 231.
Done
exim: no process killed
exim: no process killed
Waiting for exim to restart..............finished.

mailnull 23689 0.0 0.3 6556 1904 ? S 21:30 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
root 26551 0.0 0.3 4368 1544 ? S 21:43 0:00 antirelayd

exim has failed, please contact the sysadmin.
sh: line 8: /usr/sbin/exim_dbmbuild: No such file or directory
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
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

which does seem to be making headway as it is now finding the source files i think :)

then did this:-
/scripts/updatenow
Sync Source: http://httpupdate.cpanel.net/EDGE/scripts
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/.cpanelsync.lock....Trying httpupdate.cpanel.net @ 69.72.164.152
100%......Done
Fetching http://httpupdate.cpanel.net/cpanelsync/EDGE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
35%...71%...100%......Done


followed by:-

/scripts/exim4 --latest
Exim Setup Script Version 17.0
Fetching version information from http://updates.cpanel.net/eximinstall/version (EDGE)....Done
This is the exim 4.44 installer release number 0 for platform fedora 3
Using newyum support
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
primary.xml.gz 100% |=========================| 215 kB 00:00
MD Read : ################################################## 510/510
updates-re: ################################################## 510/510
Nothing to do
Resetting Exim to cPanel Defaults and Installing the Latest Version
`/etc/localdomains' -> `/etc/localdomains.eximreset'
`/etc/aliases' -> `/etc/aliases.eximreset'
`/etc/secondarymx' -> `/etc/secondarymx.eximreset'
--21:49:08-- http://diff.cpanel.net/exim/4.44-0/..._rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm
=> `exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.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: 967,439 [application/x-rpm]

100%[======================================================================================================================================>] 967,439 794.82K/s

21:49:09 (792.70 KB/s) - `exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm' saved [967,439/967,439]

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;41ec32d9: 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
Building exim.conf...Exim Binary not found! at /scripts/buildeximconf line 231.
Done
exim: no process killed
exim: no process killed
Waiting for exim to restart..............finished.

mailnull 23689 0.0 0.3 6556 1904 ? S 21:30 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats
root 27068 0.0 0.3 5364 1540 ? S 21:49 0:00 antirelayd

exim has failed, please contact the sysadmin.
sh: line 8: /usr/sbin/exim_dbmbuild: No such file or directory
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
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


but it seems the big issue that is causing my problem is this line in the errors above:-

error: unpacking of archive failed on file /usr/lib/libperl.so;41ec32d9: cpio: MD5 sum mismatch
 

haze

Well-Known Member
Dec 21, 2001
1,548
3
318
Fedora Core 3 is not yet supported, and its not on the list of suported OS's: http://www.cpanel.net

Thanks mostly to the SELinux implementation, its a pretty big job and I doub't well be seeing support for it any time very soon. I'd switch to a supported OS and try again :)
 

fuzioneer

Well-Known Member
Dec 12, 2003
100
0
166
damn, damn, damn
Is there nothing that can be done to just get exim working, as the error i am getting is very similar to other peoples issues with exim and fedora core 2 ???

Its the error:/unpacking of archive failed on file /usr/lib/libperl.so;41187927: cpio: MD5 sum mismatch" issue

some people think its something to do with Perl and symbolic linking ????
 

haze

Well-Known Member
Dec 21, 2001
1,548
3
318
I'm sure if you battle it out you may get it working but think of it this way. Fedora is a constantly evolving OS. Its a development OS which creates the groundwork for redhats Enterprise OS. So the regular updates are bound to mess with something eventually even if you do get it running stable now. You'd be better off now and in the future asking for a currently supported OS. If RH Enterprise isn't an option, ask for CentOS 3.3 or 3.4. Its rebuilt from RHEL but without the price tag. Unless of course, you absolutely require fedora core. but keep in mind, that its very short life cycle means you will have to reload the box with a new core every 6 - 12 months. If you go enterprise, you'll get a good couple of years at least.
 

haze

Well-Known Member
Dec 21, 2001
1,548
3
318
Here's a suggestion;

rpm -qa | grep exim

Next, I believe fedora3 comes with exim now, and it may already be installed. If thats the case, remove it if it is currently installed from fedora's repo, add it to your skip list in whichever client you use to update the system. Then run /scripts/upcp --force, keep an eye on this incase it starts asking you questions during the perl install.
 

xhostkz

Member
Feb 11, 2005
11
0
151
I'm also using fedora core 3 and have problem with exim

error: unpacking of archive failed on file /usr/lib/libperl.so;41ec3190: 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


this is the main error i thinck
I've looked in /usr/lib/ but i didnt found libperl fule there maybe this is ther error source???

I'm also thinck that if "we" could give the install script another rpm build by "us" it could work fine??? does anyone try to did that???

I'm not expert in linux systems... but i have to configure exim for use with cpanel on fedora core3 so i'm realy need help.
Does anyone moved in this problem???
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,441
31
473
Go on, have a guess
Well, as Beau has said, you're trying to install cPanel on an unsupported OS, and one that should not be used (and is not intended) for production environments, so you're really stretching things - I certainly would not put customer web sites on any release of Fedora (esp sincel FC1 and any day now FC2 have been put out to pasture and support is basically winding down for them).

That said:
error: unpacking of archive failed on file /usr/lib/libperl.so;41ec32d9: cpio: MD5 sum mismatch
Did you allow FC3 to update perl at all after installing cPanel? If you did then that could well be part of the problem. I'd suggest:

Add to your /etc/yum.conf exclude list: perl*
Re-installing perl using the installer on layer.cpanel.net then run:
/scripts/perlinstaller
/scripts/rpmup

Keep running rpmup until it runs clean.

Then try re-instaling exim4:

/scripts/exim4 --latest
 

xhostkz

Member
Feb 11, 2005
11
0
151
No i've updated FC3 before installing cpanle unless FC3 automaticly updates, but i belive its not. I've tryed to uninstall perl using rpm -e perl but its fails saying tha perl is needed for other process. I'm realy a beginner in using linuxlike systems in fact i'm just a web programer who use php so i'm now abit in linuxlike systems... But i'm realy have to make the system works because my company loose Administrator and we cant find it for week already... and our plans are going to be broken if i wount make exim work untill the feb 21... Damn :( Why we didn't payed for the support... So maybe if someone have time he(she) tells me how can i uninstall perl... i belive i can install it... Please
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,441
31
473
Go on, have a guess
That is probably the problem then because you have perl whereas it should be perl* and upcp has run yum and perl modules have been updated when they should not be. I did explain how you can reinstall perl (you will not be able to remove the perl rpm).
 

xhostkz

Member
Feb 11, 2005
11
0
151
I'm having this trouble now:
Resolving layer.cpanel.net... failed: Host not found.
Can i skip this step???
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,441
31
473
Go on, have a guess
No, that needs to be fixed. Make sure that you have resolving DNS nameservers setup in /etc/resolv.conf (if it is configured to use bind on your server, make sure that named is up and running and resolving domains).
 

xhostkz

Member
Feb 11, 2005
11
0
151
oh i thinck i found problem maybe you ment layer1.cpanel.net???
I've downloaded file from there an installing it now
 
Last edited:

xhostkz

Member
Feb 11, 2005
11
0
151
I've did as you said downloaded perl584installer
installed it
then run
perlinstaller
rpmup for some times untill 3 times it shows the same... i didnt saw any errors during rpmup procces
tne i run exim4 --latest but it also fails

Code:
error: unpacking of archive failed on file /usr/lib/libperl.so;420df15a: cpio: MD5 sum mismatch
`/etc/localdomains.eximreset' -> `/etc/localdomains'
`/etc/aliases.eximreset' -> `/etc/aliases'
`/etc/secondarymx.eximreset' -> `/etc/secondarymx'
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 231.
Done
exim: no process killed
exim: no process killed
Waiting for exim to restart..............finished.

mailnull  2498  0.0  0.4  6740 4676 ?        S    Feb10   0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats 
root      3869  0.0  0.1  4264 1316 ?        S    18:06   0:00 antirelayd

exim has failed, please contact the sysadmin.
sh: line 8: /usr/sbin/exim_dbmbuild: No such file or directory
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
chmod: cannot access `/var/spool/exim/db/*': No such file or directory
So nothing changed i thinck... damn any idea of what i'm doing wrong?
 

xhostkz

Member
Feb 11, 2005
11
0
151
Hellow once again i've moved up abit now cpanel service status shows that exim is installed but failed, before it was showing eximpackagenotinstalled when i restart service it says exim starts ok. Web mail was working but after restarting service it stopped workin
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,051
1
343
why don't you upgrade to Centos ?
 

mike_r

Well-Known Member
Nov 26, 2002
45
0
156
You cannot upgrade to CentOS! Because it's actually downgrading from fedora -> centos and that would mess your system. Either live with fedora or get a fresh CentOS install :) ..
 

xhostkz

Member
Feb 11, 2005
11
0
151
So exim is now working. It starts with the system and working i belive i can see it in procces. But serivce status says: exim (exim-4.43-1.FC3.1) failed and i thinck because of that cpanel does not add mail users and not setting permissions for dirs where mail is stored so no mail can be recived.
Any ideas how to break throught this?