VMWare kernel headers not found


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers VMWare kernel headers not found
# 1  
Old 08-20-2013
VMWare kernel headers not found

This is the error:
http://imgur.com/1ywCKac

I've tried Googling forever. I've tried this command:
Code:
sudo apt-get install linux-headers-$(uname -r)

It says the package is not found.

Nothing works. Please help.
# 2  
Old 08-20-2013
This is pretty tough one. Depends on the OS you have got. Have you tried:
Code:
apt-cache search headers

Sometimes there are no headers coresponding to your currently running kernel therefore you got the error.
# 3  
Old 08-20-2013
It is quite simple: this is not one of the standard Debian or Ubuntu-kernels, but a OpenVZ-kernel. In fact, it is a RHEL-kernel, patched for usage as the kernel for a OpenVZ hardware node. Therefore you looked simply at the wrong place. You have to get it from the OpenVZ project.

But it even gets simpler: googling for "download kernel headers 2.6.32-042stab078.22" gave me as first hit:

https://wiki.openvz.org/Download/ker.../042stab078.22

Google is your friend, you know....

I hope this helps.

bakunin
# 4  
Old 08-20-2013
I tried installing the rpm file. I'm running Debian 7 wheezy BTW.

It didn't work, same error
# 5  
Old 08-20-2013
Quote:
Originally Posted by plsbbg
I tried installing the rpm file. I'm running Debian 7 wheezy BTW.
If you are running Debian you can't be running OpenVZ (and vice versa). OpenVZ is basically a kernel patch and you have to use the one for exactly your base kernel. Issue a uname -a and have a look for what kernel exactly you are running. Post its output here instead of letting us guess.

I took the kernel version you probably might run from the picture you linked here, but a display of "uname -a" would remove all doubt.

Finally: what "didn't work"? What exactly did you do and which results did you get? Were there error messages, error codes, can you show screen shots? (copy and paste the contents from the text console and put it here using CODE-tags instead of some graphical window which shows nothing). You come across like someone who - instead of visiting his doctor - just calls him and says "it's aching somewhere - what is your diagnose?".

bakunin

Last edited by bakunin; 08-23-2013 at 06:01 AM.. Reason: typo
# 6  
Old 08-20-2013
Quote:
Originally Posted by bakunin
If you are running Debian you can't be running OpenVZ (and vice versa). OpenVZ is basically a kernel patch and you have to use the one for exactly your base kernel. Issue a uname -a and have a look for what kernel exactly you are running. Post its output here instead of letting us guess.

I took the kernel version you probably might run from the picture you linked here, but a display of "uname -r" would remove all doubt.

Finally: what "didn't work"? What exactly did you do and which results did you get? Were there error messages, error codes, can you show screen shots? (copy and paste the contents from the text console and put it here using CODE-tags instead of some graphical window which shows nothing). You come across like someone who - instead of visiting his doctor - just calls him and says "it's aching somewhere - what is your diagnose?".

bakunin
"Uname -a" gives me "2.6.32-042stab078.22". And by "didn't work" I mean it installs successfully, but when I try to open VMware player I get the same error as I screenshotted above
# 7  
Old 08-20-2013
Quote:
Originally Posted by plsbbg
"Uname -a" gives me "2.6.32-042stab078.22". And by "didn't work" I mean it installs successfully, but when I try to open VMware player
Somehow i do not believe this to be the output of "uname -a", but this is just an aside.

It will surely help to solve your problem if you do not take arbitrary bits of information you deem important out of command outputs (if your sense of what is important would be so hot stuff why haven't you solved your problem alone?) but in fact provide the information you are asked for. I suggest you read the classic: How to Ask Questions the Smart Way.

You run a RHEL OpenVZ kernel and therefore i doubt you are on a Debian system at all. Using OpenVZ and then "start VMWare player" is just as well not making sense: use "vzctl" to manage virtual machines, this is the whole point of having OpenVZ installed, no?


I hope this helps.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Download kernel-uek-headers-2.6.32-100.28.5.el6.x86_64

i am in process to fullfill pre-requisites to install R12.1.1 on redhat 6.1 i have to install this rpm kernel-uek-headers-2.6.32-100.28.5.el6.x86_64 i could not find this in source media and not in some other place. please help me to install this rpm. (2 Replies)
Discussion started by: rehantayyab82
2 Replies

2. Debian

Headers for kernel 2.6.26-2-xen-686

Hello, I am having hard time finding 2.6.26-2-xen-686 headers. Anyone know where i can find them ? Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

3. Linux

Live Knoppix on usb sdb2 kernel not found

Hi all I have a usb external drive with two partitions sdb1 ntfs and sdb2 ext3 with label Linux I copied a knoppix live distro in the second partition, then I installed grub on the drive. Now in the directory /media/sdb2/boot/grub i have the file device.map with the following content: (hd0) ... (4 Replies)
Discussion started by: guast
4 Replies

4. Shell Programming and Scripting

Merging of files with different headers to make combined headers file

Hi , I have a typical situation. I have 4 files and with different headers (number of headers is varible ). I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only). For example - File 1 H1|H2|H3|H4 11|12|13|14 21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies

5. UNIX for Advanced & Expert Users

kernel debug:"Symbol file not found for *.ko"

When I debug vmlinux with gdb, after it connect to the target, I got below output: usbcore.ko: No such file or directory. Error while mapping shared library sections: ohci_hcd.ko: No such file or directory. Symbol file not found for usbcore.ko Symbol file not found for ohci_hcd.ko Symbol... (2 Replies)
Discussion started by: yanglei_fage
2 Replies

6. Shell Programming and Scripting

Remove text between headers while leaving headers intact

Hi, I'm trying to strip all lines between two headers in a file: ### BEGIN ### Text to remove, contains all kinds of characters ... Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c om/updates/ Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies

7. Debian

Kernel source not found. (can't install network card drivers)

I've had no luck with help on linuxquestions so I figured I'd try here. I'm using debian etch. The problem is that I can not install my network card because it says: Makefile:62: *** Linux kernel source not found. Stop. I have the kernel-headers installed. I've looked all over the... (9 Replies)
Discussion started by: Virtuality
9 Replies

8. Red Hat

error : kernel panic: No init found

helo, my system is runing on redhat 9.0. but now when i run my machine i got the following error. Kernel Panic:No init found. try passing init = option to kernel. i dont have any idea about linux administration. can u help me to solve this error Thanks and Regards,... (2 Replies)
Discussion started by: amitpansuria
2 Replies

9. Red Hat

kernel-headers rpm

All, Does the (kernel-headers) rpm required for recompiling the Linux 2.6.11.6 kernel? Knowing that the base OS is RedHat 9 with kernel 2.4.20-8. (rpm -q kernel-headers) shows that it is not installed however (kernel-source) rpm is installed. If so, can you please provide from... (2 Replies)
Discussion started by: Negm
2 Replies

10. Linux

kernel panic: No init found

Hi linux pals, I am installing red hat linux 7.2 on my laptop which already has a windows XP installation on it. After successful installation when i boot to the linux system the system hangs showing the following error: Kernel panic: No init found. Try passing init= option to kernel I... (5 Replies)
Discussion started by: linuxpenguin
5 Replies
Login or Register to Ask a Question