- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Strange modprobe errors with module ip_tables ...
Operating System - Linux
1752815
Members
5912
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2008 12:46 AM
тАО07-04-2008 12:46 AM
Strange modprobe errors with module ip_tables of PAE kernel 2.6.18 on RHEL 5
Hi,
kernel and OS release are as follows:
# uname -srvi
Linux 2.6.18-53.el5PAE #1 SMP Wed Oct 10 16:48:18 EDT 2007 i386
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
As can be seen the RHEL installer must have selected a kernel with Physical Address Extensions implemented because the physical memory of the box is 4 GB (I assume this to be the threshold criteria of the installer to select a PAE kernel?)
I don't beleive that the colleague who installed the OS on this box made this PAE choice deliberately.
# free -mo
total used free shared buffers cached
Mem: 4050 3971 78 0 137 3344
Swap: 2047 0 2047
I have no experience with PAE kernels from RedHat (or other distro),
because at home I don't have HW with that much memory, and on the other hand most of our other RHEL servers meanwhile use 64bit kernels.
What is annoying and kind of irritating are log entries in messages from failed modprobe invocations for loading of Netfilter modules such as these:
# grep modprobe /var/log/messages
Jul 4 08:49:12 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:49:12 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Jul 4 08:49:46 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:49:46 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Jul 4 08:50:09 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:50:09 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Jul 4 08:50:18 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:50:18 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
We could well live with a kernel which hadn't enabled module support for Netfilter because on this host we make no use of Iptables at all,
and thus have deliberately disabled startup of iptables:
# echo ip{,6}tables|xargs -n1 chkconfig --list
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Nevertheless, something must have loaded the iptables modules
# lsmod|grep tables
ip_tables 17029 1 iptable_filter
x_tables 17349 1 ip_tables
I have no idea which process is trying to load these unneeded modules and causing the above log entries in messages.
I would like to deactivate any load attempts of these modules, without having to compile a new kernel which has no Netfilter hooks in it anymore.
We would like to stick with the RedHat supplied kernel, maybe also to stay eligible to RH support or similar.
I could add some startup script that would unload any loaded Netfilter modules like this
# rmmod ip_tables
ERROR: Module ip_tables is in use by iptable_filter
# modprobe -r iptable_filter
# modprobe -r ip_tables
# lsmod|grep -c tables
0
But I would consider this pretty weird.
Any other proposals or maybe explanations of what's going on?
Rgds.
Ralph
kernel and OS release are as follows:
# uname -srvi
Linux 2.6.18-53.el5PAE #1 SMP Wed Oct 10 16:48:18 EDT 2007 i386
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
As can be seen the RHEL installer must have selected a kernel with Physical Address Extensions implemented because the physical memory of the box is 4 GB (I assume this to be the threshold criteria of the installer to select a PAE kernel?)
I don't beleive that the colleague who installed the OS on this box made this PAE choice deliberately.
# free -mo
total used free shared buffers cached
Mem: 4050 3971 78 0 137 3344
Swap: 2047 0 2047
I have no experience with PAE kernels from RedHat (or other distro),
because at home I don't have HW with that much memory, and on the other hand most of our other RHEL servers meanwhile use 64bit kernels.
What is annoying and kind of irritating are log entries in messages from failed modprobe invocations for loading of Netfilter modules such as these:
# grep modprobe /var/log/messages
Jul 4 08:49:12 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:49:12 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Jul 4 08:49:46 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:49:46 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Jul 4 08:50:09 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:50:09 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Jul 4 08:50:18 somehost modprobe: WARNING: Error inserting x_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/netfilter/x_tables.ko): Operation not permitted
Jul 4 08:50:18 somehost modprobe: FATAL: Error inserting ip_tables (/lib/modules/2.6.18-53.el5PAE/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
We could well live with a kernel which hadn't enabled module support for Netfilter because on this host we make no use of Iptables at all,
and thus have deliberately disabled startup of iptables:
# echo ip{,6}tables|xargs -n1 chkconfig --list
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Nevertheless, something must have loaded the iptables modules
# lsmod|grep tables
ip_tables 17029 1 iptable_filter
x_tables 17349 1 ip_tables
I have no idea which process is trying to load these unneeded modules and causing the above log entries in messages.
I would like to deactivate any load attempts of these modules, without having to compile a new kernel which has no Netfilter hooks in it anymore.
We would like to stick with the RedHat supplied kernel, maybe also to stay eligible to RH support or similar.
I could add some startup script that would unload any loaded Netfilter modules like this
# rmmod ip_tables
ERROR: Module ip_tables is in use by iptable_filter
# modprobe -r iptable_filter
# modprobe -r ip_tables
# lsmod|grep -c tables
0
But I would consider this pretty weird.
Any other proposals or maybe explanations of what's going on?
Rgds.
Ralph
Madness, thy name is system administration
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 10:49 AM
тАО07-10-2008 10:49 AM
Re: Strange modprobe errors with module ip_tables of PAE kernel 2.6.18 on RHEL 5
here is what i see in one my servers
#lsmod|grep tables
ip6_tables 50049 1 ip6table_filter
x_tables 50377 3 ip6t_REJECT,xt_tcpudp,ip6_tables
# service iptables status
Firewall is stopped.
what is the status of "service iptables status" now?
#lsmod|grep tables
ip6_tables 50049 1 ip6table_filter
x_tables 50377 3 ip6t_REJECT,xt_tcpudp,ip6_tables
# service iptables status
Firewall is stopped.
what is the status of "service iptables status" now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 09:02 PM
тАО07-10-2008 09:02 PM
Re: Strange modprobe errors with module ip_tables of PAE kernel 2.6.18 on RHEL 5
Hi Santosh,
exactly the same output, "Firewall is stopped".
Also the curious log entries haven't reappeared in /var/log/messages.
exactly the same output, "Firewall is stopped".
Also the curious log entries haven't reappeared in /var/log/messages.
Madness, thy name is system administration
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP