vboxmanage: command not found

Install virtual machines on your TNAS;
Locked
User avatar
ellowsmile
Posts: 7
Joined: 20 Sep 2024, 01:17
Russia

vboxmanage: command not found

Post 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.
F4-423
User avatar
ellowsmile
Posts: 7
Joined: 20 Sep 2024, 01:17
Russia

Re: vboxmanage: command not found

Post 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?
F4-423
User avatar
EthanLiu
TM Product Manager
Posts: 177
Joined: 13 Nov 2023, 14:25
China

Re: vboxmanage: command not found

Post 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.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
zeleny
Posts: 5
Joined: 30 Sep 2024, 02:56
Russia

Re: vboxmanage: command not found

Post 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.
User avatar
ellowsmile
Posts: 7
Joined: 20 Sep 2024, 01:17
Russia

Re: vboxmanage: command not found

Post 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.
F4-423
Locked

Return to “Virtual Machines”