state: check-failed when running canonical-livepatch - Ask Ubuntu


i have installed canonical livepatch snap package:

sudo snap install canonical-livepatch sudo canonical-livepatch enable (and code) 

i setup unattended upgrades:

sudo apt install unattended-upgrades sudo dpkg-reconfigure unattended-upgrades 

however, when want check on livepatch status doing:

canonical-livepatch status --verbose 

i this:

client-version: "5" machine-id: a144ba7b92ec478495cc5918743fe0e7 machine-token: 46a92999127246328b5091f493ee7be0 architecture: x86_64 cpu-model: intel(r) core(tm) i5 cpu       m 430  @ 2.27ghz last-check: 2016-11-02t11:38:33.551353308+02:00 boot-time: 2016-11-02t11:40:22+02:00 uptime: 12m0s status: - kernel: 4.4.0-45.66-generic   running: true   livepatch:     state: check-failed     version: ""     fixes: "" 

should concerned state: check-failed message? if so, causing it, , how can fix it?

yes, should concerned. have problem too. best disable , re-enable livepatching every day (it works few hours, stops).

you can @ log:

# systemctl status snap.canonical-livepatch.canonical-livepatchd.service 

for reason, stops authenticate service after while:

● snap.canonical-livepatch.canonical-livepatchd.service - service snap application canonical-livepatch.canonical-livepatchd    loaded: loaded (/etc/systemd/system/snap.canonical-livepatch.canonical-livepatchd.service; enabled; vendor preset: enabled)    active: active (running) since sat 2016-10-22 11:38:29 edt; 1 weeks 3 days ago  main pid: 8435 (canonical-livep)    cgroup: /system.slice/snap.canonical-livepatch.canonical-livepatchd.service            └─8435 /snap/canonical-livepatch/15/canonical-livepatchd  nov 02 03:39:08 firstborn canonical-livepatch[8435]: no payload available. nov 02 04:39:09 firstborn canonical-livepatch[8435]: checking livepatch service. nov 02 04:39:09 firstborn canonical-livepatch[8435]: bad server status code: 403. url: https://livepatch.canonical.com/api/machine/<id> {"error": "invalid machine token"} nov 02 04:39:09 firstborn canonical-livepatch[8435]: no payload available. nov 02 05:39:09 firstborn canonical-livepatch[8435]: checking livepatch service. nov 02 05:39:09 firstborn canonical-livepatch[8435]: bad server status code: 403. url: https://livepatch.canonical.com/api/machine/<id> {"error": "invalid machine token"} nov 02 05:39:09 firstborn canonical-livepatch[8435]: no payload available. nov 02 06:39:09 firstborn canonical-livepatch[8435]: checking livepatch service. nov 02 06:39:09 firstborn canonical-livepatch[8435]: bad server status code: 403. url: https://livepatch.canonical.com/api/machine/<id> {"error": "invalid machine token"} nov 02 06:39:09 firstborn canonical-livepatch[8435]: no payload available. 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User