Name or service not known (kcarectl)

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Hi @greektranslator


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

Code:
[[email protected] ~]# /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
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
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:
[[email protected] cron.d]# cat /etc/cron.d/kcare-cron
13 */4  * * * root /usr/bin/kcarectl --auto-update

Thanks!