Solved

Apache server problem,module and kernal versions don't match

Posted on 1997-07-28
4
288 Views
Last Modified: 2013-12-15
I get a message when booting computer...my Linux works
fine except for this message...so it appears that my
module does work with my kernel version.
The message:
"The module was compiled on Kernal version 1.2.13.
This kernel is version 1.3.20.  They don't match!
Check that the module is usable with current kernel,
recompile the module and try again.

My real problem:
My Apache 1.2.1 source that I downloaded gets an error when
compiled which reads "redefinition of struct iovec in [buff.o]" error which I found out (on the net) is a conflict between my C library includes and kernal includes.

My questions:
Is this problem related to the error message I get booting
up?
Will simply recompiling my module with the current kernel
fix my problem?
Where is my module file?
What does the module do?

Thank ya very much!
-Stephen
0
Comment
Question by:smatteso
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
MikeCrist earned 100 total points
Comment Utility
To your first question, I don't believe so.  Your conflicting libs and an old module really have nothing in common.

To your second question, recompiling the module will fix the module problem, but not the apache problem. (I don't use different modules like you, so some of this later information might not work)You can also use depmod on the module, with modprobe afterwards to load it.  You can also try setting kernel version symbols as a kernel option and recompile the kernel (pointless, recompile the module too?!?!?!).

To your third question, on a RedHat Linux install, the modules are in /lib/modules/kernelversion, ie /lib/modules/2.0.30.  There is also /lib/modules/default.  There are subdirs here, depending on what type of module it is (block, scsi, net, ipv4, sound, misc, others)

To your fourth question, it all depends on which module you get the error in.  Modules are basically pieces of code (typically hardware drivers, but some networking code also) that are loaded at run time when needed.  For example, if you constantly switched network cards, and had a module for each card, the kernel would be smaller, and only the necessary module would be loaded into memory.

Mike Crist
mike@mwaz.com
0
 

Author Comment

by:smatteso
Comment Utility
Thank You Mike.

The module that I'm having trouble is iBCS module
whatever that is.  It hasn't gotten in the way, so
outta sight..outta mind..you probably know where
I'm coming from. If you can write a comment about the
iBCS module after I close this question..please do.

But really, my questions have been answered.
And I'll close the question with positive approval.
Thank You!
Just for the record, The following is a proposed solution to
my Apache server problem that I gleened from
a linux newsgroup. I have not tried this solution yet!!
Any comments are welcome.
0
 

Author Comment

by:smatteso
Comment Utility
Thank You Mike.

The module that I'm having trouble is iBCS module
whatever that is.  It hasn't gotten in the way, so
outta sight..outta mind..you probably know where
I'm coming from. If you can write a comment about the
iBCS module after I close this question..please do.

Otherwise, my questions have been answered.
Thank You!
-Stephen




0
 
LVL 1

Expert Comment

by:MikeCrist
Comment Utility
Yeah, I had several problems with iBCS, and still haven't gotten it to work.  I've never missed it, and never used it.  It stands for Intel Binary Compatibility ??Service??, and as for what it does, I have no idea.  I guess its supposed to make sure all your programs are capable of running on an intel platform.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now