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 [CPANEL-20866] Cannot access feature list file on DNSOnly server

Discussion in 'General Discussion' started by WaldoPepper, May 30, 2018.

  1. WaldoPepper

    WaldoPepper Member

    Joined:
    May 3, 2012
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    Since the update to 11.70.0.42 of CPanel DNSOnly I receive a huge amount of log entries in LFD's log scanner daily report stating:

    Code:
    warn [cpanel] Cannot access feature list file: /var/cpanel/features/default: No such file or directory at /usr/local/cpanel/Cpanel/Features/Cpanel.pm line 85, <$lisc_fh> line 1.
        Cpanel::Features::Cpanel::calculate_cache_file_name_and_maxmtime(ARRAY(0x3807ca0)) called at /usr/local/cpanel/Cpanel/Features/Cpanel.pm line 141
        Cpanel::Features::Cpanel::augment_hashref_with_features(undef, HASH(0x3807a48)) called at /usr/local/cpanel/Cpanel.pm line 129
        Cpanel::initcp() called at cpanel.pl line 3394
    As the directory /var/cpanel/features does in fact not exist the warning appears to be logical.

    But is this working as designed or is it a flaw or misconfiguration?

    Thanks in advance.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @WaldoPepper,

    The /var/cpanel/features directory and the /var/cpanel/features/default file should exist on DNSOnly systems. I've confirmed they exist upon new installations of cPanel DNSOnly. It's likely they were not installed as part of the initial installation of DNSOnly on your system (an issue that has since been solved). You can run the following commands to prevent those error messages from occurring:

    Code:
    mkdir /var/cpanel/features
    touch /var/cpanel/features/default
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. WaldoPepper

    WaldoPepper Member

    Joined:
    May 3, 2012
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    53
    cPanel Access Level:
    Root Administrator
    Thanks for the hint.

    I had to add two additional directories.

    Code:
    touch /var/cpanel/features/disabled
    touch /var/cpanel/features/Mail Only
    Now the warnings are gone.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @WaldoPepper,

    I was able able to reproduce the issue on new installations of cPanel & WHM versions 70 and 72. I've opened internal case CPANEL-20866 to report this behavior, and will update this thread with more information as it becomes available. In the meantime, manually creating the disabled feature list will act as a workaround:

    Code:
    touch /var/cpanel/features/disabled
    Thank you.

    Update: This was fixed in cPanel & WHM version 74.
     
    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