[/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Issues related to applications and software problems
Post Reply
Thribhuvan
Posts: 2
Joined: 2016/11/11 20:35:09
Contact:

[/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by Thribhuvan » 2016/11/11 21:40:49

While Installing VMware

my instillation stops with the below message. can some one assist me on this

Code: Select all

spawn /wm/data/vmware-config-wm.pl
Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                        [FAILED]
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                [FAILED]
Stopping VMware services:
   VMware Authentication Daemon                            [  OK  ]
   Virtual machine monitor                                 [  OK  ]

You must read and accept the End User License Agreement to continue.
Press enter to display it.


Do you accept? (yes/no) yes

Thank you.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]
  • [root@pazhanivm1 ~]# rpm -qa kernel\* | so
    -bash: so: command not found
    [root@pazhanivm1 ~]# rpm -qa kernel\* | sort
    kernel-2.6.32-431.29.2.el6.x86_64
    kernel-2.6.32-642.6.2.el6.x86_64
    kernel-abi-whitelists-2.6.32-642.6.2.el6.noarch
    kernel-debug-2.6.32-642.6.2.el6.x86_64
    kernel-debug-devel-2.6.32-642.6.2.el6.x86_64
    kernel-devel-2.6.32-642.6.2.el6.x86_64
    kernel-doc-2.6.32-642.6.2.el6.noarch
    kernel-firmware-2.6.32-642.6.2.el6.noarch
    kernel-headers-2.6.32-642.6.2.el6.x86_64

Regards
Bhu
Regards
Bhu
Thribhuvan V

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: [/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by aks » 2016/11/13 18:35:05

I *think* header files are still kept in /usr/include/

But why not just use open-vmtools? Even VMW recommends that.

Thribhuvan
Posts: 2
Joined: 2016/11/11 20:35:09
Contact:

Re: [/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by Thribhuvan » 2016/11/15 18:12:45

I tried moving the Header file, and it dint work.

My VMware version

VMware-server.x86_64 2.0.1-156745

Is this comparable with CentOS 6 ?
Regards
Bhu
Thribhuvan V

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: [/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by aks » 2016/11/16 17:55:28

I tried moving the Header file, and it dint work.
Yeah don't do that, it'll probably break the package. Move them back.

That's quite an old vmware server I think.

Just use the open vm tools, I think that the API is compliant, but am not sure.

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by TrevorH » 2016/11/16 18:02:10

Your original output doesn't show any errors. What is the actual problem?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: [/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by aks » 2016/11/17 17:28:59

I'm assuming he's trying to compile vmware-tools against the running kernel and it's failing. I'm also assuming that it can't find the .h includes (given the subject of the message).

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: [/lib/modules/2.6.32-642.6.2.el6.x86_64/build/include]

Post by TrevorH » 2016/11/17 17:31:56

Yes but when asking for assistance with a problem it really helps to actually show the errors that you get so that people can see the problem and not have to guess.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply