Sunday, June 19, 2016

VMWare Player not running on RH Linux 6 or 7

Symptoms: The VMWare Player (no specific version) was just installed on RedHat/Oracle Linux but when trying to run it presents the message: Kernel Headers for version X not found.

Cause: This is because to accomplish the VM Player installation, it will be required to compile its libraries and for that the Linux kernel source is part of the job.

Solution: You should installe the kernel headers but needs to be match exactly with the release of your SO:

Here you find out the release number:
$ uname -r

So now that you have the complete release number, you can proceed with Yum utility and install it with the command:
$ yum install kernel-uek-devel-3.8.13-44.1.1.el6uek.x86_64 


Before proceeding, just make sure the following note:

Option 1:
If you have configured your Yum repository pointing out to your DVD or .ISO, just go ahead because Yum will find out the same version you have installed the Linux Release.

Option 2:
Your Yum repository is point to the web repository from RedHat or Oracle Linux.

So before that configure the Yum to get exactly the version you need. Here you will make use of the "uname -r" command to find out. Leave Enabled only the Release number that corresponds to your OS:
Example of your repo list:
    [public_ol6_u6_base]
    [public_ol6_UEK_latest]
    [public_ol6_UEKR3_latest]

Update the yum repository
$ yum clean
$ yum update

List the repositories available
$ yum list kernel-uek.*

Install the kernel headers "exactly" with the Release of your SO. Make sure those two Releases are the same:
$ uname -r
$ yum install kernel-uek-devel-3.8.13-44.1.1.el6uek.x86_64

- Verify if the files required are installed correctly and there is no invalid symbolic links:
$ ll /usr/src/kernels/3.8.13-44.1.1.el6uek.x86_64/
$ ll /lib/modules/3.8.13-44.1.1.el6uek.x86_64/

If the symbolic links are not ok, recreate in case:
$ ln -s /usr/src/kernels/3.8.13-44.1.1.el6uek.x86_64/ build

Check how your repository is configured:
$ yum --showduplicates list kernel-uek-devel


At this moment with all steps performed and validated, open up the VM Player and it will work.

Cheers.

No comments:

Post a Comment

Configure the Oracle DB Access Control List to avoid error like ORA-24247: network access denied

Symptoms:  You try to make external connections from the Oracle Database and receive erros like ORA-24247: network access denied by access c...