VBoxHeadless on Solaris 10 U4

Discussions related to using VirtualBox on Solaris hosts.

VBoxHeadless on Solaris 10 U4

Postby mrhbit » 20. May 2008, 14:23

Hi@

I have 2 Solaris 10 machines, one with U4, the other with U5.
On version U5 VBoxHeadless runs perfectly and on U4 I see the following error:
---
...
Listening on port 3389
Error: failed to start machine. Error message: Unable to load R3
module /opt/VirtualBox/VBoxDD.
VBox status code: -102 (VERR_FILE_NOT_FOUND)
...
---

!!! PLEASE USE THIS WITH CAUTION !!!

Well, the output of "ldd ...VBoxDD.so" doesn't show a missing library. So I compared the file size of the used libraries and there are differences in 'libc.so.1,libaio.so.1,libnsl.so.1'.
As far as I know, "nsl" has somthing to do with network/security, so I replaced this version (of course with backup) with the U5 version and it works.

I also rebooted my machine after this replacement and all things runs good.

!!! BUT PLEASE USE THIS WITH CAUTION !!!

best regards
Soeren
mrhbit
 
Posts: 13
Joined: 11. Jul 2007, 10:07
Location: Stuttgart

Postby tjobbins » 18. Aug 2008, 04:40

Thanks for the tip mrhbit

There's a much safer way to do the same thing though - copy libnsl.so.1 from U5 to U4, but put it into /opt/VirtualBox (do not overwrite the default /lib/ version)

Then use something like the following to execute VBoxHeadless:

serv3:~$ LD_LIBRARY_PATH=/opt/VirtualBox:/opt/VirtualBox/qtgcc/lib:/lib:/opt/sfw/lib VBoxHeadless -s XPTest1

VirtualBox Headless Interface 1.6.4
(C) 2008 Sun Microsystems, Inc.
All rights reserved

Listening on port 13389

This way you will only use the foreign libnsl for executing VBoxHeadless and will not risk incompatibilities with the rest of your system.
tjobbins
 
Posts: 11
Joined: 18. Aug 2008, 00:52


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 1 guest