Question

Centos 7 reboot problem - Error invalid signature press any key to continue

Posted September 30, 2019 1.3k views
Linux BasicsDigitalOceanSystem Tools

An interrupted Yum update has left me with a production server that won’t reboot. An ordinary reboot command via SSH and command line, leaves it hanging and unresponsive. Using the digitalocean recovery console to reboot gives an error of “Error invalid signature..... press any key to continue”.

Diagnosing the cause is tough since this happens before logs are being written. It is possible to reboot successfully from the recovery console by issuing a “shutdown -r now” and then selecting a kernel (all work) from the grub menu.

Things I’ve tried are:

1) Reinstalling grub as detailed here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sec-reinstalling_grub_2

2) Created a new initrd: https://wiki.centos.org/TipsAndTricks/CreateNewInitrd

There are full backups of the server and LAMP apps on it so I could just move sites to a new droplet created from a pre-Yum interruption but since it’s a running system, I’d prefer to repair.

Any suggestions would be deeply appreciated.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello, @sylvanusurban

You should be able to shutdown the server via the recovery console and then boot it. May I ask if you’ve done the yum update again and if everything went well as well? You can also contact Digital Ocean support team and ask for advise as this is something they can probably sort for you.

Looking forward to your reply.

  • Thanks @ageorgiev - yes you’re right and I’d done both but the server still won’t reboot normally without using the recovery console… so problem remains.

    I’ll try support and post back here if I find a solution. Thanks....

Submit an Answer