Monitoring, Management & Location Tracking

Upcoming community maintenance Oct. 27th through Oct. 29th
For more info click here

How can we make the redis server accept new connections to allow access to GUI post login?

Aruba Employee
Aruba Employee

Environment : This holds true for Airwave version 8.0.4


GUI cannot go past login screen.It continues to try to load without displaying any errors.


Redis server is not accepting new connections


Delete the dump.rdb file for redis server


This KB holds true for inability of GUI to go beyond the login screen. It does not help if the account login fails.

1) Check httpd error log using the following command and try to login to the GUI

tail -f less /var/log/httpd/error_log

[Fri Oct 31 11:06:16 2014] Falling through to CORE::exit (16364 - Daemon::ServiceWatcher): Could not connect to Redis server at Connection refused at /opt/airwave/local/lib/perl5/site_perl/5.10.1/ line 423
    Redis::__build_sock('Redis=HASH(0x7fe6cb4693e8)') called at /opt/airwave/local/lib/perl5/site_perl/5.10.1/ line 402
    Redis::__connect('Redis=HASH(0x7fe6cb4693e8)') called at /opt/airwave/local/lib/perl5/site_perl/5.10.1/ line 68
    Redis::new('Redis', 'encoding', undef, 'server', '', 'password', 'ALHIw9XjS5JlaGjQUdCyUh1/') called at /usr/local/airwave/lib/perl/Mercury/Redis/Hash/ line 64

If you see above message the KB holds valid.

2) This usually happens in a disk full scenario where redis server tried to create a db file but fails as there is no disk space which results in a 0kb db file. Starting of redis server fails owing to the 0kb file generated.
Deleting this file and restarting redis will resolve the issue

[root@amp-server mercury]# rm -rf /var/lib/redis/dump.rdb
[root@amp-server mercury]# /etc/init.d/redis restart
Stopping redis-server:                                     [  OK  ]
Starting redis-server:                                     [  OK  ]

Generates a new dump.rdb as shown below :

[root@amp-server mercury]# ls -lah /var/lib/redis/dump.rdb
-rw-r--r-- 1 redis redis 949K Oct 31 06:44 /var/lib/redis/dump.rdb

Note  : Step 2 only works if disk space is made available by adding more disk space/purging data


Version history
Revision #:
1 of 1
Last update:
‎04-07-2015 01:16 PM
Updated by:
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: