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.
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.
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 188.8.131.52 aborts with this issue then edited the file “AMP-184.108.40.206-amp_upgrade” and commented the below line with “#” symbol.
• Executed the upgrade command and successfully completed the upgrade.