The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/scripts/eximup --force

Discussion in 'General Discussion' started by pamos, Aug 11, 2005.

  1. pamos

    pamos Member

    Joined:
    Aug 11, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi All, i've got an error while updating my exim

    PHP:
    root@box [/scripts]# ./eximup
    Exim Setup Script Version 20.0
    Fetching version information from http
    ://updates.cpanel.net/eximinstall/version (CURRENT)....Done
    This is the exim 4.52 installer release number 7 for platform fedora 2
    db4
    -devel is installed and is the latest version.
    pam-devel is installed and is the latest version.
    openssl096b is installed and is the latest version.
    openssl is installed and is the latest version.
    openssl-devel is installed and is the latest version.
    gcc is installed and is the latest version.
    glibc-devel is installed and is the latest version.
    compat-db is installed and is the latest version.
    zlib-devel is installed and is the latest version.
    rpm-build is installed and is the latest version.
    Gathering header information file(sfrom server(s)
    ServerFedora Core 2 i386 Base
    Server
    Fedora Core US 2 i386 Base
    Server
    Fedora Core US 2 Stable
    Server
    Fedora Core US 2 Updates
    Server
    Fedora Core 2 i386 Released Updates
    Finding updated packages
    Downloading needed headers
    No actions to take
    Resetting Exim to cPanel Defaults 
    and Installing the Latest Version
    Removing spamkey 
    for xxxxx...Done
    Removing spamkey 
    for xxxxx...Done
    Removing spamkey 
    for xxxxx...Done
    Removing spamkey 
    for xxxxx...Done
    Removing spamkey 
    for xxxxx...Done
    Removing spamkey 
    for xxxxx...Done
    Removing spamkey 
    for xxxxx...Done
    --09:51:01--  http://diff.cpanel.net/exim/4.52-7/fedora/2/exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm
               
    => `exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm'
    Resolving diff.cpanel.net... 69.90.250.35, 198.66.78.11, 198.66.78.12, ...
    Connecting to diff.cpanel.net[69.90.250.35]:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    09:51:01 ERROR 404: Not Found.

    Failed to download http://diff.cpanel.net/exim/4.52-7/fedora/2/exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm .. using source instead
    Gathering header information file(s) from server(s)
    Server: Fedora Core 2 - i386 - Base
    Server: Fedora Core US 2 - i386 - Base
    Server: Fedora Core US 2 - Stable
    Server: Fedora Core US 2 - Updates
    Server: Fedora Core 2 - i386 - Released Updates
    Finding updated packages
    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
    db4-devel is installed and is the latest version.
    compat-db is installed and is the latest version.
    Cannot find a package matching ndbm-devel
    pam-devel is installed and is the latest version.
    openssl-devel is installed and is the latest version.
    gcc is installed and is the latest version.
    glibc-devel is installed and is the latest version.
    No actions to take
    --09:51:39--  http://diff.cpanel.net/exim-cpanel7.2.0/exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.src.rpm
               => 
    `exim.src.rpm'
    Resolving diff.cpanel.net... 198.66.78.11, 198.66.78.12, 69.72.164.151, ...
    Connecting to diff.cpanel.net[198.66.78.11]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2,046,085 [application/x-rpm]

    100%[==================================================================================>] 2,046,085    120.61K/s    ETA 00:00

    09:52:30 (39.74 KB/s) - `exim.src.rpm' 
    saved [2,046,085/2,046,085]

    Building RPM....Done
            Installing exim
    .src.rpm
            Executing
    (%prep): /bin/sh -/var/tmp/rpm-tmp.91441
            
    umask 022
            
    cd /usr/src/redhat/BUILD
            
    rm -rf /tmp/exim-rhl
            
    cd /usr/src/redhat/BUILD
            
    rm -rf exim-4.52
            
    + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/exim-4.52.tar.gz
            
    /var/tmp/rpm-tmp.91441line 26: /usr/bin/gzipNo such file or directory
            
    tar -xvvf -
            + 
    STATUS=0
            
    '[' -ne 0 ']'
            
    cd exim-4.52
            
    /var/tmp/rpm-tmp.91441line 31cdexim-4.52No such file or directory
            error
    Bad exit status from /var/tmp/rpm-tmp.91441 (%prep)


            
    RPM build errors:
                
    Bad exit status from /var/tmp/rpm-tmp.91441 (%prep)
    Failed to build rpm at /scripts/eximup line 403.
    root
    @box [/scripts]#
    Can anyone verify, what is actually happend and what should i do now ?

    Thanks
     
  2. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    Gettin same error on CentOS, checked the site, just nothing there at the moment
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I presume that this is the error that you're having trouble with:

    Have you checked that you do indeed have a /var/tmp directory with plenty of space. Also have you checked that it has 1777 permissions, or if symlinked to /tmp that /tmp has those permissions?
     
  4. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    actually my error is different doesnt mention anything about tmp

    Code:
    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'
    --03:33:12--  http://diff.cpanel.net/exim/4.51-3/centos/3.5/exim-4.51-3_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm
               => `exim-4.51-3_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm'
    Resolving diff.cpanel.net... 69.90.250.35, 198.66.78.11, 198.66.78.12, ...
    Connecting to diff.cpanel.net[69.90.250.35]:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    03:33:13 ERROR 404: Not Found.
    
    Failed to download http://diff.cpanel.net/exim/4.51-3/centos/3.5/exim-4.51-3_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm .. using source instead
    Gathering header information file(s) from server(s)
    Server: CentOS-3 - Addons
    Server: CentOS-3 - Base
    Server: CentOS-3 - Extras
    Server: CentOS-3 - Updates
    Finding updated packages
    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
    db4-devel is installed and is the latest version.
    compat-db is installed and is the latest version.
    Cannot find a package matching ndbm-devel
    pam-devel is installed and is the latest version.
    openssl-devel is installed and is the latest version.
    gcc is installed and is the latest version.
    glibc-devel is installed and is the latest version.
    No actions to take
    --03:33:18--  http://diff.cpanel.net/exim-cpanel7.2.0/exim-4.51-3_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.src.rpm
               => `exim.src.rpm'
    Resolving diff.cpanel.net... 69.72.164.151, 69.90.250.34, 69.90.250.35, ...
    Connecting to diff.cpanel.net[69.72.164.151]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,924,524 [application/x-rpm]
    
    100%[==================================================================================================>] 1,924,524    579.88K/s    ETA 00:00
    
    03:33:22 (577.66 KB/s) - `exim.src.rpm' saved [1,924,524/1,924,524]
    
    Building RPM.........................................Done
    Preparing...                ########################################### [100%]
       1:exim                   ########################################### [100%]
    groupadd: group mailnull exists
    groupadd: group mailtrap exists
    Generating a 1024 bit RSA private key
    ............................++++++
    .++++++
    writing new private key to '/etc/exim.key'
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [GB]:State or Province Name (full name) [Berkshire]:Locality Name (eg, city) [Newbury]:Organization Name (eg, company) [My Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:Sync Source: http://httpupdate.cpanel.net/RELEASE/scripts
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.lock....Trying httpupdate.cpanel.net @ 69.90.250.35
    100%......Done
    Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
    35%...71%...100%......Done
    Exim version 4.51 #1 built 12-Aug-2005 03:35:09
    Copyright (c) University of Cambridge 2005
    Berkeley DB: Sleepycat Software: Berkeley DB 4.1.25: (April 13, 2005)
    Support for: iconv() PAM Perl OpenSSL Content_Scanning Old_Demime
    Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
    Authenticators: cram_md5 plaintext spa
    Routers: accept dnslookup ipliteral manualroute queryprogram redirect
    Transports: appendfile autoreply pipe smtp
    Configuration file is /etc/exim.conf.buildtest
    `/etc/exim.conf.buildtest' -> `/etc/exim.conf'
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.belfry.net
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Fri, 12 Aug 2005 03:09:23 GMT
    Mail::SpamAssassin is up to date.
    Net::DNS is up to date.
    perlmod--Install done
    mkdir: cannot create directory `/var/spool/exim': File exists
    Adding towerlending.com
    Waiting for exim to restart........
    
    etc etc
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I don't see any error in there. Apart from the fact that it's building from source rpm which isn't a problem.
     
  6. DigiCrime

    DigiCrime Well-Known Member

    Joined:
    Nov 27, 2002
    Messages:
    399
    Likes Received:
    0
    Trophy Points:
    16
    ohhhhkaybeee :cool:
     
  7. pamos

    pamos Member

    Joined:
    Aug 11, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi chirpy, thanks for reply

    I've checked my /var/tmp have symlinked to /tmp and i've chmod that folder to 1777,
    then i start the /scripts/eximup --force command and the error still there.
    My /var/tmp still got 75% free space

    Any idea ?

    BTW, why cpanel cannot find http://diff.cpanel.net/exim/4.52-7/..._rewrite_mm2_mmmtrap_exiscan_md5pass.i386.rpm in the first place ?

    I know u will say "cPanel remove it" , but they should't remove it , it will make their client like me having problem to update

    Thanks and regards
     
    #7 pamos, Aug 12, 2005
    Last edited: Aug 12, 2005
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Actually, looking at your error more closely, it seems to suggest that you don't have a /usr/bin/gzip file, or at least , if it is there, is it chmod 755 ?
     
  9. pamos

    pamos Member

    Joined:
    Aug 11, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks chirpy, i've notice that gzip not there and i dont know y gzip names as gzip.bak
    I've rename it back and successfull install my exim

    Thanks chirpy
    Case Closed :)
     
Loading...

Share This Page