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

Constraint violation for key qcow2_path #80

Open
xFlum3 opened this issue Dec 18, 2023 · 2 comments
Open

Constraint violation for key qcow2_path #80

xFlum3 opened this issue Dec 18, 2023 · 2 comments
Assignees
Labels
setup Problems related to Cuckoo3 setup

Comments

@xFlum3
Copy link

xFlum3 commented Dec 18, 2023

Hey guys,
Trying to install cuckoo but when i use the command "cuckoo" i am getting an errors that i cannot understand how to fix.

** My Cuckoo version and operating system are::**
Cuckoo 3.0.1, Ubuntu 22.04

The log, error, files etc can be found at:
2023-12-18 20:38:48 INFO [cuckoo.startup]: Starting Cuckoo. cwd=/root/.cuckoocwd
2023-12-18 20:38:48 INFO [cuckoo.startup]: Loading configurations
2023-12-18 20:38:48 ERROR [cuckoo.common.log]: Failure during Cuckoo startup: Failed to load config file /root/.cuckoocwd/conf/machineries/qemu.yaml. Error in config file: /root/.cuckoocwd/conf/machineries/qemu.yaml. Constraint violation for key qcow2_path: Path /home/cuckoo/.vmcloak/vms/qemu/win10_1/disk.qcow2 is not readable
Stopping Cuckoo..
Failure during Cuckoo startup: Failed to load config file /root/.cuckoocwd/conf/machineries/qemu.yaml. Error in config file: /root/.cuckoocwd/conf/machineries/qemu.yaml. Constraint violation for key qcow2_path: Path /home/cuckoo/.vmcloak/vms/qemu/win10_1/disk.qcow2 is not readable

@Cryss76
Copy link
Contributor

Cryss76 commented Jan 5, 2024

if you can call the cuckoo command you already installed cuckoo. Don't run cuckoo as root or use the /rootdirectory. I'm guessing you just ran the cuckoo command without creating or configurating the vms therefore the vm-image (*.qcow2) isn't there.

@cert-ee-raidar
Copy link
Contributor

cert-ee-raidar commented Jul 10, 2024

@Cryss76 answer is correct.
Do not run cuckoo3 as root user.
The error message tells you, like Cryss76 pointed out, that your vm image does not exist.
So solve it, use VMCloak to create the VM(s).
@xFlum3 Please let me know if your issue has been resolved so I can close the issue.

@cert-ee-raidar cert-ee-raidar self-assigned this Jul 10, 2024
@cert-ee-raidar cert-ee-raidar added the setup Problems related to Cuckoo3 setup label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup Problems related to Cuckoo3 setup
Projects
None yet
Development

No branches or pull requests

3 participants