Page 1 of 2

Guest Addition error on Oracle Linux 6.4 guest

Posted: 30. May 2017, 18:15
by kepler102
Hi,
I'm hoping you guys can help me. I have been trying to install the guest addition on the latest virtual box (5.1.22) with Oracle 6.4 as guest.
I tried installing updating the yum, and other tips on this site http://talesfromthedatacenter.com/archives/665 but i have this error still.

Code: Select all

/opt/VBoxGuestAdditions-5.1.22/init/vboxadd: line 237 /sbin/rcvboxadd-x11: No such file or directory
vboxadd.sh: failed: modprobe vboxsf failed
details of my guest OS.

Code: Select all

#uname -r
2.6.39-400.17.1.el6uek.x86_64

#rpm -qa *kernel* | sort
abrt-addon-kerneloops-2.0.8-43.0.1.el6.x86_64
dracut-kernel-004-409.0.3.el6_8.2.noarch
kernel-2.6.32-358.el6.x86_64
kernel-2.6.32-696.1.1.el6.x86_64
kernel-devel-2.6.32-696.1.1.el6.x86_64
kernel-firmware-2.6.32-696.1.1.el6.noarch
kernel-uek-2.6.39-400.17.1.el6uek.x86_64
kernel-uek-2.6.39-400.296.2.el6uek.x86_64
kernel-uek-devel-2.6.39-400.17.1.el6uek.x86_64
kernel-uek-devel-2.6.39-400.296.2.el6uek.x86_64
kernel-uek-firmware-2.6.39-400.17.1.el6uek.noarch
kernel-uek-firmware-2.6.39-400.296.2.el6uek.noarch
libreport-plugin-kerneloops-2.0.9-33.0.1.el6.x86_64
Thank you.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 30. May 2017, 19:44
by socratis
Moving to "Linux Guests" from "Windows Hosts", since your problem is clearly with the guest.

You may want to take a look at the official documentation, ch. 4.2.2. Guest Additions for Linux.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 08:20
by kepler102
I tried "rcvboxadd setup" before reinstalling the VBoxLinuxAdditions.run and i still got the same error.

Code: Select all

vboxadd-service.sh: VirtualBox Guest Addition service failed to stop.
/opt/VBoxGuestAdditions-5.1.22/init/vboxadd: line 237: /sbin/rcvboxadd-x11: No such file or directory
/etc/init.d/vboxadd: line 237: /sbin/rcvboxadd-x11: No such file or directory
I'm totally clueless now. I've been trying to install guest additions for days.
Thank you for replying. you have any idea what is happening here?

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 09:04
by Martin
Are you running your Linux guest in text only mode or in graphical desktop mode?

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 09:38
by kepler102
i'm using graphical desktop mode. I open a terminal to run the guest additions installer.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 13:33
by Perryg
/var/log/vboxadd-install.log on the guest should tell you what went wrong, and dmesg might tell you why the module is not getting loaded.

Also did you use the devices tab and insert guest additions to start the install or did you pull them in from a repo?

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 15:43
by kepler102
I did use the device tab.
vboxadd-install.log is long but here is the first few lines which i think will give a clue.

Code: Select all

make KBUILD_VERBOSE CONFIG_MODULE_SIG= -C /lib/modules/2.6.39-400.296.2.el6uek.x86_64/build 
SUBDIRS=/tmp/vbox.0 SCROOT=/tmp/vbox.0 -j1 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf
\
echo;
echo "ERROR Kernel configuration is invalid.";
echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
Thank you for replying.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 15:51
by Perryg
Echo code is just that. It means to echo that response if something is detected. The results would then be posted in the terminal when you run the script, so did you see that in the terminal when you ran the install script? Perhaps you should compress the log and post here as an attachment.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 16:12
by kepler102
I'm attaching the log file.
I appreciate your effort. thank you.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 16:29
by Perryg
The log shows a decent build and should work. Was this a clean install or did the guest already have the guest additions installed prior to this one?

Note: I am downloading 6.4 now to see if there are any abnormalities.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 19:14
by Perryg
I was able to install the additions and get them to work with the following packages:

Code: Select all

yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Now the kicker. I updated the OEL install and it failed due to missing headers and devel. Trying to install these returns not available so it looks like they have not added them to the public rpm repo yet. So until they do you will not be able to update.

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 31. May 2017, 23:28
by Perryg
Update: The repo finally synced, the devel packages installed and the guest additions were compiled so it appears to work as it should.

Note: the update will take the OS to version 6.9, and the kernel to 4.1.12-94.3.5.el6uek.x86_64

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 15. Jun 2017, 04:34
by kepler102
Hi Perry g,

I made a fresh installation of oracle linux 6.4 and did what you instructed below:

Code: Select all

yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
then installed the guest additions but im still having this error

Code: Select all

/opt/VBoxGuestAdditions-5.1.22/init/vboxadd: line 237: /sbin/rcvboxadd-x11: No such file or directory
/etc/init.d/vboxadd: line 237: /sbin/rcvboxadd-x11: No such file or directory[/b]
I edited public-yum-ol6.repo and enabled (1) the following: [ol6_latest], [ol6_addons], [ol6_UEKR3_latest][ol6_UEK_latest],

What am I still missing?

Code: Select all

[root@Berto1 log]# rpm -qa *kernel* | sort
abrt-addon-kerneloops-2.0.8-15.0.1.el6.x86_64
dracut-kernel-004-303.0.1.el6.noarch
kernel-2.6.32-358.el6.x86_64
kernel-devel-2.6.32-358.el6.x86_64
kernel-devel-2.6.32-696.3.1.el6.x86_64
kernel-firmware-2.6.32-358.el6.noarch
kernel-headers-2.6.32-696.3.1.el6.x86_64
kernel-uek-2.6.39-400.17.1.el6uek.x86_64
kernel-uek-devel-2.6.39-400.17.1.el6uek.x86_64
kernel-uek-firmware-2.6.39-400.17.1.el6uek.noarch
libreport-plugin-kerneloops-2.0.9-15.0.1.el6.x86_64
Thank you!

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 15. Jun 2017, 13:28
by Perryg
I am not sure what you need at this point. Did you do the yum update to get the latest packages installed? Also did you verify that when you ran the yum <package install> that there were no errors in the terminal? Notice that when I ran the update it took the build to 6.9 and the repo was slow to sync ( maybe an hour or so ).
oel_6.9.png
oel_6.9.png (198.17 KiB) Viewed 5090 times

Re: Guest Addition error on Oracle Linux 6.4 guest

Posted: 15. Jun 2017, 16:36
by kepler102
i enabled [public_ol6_UEKR4] from the public-yum-ol6.repo and performed the yum update. And i was able to update to 6.9 however the result of uname -r is different.

Code: Select all

[root@Berto1 VBOXADDITIONS_5.1.22_115126]# uname -r
2.6.39-400.17.1.el6uek.x86_64
[root@Berto1 VBOXADDITIONS_5.1.22_115126]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.9 (Santiago)

[root@Berto1 VBOXADDITIONS_5.1.22_115126]# rpm -qa *kernel* | sort
abrt-addon-kerneloops-2.0.8-43.0.1.el6.x86_64
dracut-kernel-004-409.0.3.el6_8.2.noarch
kernel-2.6.32-358.el6.x86_64
kernel-2.6.32-696.3.1.el6.x86_64
kernel-devel-2.6.32-358.el6.x86_64
kernel-devel-2.6.32-696.3.1.el6.x86_64
kernel-headers-2.6.32-696.3.1.el6.x86_64
kernel-uek-4.1.12-94.3.6.el6uek.x86_64
kernel-uek-devel-4.1.12-94.3.6.el6uek.x86_64
kernel-uek-firmware-4.1.12-94.3.6.el6uek.noarch
libreport-plugin-kerneloops-2.0.9-33.0.1.el6.x86_64
I again run the ./VBoxLinuxAdditions.run but still the same error. I don't know what's really wrong with this guest additions.