Troubleshooting: Difference between revisions
No edit summary |
|||
Line 31: | Line 31: | ||
sendkey alt-f3 | sendkey alt-f3 | ||
== | == Send sysrq to KVM VM == | ||
How can I send sysrq to Linux KVM guests? | |||
Similarly to the above, go to "Monitor" in Virtual Machine Configuration for a given guest and use "sendkey" command. | Similarly to the above, go to "Monitor" in Virtual Machine Configuration for a given guest and use "sendkey" command. | ||
Line 46: | Line 47: | ||
See also http://en.wikipedia.org/wiki/Magic_SysRq_key for a full reference of possible combinations. | See also http://en.wikipedia.org/wiki/Magic_SysRq_key for a full reference of possible combinations. | ||
== "error: out of partition" after a fresh install == | == "error: out of partition" after a fresh install == | ||
Line 71: | Line 52: | ||
error: out of partition. | error: out of partition. | ||
grub rescue> | grub rescue> | ||
== Cluster & Multicast issues == | == Cluster & Multicast issues == |
Revision as of 10:53, 28 November 2016
Introduction
This side is a miscellany of troubleshooting Technics.
Debugging Installation
Can be used if you can't boot your PVE Host.
Enable kernel dumb
If you have a kernel panic it can be very usful to have a kernel dump to analyse the problem.
Debug LXC
When a Container fail to start.
See Linux_Container paragraph "Obtaining Debugging Logs".
Switch novnc KVM console
I can't switch virtual consoles in Linux KVM guests with alt-F1, alt-F2... VNC viewer does not pass some key combinations or they may be intercepted by your operating system.
To send custom key combinations to the guest, go to "Monitor" in Virtual Machine Configuration for a given guest and use "sendkey" command.
For example, to switch to the third console (tty3) you would use:
sendkey alt-f3
Send sysrq to KVM VM
How can I send sysrq to Linux KVM guests? Similarly to the above, go to "Monitor" in Virtual Machine Configuration for a given guest and use "sendkey" command.
For example, to issue "Emergency Sync", you would use:
sendkey alt-sysrq-s
In the VNC viewer for the given guest you should see:
SysRq : Emergency Sync
You should also see this entry if you run "dmesg" on this guest.
See also http://en.wikipedia.org/wiki/Magic_SysRq_key for a full reference of possible combinations.
"error: out of partition" after a fresh install
The error message below may happens when you had two or more harddrives connected during the installation. Try to disconnect all but one disk.
error: out of partition. grub rescue>
Cluster & Multicast issues
See Troubleshooting multicast, quorum and cluster issues.