Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/scripts/upcp breaks exim config

Discussion in 'General Discussion' started by alesk, Jul 15, 2005.

  1. alesk

    alesk Registered

    Joined:
    Jun 27, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    Last night upcp (running as usually from crontab) erased all exim configuration files (/etc/exim.conf, /etc/antvirus.exim and exim.pl) and may be something else. Reading log files I found that problem was caused by inaccessiblity of the CPanel DNSes. See quote of upcp log below.

    I was shocked that upcp breaks a working system just because update servers not accessible.

     
  2. sandip

    sandip Member

    Joined:
    Aug 13, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Delhi
    Always backup config files before upcp

    The Golden Rule of cpanel upgrades - Always, Always backup key config files of the system before running upcp!

    I use subversion to not only backup but keep under version control all critical configuration files on the server, and commit a copy before running upcp.

    The important config files to backup are:

    • /etc/exim.conf
    • /etc/httpd/conf/httpd.conf
    • /etc/named.conf
    • /etc/trueuser*
    • /usr/local/cpanel/etc/*
    • ... and all similarly significant files.

    I am surprised why cpanel folks dont do such critical system snapshots themselves at the beginning of upcp itself.

    In general, never trust an automated configuration/code-generation tool completely. Always cover your ass by taking backups.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    30
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider

    This has been corrected in version 18.0 of the exim installer.
     
  4. Tim@OCZ

    Tim@OCZ Member

    Joined:
    Jan 13, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Which release of cpanel is 18.0 currently in?

    I'm running "Release" and it does not seem to be included in this tree as of yet.
     
  5. Tim@OCZ

    Tim@OCZ Member

    Joined:
    Jan 13, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Wait...it says version 20.0 and this is still a problem....?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice