LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   VMware Server Install Problems (https://www.linuxquestions.org/questions/linux-server-73/vmware-server-install-problems-605786/)

defa0009 12-10-2007 06:54 AM

VMware Server Install Problems
 
----------------------------------------------------------------------
The Initiative: Install VMware Server
----------------------------------------------------------------------


I'm trying to install VMware Server on CentOS 5 but I'm having
problems and would appreciate any help. I am running the installer
for VMWare Server and have hit a wall. Seems like it can't find some
C Headers and gives this error:



The path "/usr/src/linux/include" is a kernel header file directory,
but it does not contain the file "linux/version.h" as expected. This
can happen if the kernel has never been built, or if you have invoked
the "make mrproper" command in your kernel directory. In any case, you
may want to rebuild your kernel.

What is the location of the directory of C header files that match your
running kernel? [/usr/src/linux/include]


BTW I had to create a symbolic link to another directory since the /usr/src/linux/include did not exist:
ln -s /usr/lib/syslinux/com32/include /usr/src/linux/include

I also installed the latest kernel in hopes that it would majically make the directory /usr/src/linux/include:
Installed: kernel.i686 0:2.6.18-53.1.4.el5
Complete!


----------------------------------------------------------------------
The Problem: System Does not boot into Desktop
----------------------------------------------------------------------


After installing the kernel (don't think I did that right) my machine
doesn't boot into my Desktop anymore. I just get a command line login.
I then try a startx and only one screen comes on when I used to have 2
screens. Also when I open a terminal window it says 'bash#' when it
used to have [root@RedhatRick Desktop]#

I don't think the kernel install has taken, when I looked in the folder
there was a file that had a note 'broken link' beside it? And when
I did a 'uname -a or -r' it should an older version from September 2007
when I can see a folder for December 2007?


Any help would be much appreciated!!!

dguitar 12-10-2007 07:30 AM

Quote:

Originally Posted by defa0009 (Post 2985874)
What is the location of the directory of C header files that match your
running kernel? [/usr/src/linux/include]

FYI - /usr/src/linux/include is default for some distros - however, what VMWare is saying is - that is the default, if yours is in a different spot tell VMWare where it is. You don't need to setup a link to it, or try to get it in that folder. Just tell it where it actually is.

So you didn't need to install a new Kernel. Just the kernel headers for your kernel...

defa0009 12-10-2007 07:47 AM

Quote:

Originally Posted by dguitar (Post 2985899)
Just tell it where it actually is.

I tried specifying '/usr/lib/syslinux/com32/include' and it kepted complaining that no linux directory was found under it. It expects a linux directory for some reason?

Quote:

Originally Posted by dguitar (Post 2985899)
So you didn't need to install a new Kernel. Just the kernel headers for your kernel...

I'm pretty new so I don't know how to do that? I take I can do this with Yum?

dguitar 12-10-2007 08:01 AM

Pretty good How-To

Here is a link to a good how to for CentOS 5 and VMWare Server. You shouldn't need to worry about the 'libXtst.so.6' issue that this person discusses.

defa0009 12-10-2007 08:21 AM

Thanks this lloks promising... I'll try it tonight and report back.

BTW do you have any ideas how I can get my machine to boot normally again (as I explained above)? Or maybe I should start a new thread with just that question in it?

trickykid 12-10-2007 08:27 AM

Most likely you need to download the 3rd party vmware-any-any-updateXXX.tar.gz patch. You can find it here: http://knihovny.cvut.cz/ftp/pub/vmware/

I think the latest is vmware-any-any-update115.tar.gz

defa0009 12-24-2007 07:38 AM

Thanks guys... I finally got VMware Server runing on CentOS 5


All times are GMT -5. The time now is 06:52 PM.