Posts

KVM Virtual machines not starting on Exadata

 Exadata KVM virtual machines not starting   We have a customer where all KVM machines were not starting.  The machines is encountering the following error during startup:   [root@dbnode1 ~]# virsh start dbnode1 error: Failed to start domain dbnode1 error: internal error: process exited while connecting to monitor: 2024-04-27Tqemu-system-x86_64: -blockdev {"driver":"file","filename":"/EXAVMIMAGES/GuestImages/hostname.com/System.img","node-name":"libvirt-9-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}: Could not open '/EXAVMIMAGES/GuestImages/hostname.com/System.img': Permission denied   Cause: Due to the installation of some third-party security components libvirtd package and its libraries were not functioning properly.   Solution: Rsinstall the libvirtd package Update file:  /etc/libvirt/q...

Oracle KVM on Linux 9 with Kernel Error

KVM Virtual machine errored with following Error. Issue: When we were trying to install the guest packages then the VM hosted with OEL9 KVM crashed with the following Error.   Wed Apr 17 16:03:45 GMT 2024 [ 5.310837] x86/mm: Checked W+X mappings:passed, no W+X pages found. Wed Apr 17 16:03:45 GMT 2024 [ 5.312259] Run /init as init process Wed Apr 17 16:03:45 GMT 2024 Fatal glibc error: CPU does not supportx86-64-v2 Wed Apr 17 16:03:45 GMT 2024 [ 5.314075] Kernel panic - not syncing:Attempted to kill init! exitcode=0x00007f00 Wed Apr 17 16:03:45 GMT 2024 [ 5.315686] CPU: 1 PID: 1 Comm: init Not tainted5.14.0-70.5.1.el9_0.x86_64 #1 Wed Apr 17 16:03:45 GMT 2024 [ 5.317214] Hardware name: QEMU Standard PC (Q35+ ICH9, 2009)   Cause: The installed glibc version of the operating system doesn’t set the CPU flags correctly in  the VM configuration.   Solution: As a workaround use the following commands:   #virsh edit vm-name   Then, add...

Oracle KVM qemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory"

 Oracle KVM Service fails to start with following error: #virsh start db-node1 error: Failed to start domain 'db-node1' error: internal error: QEMU unexpectedly closed the monitor (vm='db-node1'): 2024-04-08Tqemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory   This issue is happening due to the wrong version of the packages:   # rpm -qa | grep qemu qemu-img-8.0.0-16.el9_3.1.x86_64 libvirt-daemon-driver-qemu-9.5.0-7.0.1.el9_3.x86_64 qemu-kvm-tools-8.0.0-16.el9_3.1.x86_64 qemu-pr-helper-8.0.0-16.el9_3.1.x86_64 qemu-kvm-docs-8.0.0-16.el9_3.1.x86_64 ipxe-roms-qemu-20200823-9.git4bd064de.el9_0.noarch qemu-kvm-common-8.0.0-16.el9_3.1.x86_64 qemu-kvm-device-display-virtio-gpu-8.0.0-16.el9_3.1.x86_64 qemu-kvm-ui-opengl-8.0.0-16.el9_3.1.x86_64 qemu-kvm-ui-egl-headless-8.0.0-16.el9_3.1.x86_64 qemu-kvm-device-display-virtio-gpu-pci-8.0.0-16.el9_3.1.x86_64 qemu-kvm-block-blkio-8.0.0-16.el9_3.1.x86_64 qemu-kvm-block-rbd-8.0.0-16.el9_3.1.x86_64 qemu-kvm-devic...

Snmpd Service Status Shows "Can't find directory of RPM packages" OEL 9

 One of the oracle linux service is encountering error saying cannot file directory of the RPM packages. # systemctl status snmpd ● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.      Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled)      Active: active (running) since  2024-03-13 16:24:10 <Tz>; 4s ago    Main PID: 6061 (snmpd)       Tasks: 1 (limit: 10913)      Memory: 11.1M         CPU: 61ms      CGroup: /system.slice/snmpd.service              └─6061 /usr/sbin/snmpd -LS0-6d -f   Mar 13 16:11:25 <hostname> systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon.... Mar 13 16:11:25 <hostname> snmpd[6061]: Can't find directory of RPM packages Mar 13 16:11:25  <hostname...

Oracle Cloud manager bakcup module failed - java.sql.SQLException: Non supported character set

    During PROD backup getting error “Based on the error: java.sql.SQLException: Non supported character set (add orai18n.jar in your classpath): AR8MSWIN1256” copy orai18n.jar file to Valid ORACLE_HOME [oracle@oraerpdb01n ~]$ cd $ORACLE_HOME [oracle@oraerpdb01n 19.0.0]$ find . -name orai8* [oracle@oraerpdb01n 19.0.0]$ find . -name orai18* ./oui/jlib/orai18n-collation.jar ./oui/jlib/orai18n-mapping.jar ./jlib/orai18n-tools.jar ./jlib/orai18n-translation.jar ./jlib/orai18n-collation.jar ./jlib/orai18n.jar ./jlib/orai18n-net.jar ./jlib/orai18n-mapping.jar ./jlib/orai18n-servlet.jar ./jlib/orai18n-lcsd.jar ./jlib/orai18n-utility.jar ./appsutil_xx/jre/lib/ext/orai18n.jar ./appsutil_xx/clone/jlib/oui/jlib/orai18n-collation.jar ./appsutil_xx/clone/jlib/oui/jlib/orai18n-mapping.jar ./appsutil_xx/clone/jlib/oui/orai18n-collation.jar ./appsutil_xx/clone/jlib/oui/orai18n-mapping.jar ./appsutil_xx/clone/jre/lib/ext/orai18n.jar ./appsutil/jre/lib/ext/orai18n.jar ./app...

OLVM installation on Oracle Linux 9

We were trying to install the ovirt engine and Oracle Linux 9 but we were not able to complete the installation successfully.  We should note that Oracle Linux 9 is not currently supported for the installation of KVM hosts and OLVM engine. The latest release of OLVM is OLVM 4.5, and it only supports Oracle Linux 8.8 or later versions.  Conclusion: So we recommend you to use last available version of Oracle Linux 8 for installation of oVirt engine 4.4.10/oVirt engine 4.5 and KVM Host on Server to avoid any issue. thanks for reading. regards, ZAHEER

Oracle Linux 9 Virtaul machine not bootable in KVM after Clone

In one of our customer Environments we cloned virtual machine using the disk and post clone completion virtual machine not booted up. The following Error occurred while booting up the VM. [ TIME ] Timed out waiting for device /dev/mapper/vg_rootdisk-volume. [DEPEND] Dependency failed for /filesystem [DEPEND] Dependency failed for D-Bus System Message Bus. Problem: File /etc/lvm/devices/system.devices configured with the disk_id of the OLVM disk image. If the VM is cloned the new VM will be on a new image with a different disk_id and that will prevent LVM from finding the logical volumes and hence its not able to boot the VM. Solution: Eidt /etc/lvm/devices/system.devices configuration file before creating the clone or copy. Change from IDTYPE=sys_serial and IDNAME= : # LVM uses devices listed in this file. # Created by LVM command lvmdevices pid 3503 at Jan 13 23:11:07 2024 VERSION=1.1.4 IDTYPE=sys_serial IDNAME=ad1a270f-10e9-41dc-a313-988d07e6b447 DEVNAME=/dev/sda2 PVID=...