Results 1 to 25 of 27
-
06-24-2004, 05:44 AM #1Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
exim has failed !! Error : package exim is not installed!!
Hello All,
Yesterday I tried to upgarde cpanel on my RedHat 7.3 server.Fortunately it upgraded the cpanel to 9.4 version but left me in bigger mess.When I looked in service status i found exim,imap both failed(showing red balls).
Along with exim it is showing message that package exim is not installed.Now I am wondering how this happened?.I upgraded the cpanel only nothing else to 9.4.
I tried to build apache and upgarding cpanel so that exim get installed but it failed.
I tried /scripts/exim3 and /scripts/exim4 but they are ginving error:
Resetting Exim to cPanel Defaults and Installing the Latest Version
`/etc/localdomains' -> `/etc/localdomains.eximreset'
error: package exim is not installed
Retrieving http://diff.cpanel.net/exim-cpanel6....write.i386.rpm
/scripts/exim3: line 30: 7909 Segmentation fault (core dumped) rpm -Uvh http://diff.cpanel.net/exim-cpanel6....write.i386.rpm
`/etc/localdomains.eximreset' -> `/etc/localdomains'
Waiting for exim to restart..............finished.
exim has failed, please contact the sysadmin.
What is problem?How should I install exim package and get imao etc working on server?
Please help!!
Thank youLast edited by atul; 06-24-2004 at 05:47 AM.
-
06-24-2004, 06:03 AM #2Web Hosting Master
- Join Date
- Jun 2003
- Location
- UK
- Posts
- 6,616
Run
/scripts/exim4
Wait a bit
/etc/init.d/exim restart
RusRuss Foster - Industry Curmudgeon
Freelance Sysadmin for Hire - email vaserv@gmail.com
-
06-24-2004, 06:13 AM #3Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello ,
I tried /scripts/exim3 and /scripts/exim4 but they are ginving error:
Resetting Exim to cPanel Defaults and Installing the Latest Version
`/etc/localdomains' -> `/etc/localdomains.eximreset'
error: package exim is not installed
Retrieving http://diff.cpanel.net/exim-cpanel6...ewrite.i386.rpm
/scripts/exim3: line 30: 7909 Segmentation fault (core dumped) rpm -Uvh http://diff.cpanel.net/exim-cpanel6...ewrite.i386.rpm
`/etc/localdomains.eximreset' -> `/etc/localdomains'
Waiting for exim to restart..............finished.
exim has failed, please contact the sysadmin.
Help
-
06-24-2004, 06:16 AM #4Web Hosting Master
- Join Date
- Jun 2003
- Location
- UK
- Posts
- 6,616
Try
rpm --rebuilddb ; /scripts/exim4
RusRuss Foster - Industry Curmudgeon
Freelance Sysadmin for Hire - email vaserv@gmail.com
-
06-24-2004, 06:32 AM #5Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello ,
Sorry to say it failed.This is what i got when i did rpm -- ..; and then /scripts/exim4
root@server [~]# /scripts/exim4
Exim Setup Script Version 10.0
Exim Setup Script Version 10.0
This is the exim 4.34 installer release number 60 subrelease s7
Using RPM Backend: RPM version 4.0.4
installed: openssl096-0.9.6-25.7.legacy
installed: openssl096b-0.9.6b-15
installed: openssl-0.9.7a-20.2
installed: openssl-devel-0.9.7a-20.2
installed: gcc-3.2.2-5
installed: glibc-devel-2.3.2-27.9.7
installed: zlib-devel-1.1.4-8.7x
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'
--06:29:55-- http://diff.cpanel.net/exim-cpanel7....iscan.i386.rpm
=> `exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm'
Resolving diff.cpanel.net... done.
Connecting to diff.cpanel.net[216.118.116.104]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,246,302 [application/x-rpm]
100%[=====================================================>] 1,246,302 1.34M/s ETA 00:00
06:29:56 (1.34 MB/s) - `exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm' saved [1246302/1246302]
Preparing... ########################################### [100%]
`/etc/localdomains.eximreset' -> `/etc/localdomains'
`/etc/aliases.eximreset' -> `/etc/aliases'
`/etc/secondarymx.eximreset' -> `/etc/secondarymx'
Building exim.conf.../scripts/buildeximconf: fatal: /etc/exim.conf.dist is missing
Done
exim: no process killed
exim: no process killed
Waiting for exim to restart..............finished.
exim has failed, please contact the sysadmin.
sh: /usr/sbin/exim_dbmbuild: No such file or directory
sh: /usr/sbin/exim_dbmbuild: No such file or directory
sh: /usr/sbin/exim_dbmbuild: No such file or directory
sh: /usr/sbin/exim_dbmbuild: No such file or directory
chmod: getting attributes of `/var/spool/exim/db/*': No such file or directory
Install Complete
What is problem?
Thanks
-
06-24-2004, 10:25 AM #6Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
try doing
cd /usr/src
wget -c http://updates.cpanel.net/exim-cpanel7.2.0/s9/exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm
rpm -Uvh --force exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm
rpm -Uvh --force
At its trying to download for 7.3 still. so try this for rh9Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 02:41 AM #7Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr .Security,
I tried to fetch it it is successfull but when I gave command
root@server [/usr/src]# rpm -Uvh --force exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm
Preparing... ########################################### [100%]
Segmentation fault (core dumped)
Hello what should I do?
Thank you!!!
-
06-25-2004, 02:57 AM #8Web Hosting Master
- Join Date
- Jul 2003
- Location
- Nothing but, net
- Posts
- 2,064
You might want to check to make sure there are no conflicting packages.
-
06-25-2004, 03:35 AM #9Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Originally posted by atul
Hello Mr .Security,
I tried to fetch it it is successfull but when I gave command
root@server [/usr/src]# rpm -Uvh --force exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm
Preparing... ########################################### [100%]
Segmentation fault (core dumped)
Hello what should I do?
Thank you!!!
do this for me:
rpm -qa | grep eximSteven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 03:57 AM #10Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr.Security,
I have this:
root@server [~]# rpm -qa |grep exim
root@server [~]#
It returned nothing!!
Thanks
-
06-25-2004, 04:06 AM #11Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr.Security,
I am total mess !!What i did I explained to you.I face I tried everything which I know .I just upgraded the cpanel with these tho commands:
wget layer1.cpanel.net/latest
sh latest -target OtherDirectory
And it went successfull but left in bogger mess with smtp down ,imap not working !!!
Please I have hopes from you !!
I don't know what to do !!
Please help friend!!
Thanks very much!!
-
06-25-2004, 04:07 AM #12Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
ok do this
wget -c http://diff.cpanel.net/exim-cpanel7....iscan.i386.rpm
/usr/bin/strace -f /bin/rpm -Uvh --force exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpmSteven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 04:15 AM #13Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello ,
I did this I think it is unablre to find the reffered url :
root@server [/usr/src]# wget -c http://diff.cpanel.net/exim-cpanel7...xiscan.i386.rpm
--04:13:13-- http://diff.cpanel.net/exim-cpanel7...xiscan.i386.rpm
=> `exim-cpanel7...xiscan.i386.rpm'
Resolving diff.cpanel.net... done.
Connecting to diff.cpanel.net[216.118.116.104]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
04:13:13 ERROR 404: Not Found.
It couldn't find the rquired file..
Do u have other location to fetch?
Thanks very much!!
-
06-25-2004, 04:17 AM #14Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
http://diff.cpanel.net/exim-cpanel7.2.0/s7/exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 04:44 AM #15Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr.Security,
It failed friend...
it took some time but the final message is like:
********************************************************
fstat64(9, {st_mode=S_IFREG|0755, st_size=106400, ...}) = 0
old_mmap(NULL, 87796, PROT_READ|PROT_EXEC, MAP_PRIVATE, 9, 0) = 0x40144000
mprotect(0x40159000, 1780, PROT_NONE) = 0
old_mmap(0x40159000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 9, 0x15000) = 0x40159000
close(9) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
**********************************************
Hello But why this segmetation fault is there?I am not getting!!!
Thanks a lot !!
-
06-25-2004, 04:54 AM #16Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
This is a long shot
rm -f /var/lib/rpm/__db.*
rpm -rebuilddb
rpm -rebuilddb
/scripts/upcp --forceSteven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 05:16 AM #17Junior Guru
- Join Date
- May 2004
- Posts
- 193
reinstall cpanel.
-
06-25-2004, 05:16 AM #18Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Originally posted by -Ley-
reinstall cpanel.
thats what /scripts/upcp --force doesSteven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 05:30 AM #19Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr.Security,
I have tried to reinstall cpanel through /scripts/upcp
should I go for cpanel installation by
wget layer1.cpanel.net/latest
sh latest -target OtherDirectory
These two commands made the mess!!
Should I go for it again?
THanks very much !!!
-
06-25-2004, 05:32 AM #20Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
did you use the --force parameter? and rebuild the rpm database as stated above? Maybe edit /etc/cpupdate.conf and change the cpanel version to current or edge.
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2004, 05:39 AM #21Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr.Security,
What I am doing now is to upgrade RH7.3 to RH8
I have this :
1)cd /usr/src
2)wget http://ftp.freshrpms.net/pub/freshrp...h73.2.i386.rpm
3)apt-get update
4)apt-get dist-upgrade
and then at last this happened to show you:
*************************************************
343 packages upgraded, 22 newly installed, 14 replaced, 0 removed and 0 not upgraded.
Need to get 0B/186MB of archives.
After unpacking 28.3MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Executing RPM (-Uvh)...
Preparing... ########################################### [100%]
E: Sub-process /bin/rpm recieved a segmentation fault.
root@server [/usr/src]#
*****************************************
I am totally frustrate !!
But still I think you are having something to get me out of this!!
Thanks a lot!!
-
06-25-2004, 02:12 PM #22Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Did you run up2date and upgrade your glibc or anything recently?
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-26-2004, 01:42 PM #23Web Hosting Evangelist
- Join Date
- Nov 2002
- Posts
- 538
run an FSCK on your server. seg fault means that something crash, so maybe an FSCK help!
yeah.. i'm useless!
-
06-26-2004, 01:48 PM #24Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
Originally posted by phactor
run an FSCK on your server. seg fault means that something crash, so maybe an FSCK help!Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-28-2004, 02:21 AM #25Web Hosting Guru
- Join Date
- Apr 2004
- Location
- India
- Posts
- 292
Hello Mr.Scurity,
I just now posted on forum but this is what I have to say. Security as you know Today i checkd my up2date log and i found this:
Sun Jun 20 13:57:38 2004] up2date Opening rpmdb in /var/lib/rpm/ with option 0
[Sun Jun 20 13:57:38 2004] up2date Opening rpmdb in /var/lib/rpm/ with option 0
[Sun Jun 20 17:57:39 2004] up2date new up2date run started
[Sun Jun 20 17:57:39 2004] up2date Opening rpmdb in /var/lib/rpm/ with option 0
[Sun Jun 20 17:57:39 2004] up2date Opening rpmdb in /var/lib/rpm/ with option 0
[Sun Jun 20 21:57:38 2004] up2date new up2date run started
So even if I tried /scripts/upcp my updation might have failed and my demo account is disabled with rhn.
When I type up2date on shell it shows:
Error Class Code: 111
Error Class Info: Email address not validated; service disabled
****************************
Dose it mean that only up2date failed or dose it mean that i can't update my packages !!Even my cpanel shows cpanel version 9.4 I doubt !!
What is real mess?Why after so much trying exim isn't get updated?
PLease help