Guest Addition error on Oracle Linux 6.4 guest

Discussions about using Linux guests in VirtualBox.
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Guest Addition error on Oracle Linux 6.4 guest

Post 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.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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?
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Guest Addition error on Oracle Linux 6.4 guest

Post by Martin »

Are you running your Linux guest in text only mode or in graphical desktop mode?
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Re: Guest Addition error on Oracle Linux 6.4 guest

Post by kepler102 »

i'm using graphical desktop mode. I open a terminal to run the guest additions installer.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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?
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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.
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Re: Guest Addition error on Oracle Linux 6.4 guest

Post by kepler102 »

I'm attaching the log file.
I appreciate your effort. thank you.
Attachments
vboxadd-install.log.gz
(6.13 KiB) Downloaded 12 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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 5010 times
kepler102
Posts: 10
Joined: 26. Jun 2014, 11:25

Re: Guest Addition error on Oracle Linux 6.4 guest

Post 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.
Post Reply