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!

Name or service not known (kcarectl)

Discussion in 'Security' started by greektranslator, Jan 15, 2019.

  1. greektranslator

    greektranslator Well-Known Member

    Joined:
    Jun 5, 2011
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    I got this email. Not sure about it, I only have installed the free kernelcare Symlink Protection which was done via the link provided in Security Advisor.

    Cron <root@host> /usr/bin/kcarectl -q --auto-update
    [Errno -2] Name or service not known
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,237
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @greektranslator


    The -q flag is not recognized by kcare. I get a similar error when trying to run that manually:

    Code:
    [root@server ~]# /usr/bin/kcarectl -q --auto-update
    usage: kcarectl [-h] [-i] [-u] [--unload] [--smart-update] [--auto-update]
                    [--local PATH] [--patch-info] [--freezer freezer] [--nofreeze]
                    [--force] [--uname] [--license-info] [--import-key PATH]
                    [--register KEY] [--register-autoretry] [--unregister]
                    [--check] [--latest-patch-info] [--test] [--tag TAG]
                    [--prefix PREFIX] [--test-s3] [--aws-access-key KEY]
                    [--aws-secret-key KEY] [--aws-region REGION]
                    [--aws-bucket BUCKET] [--aws-prefix PREFIX] [--nosignature]
                    [--set-monitoring-key KEY] [--doctor] [--enable-auto-update]
                    [--disable-auto-update] [--plugin-info] [--json] [--version]
                    [--kpatch-debug] [--no-check-cert]
                    [--set-patch-type SET_PATCH_TYPE]
                    [--set-patch-level SET_PATCH_LEVEL]
                    [--set-sticky-patch SET_STICKY_PATCH]
    kcarectl: error: unrecognized arguments: -q
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. greektranslator

    greektranslator Well-Known Member

    Joined:
    Jun 5, 2011
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    So I guess this should be submitted as an issue given that the patch was provided via the Security Advisor link?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,237
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @greektranslator


    If I was seeing this behavior regularly I would suggest that or open the case myself but I'm not able to replicate this. When I use Security Advisor to install kernelcare symlink protection the subsequent cron that is created is thus:

    Code:
    [root@server cron.d]# cat /etc/cron.d/kcare-cron
    13 */4  * * * root /usr/bin/kcarectl --auto-update

    Thanks!
     
    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