Environment Information : Airwave version : 7.7.7
Symptoms : As Symptoms for this issue we can see the httpd daemons restarting. We can see the daemons by executing below command,
Also, when we tail low_level_ service watcher we would be able to see pound in stopped state and httpd daemon restarting.
To confirm the pound status we can check the status of Pound by executing the below command,
Since, pound is in stopped state we can check whether postgresql is running or not. (In this scenario it would be in stopped state).
When we try to restart it, it would fail and would give us the following error message,
[root@localhost mercury]# service postgresql restart
postmaster dead but pid file exists
Cause : To get a better idea on why postgres is not starting we can check the pgsql log under /var/log
# cd /var/log
The above message states that database is not able to write any more to /tmp/s.PGSQL.5432.lock since there is no space left in "/tmp"
We can do df -h to confirm the space.
Resolution : Clear up the old files in "/tmp" directory. We can use rm -rf command to clear files. Once we get free space under "/tmp" we can try restarting the postgres service.
Now the database would be up, as a result Pound and httpd daemons would be up.
Now we would be able to access the web interface.