is not a valid path to the kernel headers?











up vote
0
down vote

favorite












System Information



Host - Windows 10
VMware - 11.1.2
Guest - CentOS 7


I installed kernel-headers using yum since during the installation of vmware-tools I get a message




"Searching for a valid kernel header path... The path "" is not a
valid path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like
to change it?".




I have following packages installed





  • kernel-tools-3.10.0-229.el7.x86_64

  • kernel-tools-libs-3.10.0-229.el7.x86_64

  • kernel-devel-3.10.0-229.14.1.el7.x86_64

  • kernel-3.10.0-229.el7.x86_64

  • kernel-headers-3.10.0-229.14.1.el7.x86_64




Then again I tried to install the vmware-tools, getting same message




Searching for a valid kernel header path... The path "" is not a valid
path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like to
change it? [yes]



Enter the path to the kernel header files for the 3.10.0-229.el7.x86_64
kernel? /usr/src/kernels/3.10.0-229.14.1.el7.x86_64/include/linux




I have tried below paths




  • /usr/include

  • /usr/include/linux

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64/include


But vmware-tools tells me none of them are valid paths to the kernel headers. Surely, one of these had to be the directory vmware-tools is looking for?










share|improve this question
























  • yum -y install 3.10.0-229.el7.x86_64
    – user219347
    Mar 6 '17 at 5:49










  • I just installed kernel-devel and kernel-headers, ran the vmware-tools script, answered the questions correctly and it all just worked.
    – fpmurphy1
    Oct 21 '17 at 7:37















up vote
0
down vote

favorite












System Information



Host - Windows 10
VMware - 11.1.2
Guest - CentOS 7


I installed kernel-headers using yum since during the installation of vmware-tools I get a message




"Searching for a valid kernel header path... The path "" is not a
valid path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like
to change it?".




I have following packages installed





  • kernel-tools-3.10.0-229.el7.x86_64

  • kernel-tools-libs-3.10.0-229.el7.x86_64

  • kernel-devel-3.10.0-229.14.1.el7.x86_64

  • kernel-3.10.0-229.el7.x86_64

  • kernel-headers-3.10.0-229.14.1.el7.x86_64




Then again I tried to install the vmware-tools, getting same message




Searching for a valid kernel header path... The path "" is not a valid
path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like to
change it? [yes]



Enter the path to the kernel header files for the 3.10.0-229.el7.x86_64
kernel? /usr/src/kernels/3.10.0-229.14.1.el7.x86_64/include/linux




I have tried below paths




  • /usr/include

  • /usr/include/linux

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64/include


But vmware-tools tells me none of them are valid paths to the kernel headers. Surely, one of these had to be the directory vmware-tools is looking for?










share|improve this question
























  • yum -y install 3.10.0-229.el7.x86_64
    – user219347
    Mar 6 '17 at 5:49










  • I just installed kernel-devel and kernel-headers, ran the vmware-tools script, answered the questions correctly and it all just worked.
    – fpmurphy1
    Oct 21 '17 at 7:37













up vote
0
down vote

favorite









up vote
0
down vote

favorite











System Information



Host - Windows 10
VMware - 11.1.2
Guest - CentOS 7


I installed kernel-headers using yum since during the installation of vmware-tools I get a message




"Searching for a valid kernel header path... The path "" is not a
valid path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like
to change it?".




I have following packages installed





  • kernel-tools-3.10.0-229.el7.x86_64

  • kernel-tools-libs-3.10.0-229.el7.x86_64

  • kernel-devel-3.10.0-229.14.1.el7.x86_64

  • kernel-3.10.0-229.el7.x86_64

  • kernel-headers-3.10.0-229.14.1.el7.x86_64




Then again I tried to install the vmware-tools, getting same message




Searching for a valid kernel header path... The path "" is not a valid
path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like to
change it? [yes]



Enter the path to the kernel header files for the 3.10.0-229.el7.x86_64
kernel? /usr/src/kernels/3.10.0-229.14.1.el7.x86_64/include/linux




I have tried below paths




  • /usr/include

  • /usr/include/linux

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64/include


But vmware-tools tells me none of them are valid paths to the kernel headers. Surely, one of these had to be the directory vmware-tools is looking for?










share|improve this question















System Information



Host - Windows 10
VMware - 11.1.2
Guest - CentOS 7


I installed kernel-headers using yum since during the installation of vmware-tools I get a message




"Searching for a valid kernel header path... The path "" is not a
valid path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like
to change it?".




I have following packages installed





  • kernel-tools-3.10.0-229.el7.x86_64

  • kernel-tools-libs-3.10.0-229.el7.x86_64

  • kernel-devel-3.10.0-229.14.1.el7.x86_64

  • kernel-3.10.0-229.el7.x86_64

  • kernel-headers-3.10.0-229.14.1.el7.x86_64




Then again I tried to install the vmware-tools, getting same message




Searching for a valid kernel header path... The path "" is not a valid
path to the 3.10.0-229.el7.x86_64 kernel headers. Would you like to
change it? [yes]



Enter the path to the kernel header files for the 3.10.0-229.el7.x86_64
kernel? /usr/src/kernels/3.10.0-229.14.1.el7.x86_64/include/linux




I have tried below paths




  • /usr/include

  • /usr/include/linux

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64

  • /usr/src/kernels/3.10.0-123.13.2.el7.x86_64/include


But vmware-tools tells me none of them are valid paths to the kernel headers. Surely, one of these had to be the directory vmware-tools is looking for?







linux centos rhel vmware






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 21 '17 at 6:39









jww

1,53632161




1,53632161










asked Sep 20 '15 at 12:54









Emil

113




113












  • yum -y install 3.10.0-229.el7.x86_64
    – user219347
    Mar 6 '17 at 5:49










  • I just installed kernel-devel and kernel-headers, ran the vmware-tools script, answered the questions correctly and it all just worked.
    – fpmurphy1
    Oct 21 '17 at 7:37


















  • yum -y install 3.10.0-229.el7.x86_64
    – user219347
    Mar 6 '17 at 5:49










  • I just installed kernel-devel and kernel-headers, ran the vmware-tools script, answered the questions correctly and it all just worked.
    – fpmurphy1
    Oct 21 '17 at 7:37
















yum -y install 3.10.0-229.el7.x86_64
– user219347
Mar 6 '17 at 5:49




yum -y install 3.10.0-229.el7.x86_64
– user219347
Mar 6 '17 at 5:49












I just installed kernel-devel and kernel-headers, ran the vmware-tools script, answered the questions correctly and it all just worked.
– fpmurphy1
Oct 21 '17 at 7:37




I just installed kernel-devel and kernel-headers, ran the vmware-tools script, answered the questions correctly and it all just worked.
– fpmurphy1
Oct 21 '17 at 7:37










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Try doing a uname -a to find the exact version of the kernel you're running, and then installing the EXACT matching headers. For example: kernel-headers-3.10.0-229.el7.x86_64.






share|improve this answer























  • i have installed the matching kernel after doing uname -a
    – Emil
    Sep 29 '15 at 19:26










protected by Community Mar 6 '17 at 6:32



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Try doing a uname -a to find the exact version of the kernel you're running, and then installing the EXACT matching headers. For example: kernel-headers-3.10.0-229.el7.x86_64.






share|improve this answer























  • i have installed the matching kernel after doing uname -a
    – Emil
    Sep 29 '15 at 19:26















up vote
0
down vote













Try doing a uname -a to find the exact version of the kernel you're running, and then installing the EXACT matching headers. For example: kernel-headers-3.10.0-229.el7.x86_64.






share|improve this answer























  • i have installed the matching kernel after doing uname -a
    – Emil
    Sep 29 '15 at 19:26













up vote
0
down vote










up vote
0
down vote









Try doing a uname -a to find the exact version of the kernel you're running, and then installing the EXACT matching headers. For example: kernel-headers-3.10.0-229.el7.x86_64.






share|improve this answer














Try doing a uname -a to find the exact version of the kernel you're running, and then installing the EXACT matching headers. For example: kernel-headers-3.10.0-229.el7.x86_64.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 13 '17 at 3:34









heemayl

34.2k371101




34.2k371101










answered Sep 21 '15 at 1:37









Brandon Xavier

25617




25617












  • i have installed the matching kernel after doing uname -a
    – Emil
    Sep 29 '15 at 19:26


















  • i have installed the matching kernel after doing uname -a
    – Emil
    Sep 29 '15 at 19:26
















i have installed the matching kernel after doing uname -a
– Emil
Sep 29 '15 at 19:26




i have installed the matching kernel after doing uname -a
– Emil
Sep 29 '15 at 19:26





protected by Community Mar 6 '17 at 6:32



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

サソリ

広島県道265号伴広島線

Setup Asymptote in Texstudio