Try ERPNext Buy Support Partners Foundation

Oracle VM Error

Hi Friends,
I have Oracle VM i.e. OVA Image on one machine having OVM Ver 5.2.26 and exported OVA appliance from this machine to another machine on which hving OVM Ver 6.0.6 into which Trying to Import the appliance. While importing it gives an error.

Failed to import appliance D:\ERPNext 10.1.64\ERPNext-Production-20180331183346.ova.

Result Code: E_INVALIDARG (0x80070057)

Request you to find below screenshots for your ready reference.

erpnerr1

Please HELP.

@ashishdesai

Thank you for sharing this.

Please check your original VM settings.

Thr 1Gb RAM on the new VM seems not enough tough.

The environment setup should be the same.

Hope this helps.

@krnkris
If I checked out the Logs from the Source Machine, it shows following.

00:00:03.669402 Drag and drop mode: Host to Guest
00:00:03.671990 ************************* CFGM dump *************************
00:00:03.671993 [/] (level 0)
00:00:03.671998 CSAMEnabled = 0x0000000000000001 (1)
00:00:03.672001 CpuExecutionCap = 0x0000000000000064 (100)
00:00:03.672003 EnablePAE = 0x0000000000000001 (1)
00:00:03.672005 HMEnabled = 0x0000000000000001 (1)
00:00:03.672007 MemBalloonSize = 0x0000000000000000 (0)
00:00:03.672009 Name = “ERPNext-Production-20180331183346” (cb=34)
00:00:03.672011 NumCPUs = 0x0000000000000001 (1)
00:00:03.672013 PATMEnabled = 0x0000000000000001 (1)
00:00:03.672014 PageFusionAllowed = 0x0000000000000000 (0)
00:00:03.672015 RamHoleSize = 0x0000000020000000 (536 870 912, 512 MB)
00:00:03.672018 RamSize = 0x0000000040000000 (1 073 741 824, 1 024 MB)
00:00:03.672021 RawR0Enabled = 0x0000000000000001 (1)
00:00:03.672022 RawR3Enabled = 0x0000000000000001 (1)
00:00:03.672023 TimerMillies = 0x000000000000000a (10)
00:00:03.672025 UUID = “28 30 10 51 45 57 3b 4a a0 e8 b7 af d7 73 6d 23” (cb=16)

Which means, the Guest OS RAM is also 1024 MB = 1 GB Only.
Please suggest.

It seem this .ova is already in your container. Can’t overwrite.

In VIRTUALBOX open
ACTIVITIES drop down menu ( firs one on top left)
Open the Virtual media administration (CTRL+D)
Then clear all files in container.

Then try to import the .ova

Hope it helps.

1 Like

@krnkris…Thank you very much for your response.

I have used very basic / practical approach is just to copy the whole folder from C:\Users<ABCD>\VirtualBox VMs\ERPNext-Production-20180331183346 to some other machine and pasted it.

Then, OVM has started with the complete old environment and without any issue.

Unfortunately, its 11GB of Size. So, can anybody help in reducing it to some few MBs ?

However, need your or anybody who can help to Export / Import Data and or Backup / Restore Complete Environment with some few commands and things can be easily replicated from one machine to another.

Looking forward for IDEAS…!!!

@ashishdesai

If you use Virtualbox, or other virtualisation and want to move to a different machine, then the best to STOP you instance and EXPORT the whole machine. Then on the other machine you just IMPORT it.

This can happen in Virtualbox Tools menu, but only after you STOP your running environment.

Hope this helps.

I am facing the same error anyone resolved this issue?

This issue occurs for me because of no disk space

1 Like

HI Friends,

Facing an issue while importing an image into Virtual Box 6.1.6

Refer above Screenshot and Please HELP.

Regards,
[Ashish Desai]
+919638843229

Hi a web search on that ‘invalid arg’ error turns up this
https://www.virtualbox.org/ticket/18343

that advises to confirm your Windows host has enough disk space? My guess is you need probably in the order of a few 10s of GB of space?

I am not a VB or Windows user so others or a web or doc search will give you specific details how to do that.

Temporarily my issue has been sorted out for Importing the Image to the Oracle Virtual Box.

However, It shows 11 GB of the consumption on the Disk Storage.

How do we can compress or make less usage of storage drive ?

Secondly, is it possible to mount the said Image into windows 10 linux subsystem ? How ? What are the potential advantages / disadvantages and or issues ?

Does any one have tried it out ?