Solved Cannot start virtualbox

If I am tried to start virtualbox, I got:
Code:
RTR3InitEx failed with rc=-58 (rc=-58)

Please try reinstalling VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_NO_TRANSLATION (-58) - Error while characters translation (unicode and so).

Does someone know this error?

Version: virtualbox-ose-5.2.12
 
Try running it with a 'normal' English locale, it looks like it may have problems with your language settings.
 
.login_conf:

Code:
me:Your_user:\
    :charset=UTF-8:\
    :lang=en_US.UTF-8:\
    :setenv=LC_COLLATE=C:

I don't want to change the login.conf settings.


Edit: tried this change. But the result and the error message was the same.
locale now:
Code:
locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE=C
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=C
LC_ALL=
 
Tried to install package, no change.
Tried to recompile (and also tried downgrade to 5.10.2). Both failed with:
Code:
se/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap)
kBuild: Generating DTrace Provider for the VBox API (from XIDL)
/ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/VBoxAPI.d.ts -> /ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/VBoxAPI.d
kBuild: Generating VBoxAPIWrap - /ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/dtrace/dtrace/VBoxAPI.h
kmk: *** [/ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/dtrace/dtrace/VBoxAPI.h] Error 1
The failing command:
@/ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxTpG/VBoxTpG -h --ring-3-context -o "/ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/dtrace/dtrace/VBoxAPI.h" -s "/ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/VBoxAPI.d"
*** Error code 2
Code:
ls: /ram/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.12/out/freebsd.amd64/release/obj/VBoxAPIWrap/dtrace/dtrace/VBoxAPI.h: No such file or directory
 
Ah, ok. It was a hunch. That should only be used during build, if memory serves me right. I'd suggest to try an in-dir build to check is something needs to have the prefix added.
 
you have three fix it choices. use binary qemu (but you'd be forced to use same freebsd developer did, no). compile the dependents (packages / libs) first - which you may not be able to do (qemu may use ubuntu libs that are cross picked to mismatch your version of libs). or you can compile without support for unicode (who knows how hard that will be to edit out?)

actually the previous poster may be right: it may be your not using simple language settings in the shell that starts qemu and qemu might work with UTF-8 or some other setting.

The only reason i didn't delete this post:

Note what kinds of problems Qemu presents for FreeBSD. If a working Qemu is not produced (by someone) for every FreeBSD release then FreeBSD users are F'ed.
 
We stay in 1980, that is must be :)

Did You have a /home/YourUsername/.config/VirtualBox/VirtualBox.xml and /home/YourUsername/.config/VirtualBox/VirtualBox.xml-prev?
there is this section.

<ExtraDataItem name="GUI/LanguageID" value="de"/>

youst chenge it :D
 
Ane one more thing, when You typing # VirtualBox from root console, VM starting normally?

Can You paste log from user console $ VirtualBox
 
=> <ExtraDataItem name="GUI/LanguageID" value="de"/>
I don't have such line.
Also does not start with root, same error message.
 
Ok.

<ExtraDataItem name="GUI/LanguageID" value="nl"/> should be beetween <ExtraData> </ExtraData> section in bought files.

This is a default from #root. (I add <ExtraDataItem name="GUI/LanguageID" value="se"/> by hand) You should be have the same. If I change locale in file, then VirtualBox GUI change language too.

Code:
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.12-freebsd">
  <Global>
    <ExtraData>
      <ExtraDataItem name="GUI/LastWindowPosition" value="2320,225,800,450"/>
      <ExtraDataItem name="GUI/LanguageID" value="de"/>
      <ExtraDataItem name="GUI/SplitterSizes" value="265,531"/>
      <ExtraDataItem name="GUI/Toolbar/MachineTools/Order" value="None"/>
    </ExtraData>
    <MachineRegistry/>
    <NetserviceRegistry>
      <DHCPServers>
        <DHCPServer networkName="HostInterfaceNetworking-vboxnet0" IPAddress="192.168.56.100" networkMask="255.255.255.0" lowerIP="
      </DHCPServers>
    </NetserviceRegistry>
    <SystemProperties defaultMachineFolder="/root/VirtualBox VMs" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webService
    <USBDeviceFilters/>
  </Global>
</VirtualBox>

########################################################################################

My file:

Code:
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.12-freebsd">
  <Global>
    <ExtraData>
      <ExtraDataItem name="GUI/DetailsPageBoxes" value="general,system,previewClosed,display,storage,audio,network,usb,sharedFolders,description"/>
      <ExtraDataItem name="GUI/GroupDefinitions/" value="m=527aa15a-2e41-43ee-b04a-3b9c2523a262,m=411a2c09-813c-4ee3-bce6-47206e9c92be,m=94a5a555-d170-4763-b986-715efb58b248"/>
      <ExtraDataItem name="GUI/LanguageID" value="du"/>
      <ExtraDataItem name="GUI/LastItemSelected" value="m=winxp"/>
      <ExtraDataItem name="GUI/LastWindowPosition" value="2398,190,770,466"/>
      <ExtraDataItem name="GUI/RecentFolderCD" value="/home/komputer/wspolny/Windows10"/>
      <ExtraDataItem name="GUI/RecentListCD" value="/home/komputer/wspolny/Windows10/W10AUORG1607X64.iso,/home/komputer/Downloads/Windows.XP.SP3.PL.MrFreeze.iso,/home/komputer/wspolny/Windows.10.PL.Styczen.2017.WinClub.64bit/W10AUORG1607X64.iso"/>
      <ExtraDataItem name="GUI/SplitterSizes" value="234,532"/>
      <ExtraDataItem name="GUI/SuppressMessages" value="remindAboutAutoCapture,remindAboutMouseIntegration,confirmResetMachine,warnAboutInaccessibleMedia,confirmGoingFullscreen,confirmPowerOffMachine"/>
      <ExtraDataItem name="GUI/Toolbar/GlobalTools/Order" value="HostNetwork,VirtualMedia"/>
      <ExtraDataItem name="GUI/Toolbar/MachineTools/Order" value="None"/>
    </ExtraData>
    <MachineRegistry>
      <MachineEntry uuid="{527aa15a-2e41-43ee-b04a-3b9c2523a262}" src="/home/komputer/VirtualBox VMs/winxp/winxp.vbox"/>
      <MachineEntry uuid="{411a2c09-813c-4ee3-bce6-47206e9c92be}" src="/home/komputer/VirtualBox VMs/Windows10/Windows10.vbox"/>
      <MachineEntry uuid="{94a5a555-d170-4763-b986-715efb58b248}" src="/home/komputer/VirtualBox VMs/hhhh/hhhh.vbox"/>
    </MachineRegistry>
    <NetserviceRegistry>
      <DHCPServers/>
    </NetserviceRegistry>
    <SystemProperties defaultMachineFolder="/home/komputer/VirtualBox VMs" defaultHardDiskFormat="VDI" VRDEAuthLibrary="VBoxAuth" webServiceAuthLibrary="VBoxAuth" LogHistoryCount="3" exclusiveHwVirt="true"/>
    <USBDeviceFilters/>
  </Global>
</VirtualBox>
 
I have keymap=german.iso. But I don't understand it worked without problems til two weeks ago. And now this....
 
Back
Top