Page 1 of 1

VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 4. Jul 2014, 10:32
by Pok
I am trying to set up guest additions on a Linux guest (kernel 2.6.32.62).
After running the installer I get the kernel modules, see them loaded too if I run lsmod: vboxsf, vboxvideo and vboxguest
But trying to run VBoxService (manually or at boot) results in the error mentioned in the subject.
I can mount shared folders.
However the mouse does not work (not sure if it is related).
X is a really old version: X Window System 6.3.2.

What is the cause of the error, how can I solve it, or can I safely ignore it?

Re: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 4. Jul 2014, 11:14
by socratis
Just a note: VBoxService is a third-party application. You should take a look at their support site.

Re: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 4. Jul 2014, 11:21
by loukingjr
socratis wrote:Just a note: VBoxService is a third-party application. You should take a look at their support site.
I think that's VBoxVmService.

Re: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 4. Jul 2014, 11:42
by socratis
Oops... My bad :oops:

Re: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 4. Jul 2014, 11:45
by loukingjr
socratis wrote:Oops... My bad :oops:
lol the OP did the same thing.

edit: or maybe not... see what you started? ;)

Re: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 4. Jul 2014, 13:41
by frank
To debug this problem, please start VBoxService like this as root:

Code: Select all

strace -f -s128 -o log.txt /sbin/VBoxService -f
It might also help to start VBoxService with additional logging:

Code: Select all

/sbin/VBoxService -fvvv
The strace log should show the file which is tried to be opened and couldn't be found. The second log file could help as well. The '-f' parameter prevents that VBoxService goes a daemon but stays in the foreground instead. Before starting VBoxService you should of course make sure that there are no other instances of this service running.

Re: VbglR3Init failed with rc=VERR_FILE_NOT_FOUND

Posted: 5. Jul 2014, 13:29
by Pok
It turns out /dev/vboxguest cannot be opened.
Now I have to figure out why udev does not create the device node.
That and the /dev/vboxuser one.
Thanks for reminding me that strace exists. :-D