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.

Cpanel version change is blocked AND Cpanel update failure during updatenow

Discussion in 'General Discussion' started by johndoe, Mar 13, 2013.

  1. johndoe

    johndoe Active Member

    Joined:
    May 26, 2002
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Hello Forum Members -

    The past couple of days I've been receiving cPanel update error messages. I've searched the forums and Google, and could not find examples which fit my specific issue.

    Thank you in advance for any advice on this issue. Best wishes, johndoe.

    Here are the email notices I've received:

    Code:
    [B]March 11, 2013:[/B]
    
    [B]Cpanel version change is blocked[/B]
    
    fatal,The mailserver value in /var/cpanel/cpanel.config is invalid. Valid values are dovecot or courier. You can change the value here: <A HREF="http://forums.cpanel.net/scripts/mailserverconfig">Mailserver Configuration</A>
    fatal,The ftpserver value in /var/cpanel/cpanel.config is invalid. Valid values are pure-ftpd or proftpd. You can change the value here: <A HREF="http://forums.cpanel.net/scripts2/tweakftp">FTP Server Selection</A>
    
    [B]March 11, 2013:[/B]
    
    [B]Cpanel update failure during updatenow[/B]
    
    An error was detected which prevented updatenow from completing normally.
    Please review the enclosed log for further details
    
    ----------------------------------------------------------------------------------------------------
    
    [20130311.230003]   Detected version '11.34.1.12' from version file.
    [20130311.230003]   Target version set to '11.36.0.11'
    [20130311.230003]   Checking license
    [20130311.230015]   License file check complete
    [20130311.230015]   Checking that the RPM DB is OK...
    [20130311.230015]   glibc-2.5-107
    [20130311.230015]   OK: RPM DB is responding to queries
    [20130311.230015]   Testing if rpm_is_working RPM is installed
    [20130311.230015]   package rpm_is_working is not installed
    [20130311.230015]   Testing if it's possible to install a simple RPM
    [20130311.230015]   Preparing...                ##################################################
    [20130311.230015]   rpm_is_working              ##################################################
    [20130311.230015] E Blocker found: The mailserver value in /var/cpanel/cpanel.config is invalid. Valid values are dovecot or courier. You can change the value here: <A HREF="http://forums.cpanel.net/scripts/mailserverconfig">Mailserver Configuration</A>
    [20130311.230015] E Blocker found: The ftpserver value in /var/cpanel/cpanel.config is invalid. Valid values are pure-ftpd or proftpd. You can change the value here: <A HREF="http://forums.cpanel.net/scripts2/tweakftp">FTP Server Selection</A>
    [20130311.230015] ***** FATAL: An attempt to up/downgrade to 11.36.0.11 was blocked. Please review blockers.
    [20130311.230015]   The Administrator will be notified to review this output when this script completes
    [20130311.230015] E Detected events which require user notification during updatenow. Will send iContact the log
    
    [B]March 12, 2013:[/B]
    
    [B]Cpanel update failure during updatenow[/B]
    
    An error was detected which prevented updatenow from completing normally.
    Please review the enclosed log for further details
    
    ----------------------------------------------------------------------------------------------------
    
    [20130312.230004]   Detected version '11.34.1.12' from version file.
    [20130312.230004]   Target version set to '11.36.0.11'
    [20130312.230004]   Checking license
    [20130312.230016]   License file check complete
    [20130312.230016]   Checking that the RPM DB is OK...
    [20130312.230016]   glibc-2.5-107
    [20130312.230016]   OK: RPM DB is responding to queries
    [20130312.230016]   Testing if rpm_is_working RPM is installed
    [20130312.230016]   package rpm_is_working is not installed
    [20130312.230016]   Testing if it's possible to install a simple RPM
    [20130312.230016]   Preparing...                ##################################################
    [20130312.230016]   rpm_is_working              ##################################################
    [20130312.230016] E Blocker found: The mailserver value in /var/cpanel/cpanel.config is invalid. Valid values are dovecot or courier. You can change the value here: <A HREF="http://forums.cpanel.net/scripts/mailserverconfig">Mailserver Configuration</A>
    [20130312.230016] E Blocker found: The ftpserver value in /var/cpanel/cpanel.config is invalid. Valid values are pure-ftpd or proftpd. You can change the value here: <A HREF="http://forums.cpanel.net/scripts2/tweakftp">FTP Server Selection</A>
    [20130312.230016] ***** FATAL: An attempt to up/downgrade to 11.36.0.11 was blocked. Please review blockers.
    [20130312.230016]   The Administrator will be notified to review this output when this script completes
    [20130312.230016] E Detected events which require user notification during updatenow. Will send iContact the log
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Did you check these?

    Blocked downgrades have been mentioned in the past:

    11.36 Pushed to RELEASE Tier - cPanel Forums

    cPanel & WHM 11.34 Officially Pushed to STABLE Tier - cPanel Blog
     
  3. shortfork

    shortfork Well-Known Member

    Joined:
    Sep 4, 2006
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Same issue here. Checked out the other threads, not the same problem and I don't want to muck up anything via ssh that breaks cpanel. Any "automatic" fixes in the pipeline? Server seems to be working OK... maybe a bit sluggish but OK...
     
  4. johndoe

    johndoe Active Member

    Joined:
    May 26, 2002
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    After using cPanel on this server for several years, I've not had a single issue with it. I rely more on cPanel to correct these things automatically if possible. I don't have the time to go in with SSH and risk messing things up. That's why I use cPanel and WHM - everything is taken care of by the brilliant software.

    At any rate, I'll check into the links you provided to see if I can get any closer to a solution. Thanks for your response.

    Best wishes!
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes: Re: ftp and tls problem - cPanel Forums
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What are your current values for mailserver and ftpserver in /var/cpanel/cpanel.config?
     
  7. johndoe

    johndoe Active Member

    Joined:
    May 26, 2002
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Thank you for the reply. I've fixed the problem. I didn't realize I could set those values using WHM. I thought I had to go in using SSH.

    After logging in to WHM, the instructions for updating were right there, crystal clear, as is typical for cPanel. Thank you all again for your replies. Best wishes!
     
  8. yakdude01

    yakdude01 Registered

    Joined:
    Mar 17, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Excellent info! Just go into WHM and follow the leads for what the server is telling you. And of course, if you aren't running the latest version of cPanel/WHM, upgrade while you're there.
     
  9. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    I'm getting blocked messages tonight. I have no mailserver setting in cpanel.config, even after going to WHM and re-saving my mail server selection. :-(

    - Scott
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    That's not good. What's the cPanel & WHM version number you are upgrading from?


    As a manual workaround you can add the proper entry manually to /var/cpanel/cpanel.config.

    For example if your chosen mailserver is dovecot, do the following on the command line as root:

    Code:
    echo "mailserver=dovecot" >> /var/cpanel/cpanel.config
    
    Substitute courier if you are using courier. Please note that letter casing must be lower case.

    It is similar for ftpserver. The entry in cpanel.config should look like:

    ftpserver=pure-ftpd

    Substitute proftpd when using ProFTPd.

    The special case for mailserver and ftpserver is when the service is disabled. In that case the configuration entry exists without an assigned value.

    For example if the FTP service is disabled, the entry in cpanel.config will look like:

    ftpserver

    Once you change these manually, running scripts/upcp should allow the update to proceed.
     
Loading...

Share This Page