VisualRF not starting, Airwave version 7.7 and above

VisualRF not starting, with a message " visualrf engine is not currently running. it may be disabled. Enable it on the VisualRF setup page. The engine may take a few minutes to start after it is enabled." Although the visualrf is enabled in the VisualRF setup page.

Environment : Airwave version 7.7.x and above.

If you see the above mentioned issue, look in the visualrf logs. we can find the VisualRF logs in /var/log/visualrf/visualrf.log, we could either view that file from the CLI of airwave by doing the following:

# less /var/log/visualrf/visualrf.logorwe could find this log from the airwave gui, System --> status page.

Note: GUI logs, will rotate too early, viewing the logs from the CLI is a good thing to find the old logs.

we would see this message almost every time we have issues with visualrf. However, if you find the below error in the logs:

This error means that, something is wrong with the visualrf file permissions, it might have happened while upgrade or while increasing the disk space or any thing we did accidentally on the server, the solution is to recompile the code, Ideally, when we do that the command will recheck all the files permissions and give the appropriate permissions to the required files, for airwave to run correctly.

we could do the following to correct the file permissions:

# root; make

Note: make, needs to be run during the maintenance window, as the GUI will not be accessible during this process and it also might take maximum upto 2-3 hours, depending upon the server's load.