Announcement

Collapse
No announcement yet.

VMware Tools Installation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VMware Tools Installation

    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



    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

  • #2
    > 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.

    Comment


    • #3
      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.

      Comment


      • #4
        Which version of apache are you running?

        2.2 or 1.x?
        Also is it in MPM worker, or prefork?

        Comment


        • #5
          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.

          Comment

          Working...
          X