Monitoring, Management & Location Tracking

Unable to access WEBUI of Airwave

Question : Airwave WEBUI is down but can ssh to the box.

 

Environment Information : This applies to Airwave version 7.7.x

 

Symptoms : Airwave's WEBUI could be down for multiple reasons and the below example speaks about only one of the possibilities.

Login to CLI of airwave and check the below logs.

[root@amp mercury]# cd /var/log
[root@amp log]# less pgsql


If we see the below error messages in this logs,

Feb 11 11:43:03 airwave postgres[14373]: [1-1] FATAL: F0001: pre-existing shared memory block (key 5432001, ID 163841) is still in use
Feb 11 11:43:03 airwave postgres[14373]: [1-2] HINT: If you're sure there are no old server processes still running, remove the shared memory block or just delete the file "postmaster.pid".
Feb 11 11:43:03 airwave postgres[14373]: [1-3] LOCATION: CreateLockFile, miscinit.c:864

 

Resolution :

 

Follow the steps below to fix it.

Step 1: Verify if the postgresql service is running or not.

                [root@amp mercury]# service postgresql  status
                postmaster (pid  1498) is running...

               
                [root@amp mercury]# service postgresql status
                postmaster is stopped

Step 2: If the postgresql service is stopped, proceed with step 3 else stop the service by running the below commands.

                [root@amp mercury]# service postgresql stop
                Stopping postgresql service:                               [  OK  ]

            
               


Step 3: Remove the postmaster.pid from /var/lib/pgsql/9.2/data/ directory
          
                [root@amp mercury]# cd /var/lib/pgsql/9.2/data/

                [root@amp data]# rm -rf postmaster.pid

Step 4: Manually restart all the services
 
               [root@amp mercury]# rd

               [root@amp mercury]# ra

 

 

Version History
Revision #:
1 of 1
Last update:
‎07-14-2014 03:53 PM
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.