VMware Tools Installation
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Adam Heavens
  2. Monday, 19 April 2010
  3.  Subscribe via email
I am trying to demo the upgrade process of a freshly built Centos 5.4 server. I have completed the following structions successfully

# wget http://repo.cloudlinux.com/cloudlinux/sources/centos2cl
# sh centos2cl
# reboot

However I am unable to configure VMware Tools, even using the following documentation

http://www.cloudlinux.com/knowlege-base/114/#309

I get the following error, can anybody advise the location of the kernal headers?

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

Thanks
Rate this post:
  1. 19.04.2010 05:04:36
  2. # 1
Leonid Kanter Accepted Answer
Posts: 34
Joined: 18.04.2010
0
Votes
Undo
Adam Heavens wrote:


What is the location of the directory of C header files that match your running

kernel? [/usr/src/linux/include]



Thanks



Adam, please install kernel-devel package according to your actual kernel. In most cases it can be done by \"yum install kernel-devel\". If you are running xen guest, kernel-xen-devel should be installed. After it verify that directory /lib/modules/`uname -r`/build/include is not empty - and it will be found automatically by vmware build script.
  1. 19.04.2010 05:04:04
  2. # 2
Adam Heavens Accepted Answer
Posts: 14
Joined: 19.04.2010
0
Votes
Undo
Thanks, that resolved the VMware Tools install. However when installing the cPanel hooks I get the following error when running

sh install-lve -a

Rebuilding configuration without any local modifications.

Failed to generate a syntactically correct Apache configuration.
Bad configuration file located at /usr/local/apache/conf/httpd.conf.1271691025
Error:
An error occurred while running: /usr/local/apache/bin/httpd -DSSL -t -f /usr/local/apache/conf/httpd.conf.1271691025
Exit signal was: 0
Exit value was: 1
Output was:
---
---

Thanks for your time.
  1. 19.04.2010 05:04:08
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Which version of apache are you running?

2.2 or 1.x?
Also is it in MPM worker, or prefork?
  1. 21.04.2010 03:04:42
  2. # 4
Adam Heavens Accepted Answer
Posts: 14
Joined: 19.04.2010
0
Votes
Undo
Always helps to read the documentation properly first! I had not compiled Apache with MPM Prefork support. Once compiled the cPanel hooks installed without any issues.

Thanks for your help.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.