Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

kernel header not found [HELP]
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

kernel header not found [HELP]

PureHDPureHD Member
edited August 2011 in Help

tried to install vmware player in centos from x window.
got this error when i tried to start vmplayer

http://screensnapr.com/e/YZOrsv.png

after clicking install i get this: http://screensnapr.com/e/pD5dUa.png

clicked ok, now i got this:

http://screensnapr.com/e/nKGRFQ.png

tried to check my kernel module built version:

[root@ks200448 etc]# ls -d /lib/modules/$(uname -r)/build
ls: /lib/modules/2.6.38.2-grsec-xxxx-grs-ipv6-64/build: No such file or directory

what to do now? stuck in the middle of deployment.

Comments

  • jhjh Member

    Try: yum install kernel-devel

  • [root@ks200448 ~]# yum install kernel-devel
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: distrib-coffee.ipsl.jussieu.fr
    * extras: distrib-coffee.ipsl.jussieu.fr
    * updates: ftp.hosteurope.de
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package kernel-devel available.
    Nothing to do
    [root@ks200448 ~]#

  • jhjh Member

    Check your /etc/yum.conf for the exlcude line, and remove kernel-devel from it if it's there.

    Also install the default Yum repositories.

  • thats what i see on my yum.conf file:

    [main]
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
    exclude=kernel*

    Note: yum-RHN-plugin doesn't honor this.

    metadata_expire=1h

    installonly_limit = 5

    PUT YOUR REPOS HERE OR IN separate files named file.repo

    in /etc/yum.repos.d

  • output of
    rpm -qa|grep kernel

    [root@ks200448 ~]# rpm -qa|grep kernel

    kernel-headers-2.6.18-53.1.21.el5

  • jtodd said: Also install the default Yum repositories.

    how do i install that? whats the command?

  • jhjh Member

    Remove exclude=kernel* and try that first.

  • nope its still not working... getting this error:

    http://screensnapr.com/e/amJjWj.png

Sign In or Register to comment.