Page 1 of 1

vboxmanage: command not found

Posted: 13 Oct 2024, 06:37
by ellowsmile
I downloaded the VBox application (TOS 6.0.507). Created a Windows 11 virtual machine. But over time, I began to notice how the virtual machine file (.vdi) increases in size and does not decrease when deleting files on the virtual machine.
On the Internet, I found the SDelete utility with instructions on what to do. I performed the procedure in the virtual machine. But I encountered a problem running the procedure "vboxmanage modifymedium --compact /path/to/thedisk.vdi". In the SSH terminal (connection to TNAS), I get an error that "-bash: vboxmanage: command not found". As I understand, this is an incorrect command or it does not exist.
What should I do? How can I reduce the size of a virtual machine file with the "*.vdi" extension? Are there any instructions for use? Or tell me how to configure the virtual machine so that the file does not increase in size.

Re: vboxmanage: command not found

Posted: 13 Oct 2024, 07:04
by ellowsmile
I figured out what the problem is and where the vboxmanage file is (/usr/lib/virtualbox/VBoxManage)
But now when I start it I get an error
/usr/lib/virtualbox/VBoxManage: /lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /usr/lib/virtualbox/VBoxRT.so)
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

What am I doing wrong?

Re: vboxmanage: command not found

Posted: 13 Oct 2024, 16:43
by EthanLiu
ellowsmile wrote: 13 Oct 2024, 07:04
Thank you for your feedback. We will verify the issues you raised in the laboratory. Please be patient and wait for our response.

Re: vboxmanage: command not found

Posted: 10 Nov 2024, 04:19
by zeleny
ellowsmile wrote: 13 Oct 2024, 07:04
Hi!
To start VirtualBoxManage, navigate to the directory /usr/local/virtualbox/bin.
Then, in the terminal, enter ./vboxmanage to execute it.

Or write me private message in russian, I will try to help you.

Re: vboxmanage: command not found

Posted: 11 Nov 2024, 13:37
by ellowsmile
zeleny wrote: 10 Nov 2024, 04:19
ellowsmile wrote: 13 Oct 2024, 07:04
Hi!
To start VirtualBoxManage, navigate to the directory /usr/local/virtualbox/bin.
Then, in the terminal, enter ./vboxmanage to execute it.

Or write me private message in russian, I will try to help you.
Thank you. I solved the problem myself) Deleted the virtual machine and created a new one.