Friday 24 July 2015

Webacula Monitoring getting blank page/ How to get the Webacula login page



When you run webacula monitoring :
1.If you get the blank page then check the below command
#psql -h localhost -U postgres -d bacula
the output should be:
psql (9.2.4)
Type "help" for help.
bacula=#
if you get the error like below:
psql: could not connect to server : connection refused.
Is the server running on the localhost and accepting Tcp/Ip connection on port 5432?
Then run the below command
#setsebool -P httpd_can_network_connect 1
And disable selinux:
#cd /etc/sysconfig
#vi selinux
Add the below line and save the file
SELINUX=disabled
#SELINUX=enforcing /* comment this line*/
 
2.Error: In /etc/httpd/conf.d/errorlog /var/www/html/webacula/data/cache not exists
Solution: #chmod -R 777 /var/www/html/webacula/data/cache

3.Error: httpd could not reliably determine the server's fully qualified domain
Solution: Add the below line in /etc/httpd/conf/httpd.conf
#cd /etc/httpd/conf
#vim httpd.conf
ServerName localhost
And save the file.
Now restart the httpd
#service httpd restart

4.While creating postgresql tables if you get the error like below
role “root” does not exist
Then
#su – postgres
#psql
#CREATE ROLE root;
#ALTER ROLE root LOGIN;
Now create postgresql tables.

5.Check the webacula tables
#su – postgres
#psql
#\c bacula
Owner of webacula tables should be postgres otherwise change it.
#ALTER TABLE <table name> OWNER TO postgres;
like this do for all tables.

No comments:

Post a Comment