Monitoring, Management & Location Tracking

Airwave upgrade aborted in Step 3 System has not restarted since last kernel update
Problem:

Airwave upgrade aborted in Step 3 with the error message "System has not restarted since last kernel update"

This issue occurs when kernel is manually updated or if the kernel update is interrupted. 

During the above instance the new kernel is installed however the old kernel is not removed and the server is not rebooted hence during the next Airwave upgrade. The upgrade script looks for kernel versions installed on the server and compares with the active kernel to validate the latest kernel installed. if the active kernel is not latest than the other installed kernel then upgrade will be aborted in Step 3: System has not restarted since last kernel update.



Diagnostics:

upgrade log:


STEP 1: Moving old version aside. 

STEP 2: Unpacking upgrade package. 

STEP 3: Checking for compatibility. 
Error: System has not restarted since last kernel update. 
Please reboot your system in order to proceed with the upgrade. 
Restoring previous version... 
Previous version restored. 



Solution

We can resolve this by using unused kernel that is installed on the server.

Use the following command to find the kernel in use 

# uname -a

 

Use the following command to find all the installed kernels.

# rpm -qa | grep -i kernel

 

Remove the kernels that are not in use and initiated the upgrade process.

Use # rpm -e <non used kernel name>

If this doesn't helps (complex) then make the following changes in the upgrade script and run the upgrade.

Edited the file “AMP-<desire version>-amp_upgrade” and commented the below line with “#” symbol. 

For example when upgrade to Airwave version 8.2.2.1 aborts with this issue then edited the file “AMP-8.2.2.1-amp_upgrade” and commented the below line with “#” symbol. 

# __PACKAGE__->check_kernel_version(%opt); 

• Executed the upgrade command and successfully completed the upgrade.

Version History
Revision #:
2 of 2
Last update:
‎12-28-2016 06:51 AM
Updated by:
 
Labels (1)
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.