VMware Tools Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adam.heavens
    Junior Member
    Forum Explorer
    • Mar 2021
    • 26

    #1

    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
  • lkanter
    Member
    • Nov 2016
    • 34

    #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

    • adam.heavens
      Junior Member
      Forum Explorer
      • Mar 2021
      • 26

      #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

      • iseletsk
        Senior Member
        • Dec 2017
        • 1199

        #4
        Which version of apache are you running?

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

        Comment

        • adam.heavens
          Junior Member
          Forum Explorer
          • Mar 2021
          • 26

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