Solved

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

Posted on 1997-07-28
4
291 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
ID: 1628907
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
ID: 1628908
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
ID: 1628909
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
ID: 1628910
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

786 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