Monitoring, Management & Location Tracking

Unloading iptables modules: [FAILED] - [conf_common_post_install] Error 1 - AMP is Disabled

If you're seeing the following error message:

Unloading iptables modules: [FAILED]

...which could also be followed by this...

Applying iptables firewall rules: [OK]

...and is probably also followed by this...

make[1]: *** [conf_common_post_install] Error 1 


There are two possible causes for this error state:
- iptables is locking
- (especially if after an upgrade) the kernel was updated at some point prior to the upgrade and the server was not rebooted


The lines above are usually followed by a few more lines (see examples below) and then the make terminates with an Error.


SOLUTION

Reboot the server and then run the commands listed below:
# reboot

When the server comes back up...

# root; make

If you're still seeing messages like this:

DISABLED - 1!!

...repeat the following command until the DISABLED flag no longer appears:

# amp_enable 

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
More detail...
iptables is a kernel module so restarting really involves reloading the module off of disk into the running kernel. If the version on disk is not the same as the version that is currently running, you have problems. To see if that's the case compare the output of the following two commands:

# rpm -q kernel

# cat /proc/version

If the versions aren't the same then rebooting the machine should fix it.


Here are a couple of examples of the error output...

EXAMPLE 1:

Unloading iptables modules: [FAILED]
Applying iptables firewall rules: [OK]
make[1]: *** [conf_common_post_install] Error 1 
make[1]: Leaving directory `/root/svn/mercury'make: *** [upgrade] Error 2


EXAMPLE 2:

STEP 5: Installing upgrade.
/root/svn/mercury/bin/airwave-set-perms /var/lib/airwave/site_migration 0775 root.visualrf /root/svn/mercury/bin/airwave-set-perms /usr/local/airwave/lib/java 0775 root.visualrf bin/conf_common_post_install
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [FAILED]
Applying iptables firewall rules: [ OK ]
make[1]: *** [conf_common_post_install] Error 1
make[1]: Leaving directory `/root/svn/mercury'
make: *** [upgrade] Error 2
Upgrade aborted. Please contact AirWave Support.
1-866-WiFi-AMP or support@airwave.com

Goodbye

Version History
Revision #:
1 of 1
Last update:
‎06-10-2014 08:48 PM
Updated by:
 
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.