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!

SOLVED Update does not exit cleanly with code 65280

Discussion in 'General Discussion' started by Alexandros Androutsos, May 18, 2018.

Tags:
  1. Alexandros Androutsos

    Joined:
    Apr 14, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hello,

    I've been unable to run any updates on my server for the past few days. Whenever I try to run an update I get the following output:

    Code:
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/upcp (11777) at Fri May 18 12:15:35 2018
    [2018-05-18 12:15:35 +0300]   Checking that the RPM DB is OK...
    [2018-05-18 12:15:35 +0300]   /etc/host.conf: line 3: bad command `nospoof on'
    [2018-05-18 12:15:35 +0300]   glibc-2.17-222.el7.x86_64
    [2018-05-18 12:15:35 +0300]   OK: RPM DB is responding to queries
    [2018-05-18 12:15:35 +0300]   Testing if rpm_is_working RPM is installed
    [2018-05-18 12:15:35 +0300]   /etc/host.conf: line 3: bad command `nospoof on'
    [2018-05-18 12:15:35 +0300]   package rpm_is_working is not installed
    [2018-05-18 12:15:35 +0300]   Testing if it's possible to install a simple RPM
    [2018-05-18 12:15:35 +0300]   /etc/host.conf: line 3: bad command `nospoof on'
    [2018-05-18 12:15:35 +0300]   Preparing...                          ########################################
    [2018-05-18 12:15:35 +0300]   Updating / installing...
    [2018-05-18 12:15:35 +0300]   rpm_is_working-1.0-0                  ########################################
    [SIZE=5][COLOR=#ff0000][B][2018-05-18 12:15:35 +0300]   /etc/host.conf: line 3: bad command `nospoof on'[/B][/COLOR][/SIZE]
    [2018-05-18 12:15:35 +0300]   Detected cron=0 (manual flag passed on command line)
    [2018-05-18 12:15:35 +0300]   Running Standardized hooks
    [2018-05-18 12:15:35 +0300]   mtime on upcp is 1525809932 (Tue May  8 23:05:32 2018)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (11786) at Fri May 18 12:15:36 2018
    [2018-05-18 12:15:36 +0300]   Detected version '11.70.0.34' from version file.
    [2018-05-18 12:15:36 +0300]   Running version '11.70.0.34' of updatenow.
    [2018-05-18 12:15:36 +0300]   Retrieved public key from vendor: cpanel, category: development, url: [URL]https://securedownloads.cpanel.net/cPanelDevelopmentKey.asc[/URL]
    [2018-05-18 12:15:37 +0300]   Retrieved public key from vendor: cpanel, category: release, url: [URL]https://securedownloads.cpanel.net/cPanelPublicKey.asc[/URL]
    [2018-05-18 12:15:37 +0300]   Target version set to '11.70.0.42'
    [2018-05-18 12:15:37 +0300]   Switching to 11.70.0.42 to determine if we can reach that version without failure.
    [2018-05-[SIZE=5][COLOR=#ff0000][B]18 12:15:37 +0300] ***** FATAL: Failed to download updatenow.static from server: The system cannot update the /var/cpanel/sysinfo.config file. at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 113.[/B][/COLOR][/SIZE]
    [2018-05-18 12:15:37 +0300]   The Administrator will be notified to review this output when this script completes
    => Log closed Fri May 18 12:15:37 2018
    => Log closed Fri May 18 12:15:37 2018
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/maintenance (11802) at Fri May 18 12:15:37 2018
    => Log closed Fri May 18 12:15:37 2018
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (11784) at Fri May 18 12:15:37 2018
    [2018-05-18 12:15:37 +0300] E Pre Maintenance ended, [SIZE=5][COLOR=#ff0000][B]however it did not exit cleanly (65280)[/B][/COLOR][/SIZE]. Please check the logs for an indication of what happened
    => Log closed Fri May 18 12:15:37 2018
    [2018-05-18 12:15:38 +0300]   Running Standardized hooks
    [2018-05-18 12:15:38 +0300]  
    [2018-05-18 12:15:38 +0300]  cPanel update completed
    [2018-05-18 12:15:38 +0300]   A log of this update is available at /var/cpanel/updatelogs/update.1526634935.log
    [2018-05-18 12:15:38 +0300]   Removing upcp pidfile
    [2018-05-18 12:15:38 +0300]  
    [2018-05-18 12:15:38 +0300] Completed all updates
    => Log closed Fri May 18 12:15:38 2018
    
    So the log reports 2 things that worry me and were not present before upgrading to 11.70

    1. one is "/etc/host.conf: line 3: bad command `nospoof on'" which is weird as it appears on other scripts as well. However the update script is the one that eventually does not run. Other scripts that display that notification run without issues
    2. the other is: "FATAL: Failed to download updatenow.static from server: The system cannot update the /var/cpanel/sysinfo.config file. at /usr/local/cpanel/Cpanel/GenSysInfo.pm line 113.". The code about it "did not exit cleanly" is 65280...
    For the latter I tried rebuilding the RPMs, tried to do so also through terminal as suggested here:
    The cPanel & WHM update process failed
    and here:
    How to fix FATAL: Failed to download updatenow.static from server

    So is there a way to fix that and have updates working again?

    Thank you.
     
    #1 Alexandros Androutsos, May 18, 2018
    Last edited by a moderator: May 18, 2018
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,160
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  3. Alexandros Androutsos

    Joined:
    Apr 14, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Oh my God... that seems to work...
    It's updating now which is way better than what I was able to do.

    I just added a "#" in front of the nospoof command in /etc/host.conf and the update run as it should

    But the thread you sent me is 5 years old. My VPS is nowhere that old. Which means that I used to have nospoof there since the beginning. How did that change occur and nospoof suddenly became unsupported?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,160
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That post is from May 5, 2018. If you click thru to the RedHat portal you'll note the report date there is from May this year as well.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Alexandros Androutsos

    Joined:
    Apr 14, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Ah... sorry for that. I looked at the date very hastily and misread it.

    The update on my VPS completed properly without errors. I'm now at 11.70.42

    Thank you for your help.

    When a solution to a problem that lasted for days is so simple it's hard to believe that it would work in the first place :)
     
    Infopro likes this.
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,160
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Happy to help. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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