cert-ee/cuckoo3

Constraint violation for key qcow2_path

Closed this issue · 3 comments

xFlum3 commented

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

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.

@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.

Closing the issue due to inactivity