Page 1 of 2 12 LastLast
Results 1 to 25 of 27
  1. #1
    Join Date
    Apr 2004
    Location
    India
    Posts
    292

    Angry 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 you
    Last edited by atul; 06-24-2004 at 05:47 AM.

  2. #2
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,596
    Run

    /scripts/exim4

    Wait a bit

    /etc/init.d/exim restart

    Rus
    Rus Foster - Director of Cloud @ UK2 Group
    VPS.net - True Cloud Hosting powered by OnApp and HP SANS
    Tel: +447714137805 | Email: rghf@uk2group.com

  3. #3
    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

  4. #4
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,596
    Try

    rpm --rebuilddb ; /scripts/exim4

    Rus
    Rus Foster - Director of Cloud @ UK2 Group
    VPS.net - True Cloud Hosting powered by OnApp and HP SANS
    Tel: +447714137805 | Email: rghf@uk2group.com

  5. #5
    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

  6. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    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 rh9
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  7. #7
    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!!!

  8. #8
    Join Date
    Jul 2003
    Location
    Nothing but, net
    Posts
    2,062
    You might want to check to make sure there are no conflicting packages.

  9. #9
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    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 exim
    what does it return
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  10. #10
    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

  11. #11
    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!!

  12. #12
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    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.rpm
    paste output here please.
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  13. #13
    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!!

  14. #14
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    http://diff.cpanel.net/exim-cpanel7.2.0/s7/exim-4.34-60_cpanel_stmpcontrol_antivirus_rewrite_mailman2_mailtrap_exiscan.i386.rpm
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  15. #15
    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 !!

  16. #16
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    This is a long shot

    rm -f /var/lib/rpm/__db.*
    rpm -rebuilddb
    rpm -rebuilddb
    and then

    /scripts/upcp --force
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  17. #17
    Join Date
    May 2004
    Posts
    193
    reinstall cpanel.

  18. #18
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    Originally posted by -Ley-
    reinstall cpanel.

    thats what /scripts/upcp --force does
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  19. #19
    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 !!!

  20. #20
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    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 | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  21. #21
    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!!

  22. #22
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    Did you run up2date and upgrade your glibc or anything recently?
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  23. #23
    Join Date
    Nov 2002
    Posts
    536
    run an FSCK on your server. seg fault means that something crash, so maybe an FSCK help!
    yeah.. i'm useless!

  24. #24
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,259
    Originally posted by phactor
    run an FSCK on your server. seg fault means that something crash, so maybe an FSCK help!
    Not always, bad binarys / libarys can do the same thing.
    Steven Ciaburri | Proactive Linux Server Management - Rack911.com
    System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
    Managed Servers (AS62710), Server Management, and Security Auditing.
    www.HostingSecList.com - Security notices for the hosting community.

  25. #25
    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

Page 1 of 2 12 LastLast

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •