Page 1 of 1
Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-18 19:01
by bodo
Hallo, seit ich meinen Kernel geupdated habe bekomme ich andauernd die folgende Meldung:
Code: Select all
From root Sat Jan 18 18:30:01 2003
Return-Path: <root@p12345678.pureserver.info>
Received: (from root@localhost)
by p12345678.pureserver.info (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id **********
for root; Sat, 18 Jan 2003 18:30:01 +0100
Date: Sat, 18 Jan 2003 18:30:01 +0100
Message-Id: <200301181730.********@p12345678.pureserver.info>
From: root@p12345678.pureserver.info (Cron Daemon)
To: root@p12345678.pureserver.info
Subject: Cron <root@p12345678> /etc/init.d/iptables dump >/dev/null
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
modprobe: Can't locate module ip_tables
iptables v1.2.1a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Aber iptables ist installiert, hab extra noch mal nachgeschaut, aber daran sollte es nicht liegen, kann mir jemand da weitet helfen?
(also ich habe mal iptables in der shell eingegeben, und das Programm hat geantwortet)
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-18 19:27
by captaincrunch
Die Fehlermeldung bezieht sich nicht auf ein fehlendes iptables-Binary, sondern darauf, dass du anscheiend iptables nicht als Modul mit in deinen Kernel aufgenommen hast ...
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-18 19:34
by bodo
oh, ups, in welchem menuconfig menü kann ich das iptables modul den finden? Also hab da auch schon gesucht, aber einen eintrag iptables konnte ich bisher nicht finden.
Ist es denn tragisch wenn das iptables nicht im kernel ist, aber trotzdem funktioniert? (scheint ja nur n script zu sein das die kernel module checkt und dann ggf. n fehler an root schickt)
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-18 19:44
by wirsing
iptables findest du bei menuconfig unter Networking Options
Dort musst du dann "Network packet filtering (replaces ipchains)" anschalten und kannst dann weiter unten "IP: Netfilter Configuration" auswählen, dort kannst du dann weitere Einstellungen treffen.
Ich baue Netfilter allerdings immer statisch mit rein, im Skript darf dann halt das modprobe-Statement nicht mehr drinstehen (auskommentieren)
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-18 20:01
by bodo
wunderbar, habs gefunden, jedoch hab ich das jetzt nur in menuconfig angewählt. Mal schauen obs jetzt geht.
Also ich hab unter "IP: Netfilter Configuration" iptables ausgewählt.
Ich baue Netfilter allerdings immer statisch mit rein, im Skript darf dann halt das modprobe-Statement nicht mehr drinstehen (auskommentieren)
Ist mir bis jetzt noch n bissel zu hoch in wieweit statisch?
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-18 21:03
by captaincrunch
Ist mir bis jetzt noch n bissel zu hoch in wieweit statisch?
Statisch : nicht als Modul, sondern fest im Kernel einkompiliert. Du kannst das ganze also nicht erst zur Laufzeit hinzufügen.
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-19 14:31
by oxygen
Auch danach nicht make modules modules_install nicht vergessen. Nach dem neustart dann noch depmod.
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-19 15:53
by bodo
was macht das depmod denn?
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-19 17:04
by captaincrunch
Ganz einfach :
Ist aber nicht wirklich lebensweichtig, habe ich bisher nur bei meinem ersten selbstgebackenen Kernel gemacht.
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-19 17:53
by bodo
Oky, habs grad durch gejagt, sagt mir folgendes:
Code: Select all
p12345678:/ # depmod -a
depmod: /lib/modules/2.4.20/modules.ieee1394map is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.4.20/modules.pnpbiosmap
dabei hab ich ieee1394 extra nicht ausgewählt in menuconfig.
Das pnpbiosmap macht mir da eher sorgen, wie bekomme ich das in den Griff?
Mit freundlichen Grüßen,
Bodo
Re: Can't locate module ip_tables nach kernel upgrade?
Posted: 2003-01-20 01:25
by bodo
Hm, den PNP Support für PCI kann ich ja doch eigentlich mit dem ISA PNP Support ganz raus nehmen, oder?
Nur wundert mich das mit dem ieee1394map wirklich, weil das im menuconfig auskommentiert ist, versteckt sich das ggf. noch woanders?
Mfg, Bodo