Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running CentOS version 4.1 with Kernel version 2.6.9-11.EL.
I am trying to install a license server. When I attempt installation I immediately get this error:
Checking platform for correct operating system version...
ERROR: Linux kernel must be 2.2.12 or later!
This particular software says requirements are for eith HP Unix or RedHat.
I don't see why that this, being CentOS, instead of RedHat would cause this to happen. Anyone have any ideas of why the install script thinks this is not the kernel version that it is??? I was told on this Forum that CentOS is essentially RedHat. Where is the script looking to find the kernel version? Is there somewhere I can make a change so that the Install script sees that this is the right Kernel version? Any help is greatly appreciated!!
yeah but where is the kernel version held? When you do a uname -r, Linux outputs the kernel version. So where is this info stored that programs know which kernel version the OS is using? What is the ".EL" portion of the kernel number mean?? For some reason when the installation process is happening, it thinks the kernel version is below 2.2.12. Why? How can I correct this so it sees that this is really 2.6-11.EL? The Install won't continue untill I find away to correct this.
Ok. I guess the kernel version is determined from /proc/version. I checked it and it is 2.6-11.EL. I am curious what the ".EL" means though. I am still no closer to figuring out why the software Installation process thinks my kernel version is below 2.2-12 though. Heeeeelp!
Originally posted by Tinkster
... you could conceivably try to look in the script yourself.
Did you ???.
What's the point of chasing the nuances of the kernel name (extension) if you haven't checked the script for what it's looking for.
If it's a program rather than a script, you're probably SOL.
First, cut and paste when providing information. Bad info is at best misleading, at worst useless.
I doubt very much that "uname -a" returned what you cited - "2.6-11.EL" ????.
If I were you I keep digging - see what that ".nc_wrapper" is looking for.
How old is this product ???. If it's too old, the script(s) may not have been written to handle anything above 2.4.?.
Could be as simple as dodgy math, who knows.
Linux )
if [ -s /etc/redhat-release ]
then case $UNAME_R in
2.2.1[2-9]* | 2.2.[2-9]* | 2.4.[2-9]* | 2.4.1[0-9]* ) : ;;
* ) Error "Linux kernel must be 2.2.12 or later!" ;;
esac
I noticed that no kernel version above 2.4.19 is mentioned. Should I edit this portion to include 2.6.9-11.EL? My guess is that this software was written pre 2.6 version. When I edit this portion should it look like this:
Linux )
if [ -s /etc/redhat-release ]
then case $UNAME_R in
2.2.1[2-9]* | 2.2.[2-9]* | 2.4.[2-9]* | 2.4.1[0-9]* | 2.6.[1-11.EL]* ) : ;;
* ) Error "Linux kernel must be 2.2.12 or later!" ;;
esac
BTW, if I seem like a newb....I AM! Thanks again for your help!
#Linux )
if [ -s /etc/redhat-release ]
then case $UNAME_R in
2.2.1[2-9]* | 2.2.[2-9]* | 2.4.[2-9]* | 2.4.1[0-9]* ) : ;;
* ) Error "Linux kernel must be 2.2.12 or later!" ;;
esac
Will this break something else as the rest of the script runs? Or did you mean something else?
Nope, that wasn't what I meant - and you'd need to look at the full script.
Perhaps you were right - maybe update the code as follows;
Code:
Linux )
if [ -s /etc/redhat-release ]
then case $UNAME_R in
2.2.1[2-9]* | 2.2.[2-9]* | 2.4.[2-9]* | 2.4.1[0-9]* | 2.6.[0-9]* ) : ;;
* ) Error "Linux kernel must be 2.2.12 or later!" ;;
esac
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.