Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR -Unable to connect to qemu monitor (port 4000) #288

Open
anursharma opened this issue May 6, 2022 · 3 comments
Open

ERROR -Unable to connect to qemu monitor (port 4000) #288

anursharma opened this issue May 6, 2022 · 3 comments

Comments

@anursharma
Copy link

While creating a "vr-vmx" from repo "https://github.com/vrnetlab/vrnetlab" and using Juniper KVM image - 18.2, I received the following Error

failed to initialize KVM: Device or resource busy

2022-05-06 03:38:51,501: vrnetlab INFO Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 1)
2022-05-06 03:38:52,502: vrnetlab INFO Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 2)
2022-05-06 03:38:53,503: vrnetlab INFO Unable to connect to qemu monitor (port 4000), retrying in a second (attempt 3)

Please help.

@teymurov27
Copy link

Hi, did you solved it?

@plajjan
Copy link
Collaborator

plajjan commented Nov 2, 2023

Always include the complete command you ran and the full log output.

It seems you have some issue with KVM, so that is what you should troubleshoot. That the launch script cannot connect to qemu monitor is completely natural if the virtual machine is having some KVM related problem and thus won't start.

@teymurov27
Copy link

I was running vrnetlab on Rocky Linux 9.2, so my problem was vrnetlab couldn't find qemu-system-x86 which is qemu-kvm in Rocky Linux, I solved by creating a symbolic link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants