1 year ago

#77231

test-img

Kelvin Michaels Abanofor

Why does my GCP server fail to start services after an auto restart?

I have an e2-medium GCP ubuntu server running my application, and from time to time I get auto restarts, when that happens, the server does not successfully restart, preventing me from ssh until I manually stop and start the server from GCP.

I took a look at my logs and found I had the following errors:

earlyBootReportEvent: { insertId: "1" jsonPayload: {3} logName: "projects/<app>/logs/compute.googleapis.com%2Fshielded_vm_integrity" receiveTimestamp: "2022-01-03T06:41:42.273102812Z" resource: {2} severity: "ERROR" timestamp: "2022-01-03T06:41:40.265022276Zā€ }

lateBootReportEvent: { insertId: "2" jsonPayload: {3} logName: "projects/<app>/logs/compute.googleapis.com%2Fshielded_vm_integrity" receiveTimestamp: "2022-01-03T06:41:47.520596790Z" resource: {2} severity: "ERROR" timestamp: "2022-01-03T06:41:45.512413302Zā€ }

Following the instructions here https://cloud.google.com/compute/shielded-vm/docs/integrity-monitoring#updating-baseline I have eliminated the error above, but my vm still fails to start all services after auto restart.

linux

ubuntu

google-cloud-platform

server

0 Answers

Your Answer

Accepted video resources