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!

Cron jobs now failing with nospoof error

Discussion in 'General Discussion' started by jamo99, May 10, 2018.

  1. jamo99

    jamo99 Member

    Joined:
    Sep 25, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    It seems last night on my servers during their upgrade window something must have changed. This morning have hundreds of notifications from multiple servers with this line:

    /etc/host.conf: line 6: bad command `nospoof on'

    I could most likely just comment out that line on each server, but would love to know what's causing the issue to show up now during cron runs. The /etc/host.conf file on my machines hadn't been touched in a year

    We run cPanel in Release mode for updates with daily updates on.

    Thanks in advance for any help.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jamo99,

    It looks like you've opened a support ticket (#9535463). I'll monitor this ticket and update this thread with the outcome.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    To update, this issue is specific to systems using CentOS/RHEL version 7.5 with one or more of the following commands in the /etc/host.conf file:

    nospoof
    spoofalert
    spoof


    This can lead to the following issues:

    1. Prevents /scripts/check_cpanel_rpms from running.
    2. Mailing lists no longer appear in cPanel.
    3. It's not possible to list Mailing List members using the command line.
    4. Web Host Manager reports "UNKNOWN" for the operating system version.

    Here's a link to the corresponding RedHat bug report:

    Bug 1577265 – nospoof, spoof, and spoofalert were not implemented and apparently removed.

    The current workaround is to remove or comment out the lines that contain the spoof, spoofalert, or nospoof commands from the /etc/hosts.conf file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. bgarrant

    bgarrant Well-Known Member

    Joined:
    Jun 27, 2012
    Messages:
    66
    Likes Received:
    9
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I have the same error here as well and commenting out the line does resolve it.
     
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