Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

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

Jun 10, 2014 11:48 PM

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

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.