Results 1 to 4 of 4

Thread: Could not read keymap file: 'en-us' KVM error

  1. #1
    Join Date
    Oct 2004
    Beans
    407
    Distro
    Ubuntu 20.04 Focal Fossa

    Could not read keymap file: 'en-us' KVM error

    Hi Guys,

    did some updates on Ubuntu18LTS server with only KVM server installed. It took a keyboard update of some sort. Now I can't start a virsh vm:

    Code:
    root@serv:/home/adminpc# virsh start mailserv
    error: Failed to start domain mailserv
    error: internal error: process exited while connecting to monitor: Could not read keymap file: 'en-us'
    
    root@serv:/home/adminpc# systemctl enable virtlogd.socket & systemctl start virtlogd.socket
    [1] 1852
    [1]+  Done                    systemctl enable virtlogd.socket
    root@serv:/home/adminpc# virsh start mailserv
    error: Failed to start domain mailserv
    error: internal error: process exited while connecting to monitor: Could not read keymap file: 'en-us'
    
    root@serv:/home/adminpc# systemctl status virtlogd.socket
    ● virtlogd.socket - Virtual machine log manager socket
         Loaded: loaded (/lib/systemd/system/virtlogd.socket; enabled; vendor preset: enabled)
         Active: active (running) since Mon 2021-09-27 17:37:16 MDT; 3min 10s ago
       Triggers: ● virtlogd.service
         Listen: /run/libvirt/virtlogd-sock (Stream)
          Tasks: 0 (limit: 115886)
         Memory: 0B
         CGroup: /system.slice/virtlogd.socket
    
    Sep 27 17:37:16 serv systemd[1]: Listening on Virtual machine log manager socket.
    root@serv:/home/adminpc#
    Anyone can help me with this error?

    Regards

  2. #2
    Join Date
    Oct 2004
    Beans
    407
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Could not read keymap file: 'en-us' KVM error

    Hi

    Anyone able to assist me?

    Regards

  3. #3
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Could not read keymap file: 'en-us' KVM error

    Look for this file:
    Code:
    /usr/share/qemu/keymaps/en-us
    Open it with a text editor to confirm it is readable...

    If not... look in
    Code:
    /var/log/apt/history.log
    And search on "qemu" to see which packages where installed and if there where any errors on installing those packages... You may have to reinstall those packages.

    Concurrent coexistance of Windows, Linux and UNIX...
    Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    UbuntuForums system-info Script

  4. #4
    Join Date
    Oct 2004
    Beans
    407
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Could not read keymap file: 'en-us' KVM error

    Ok thank you, will do.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •