SOLVED No data available in memcached for FusionPBX

Status
Not open for further replies.

Husnain Taseer

New Member
Jan 22, 2017
15
1
3
34
Hello Users,

I'm using FusionPBX 4.4.3 on "CentOS Linux 7 (Core)" but facing some weird issues. I created a gateway in FusionPBX with SIP provider details but the gateway was not starting/registering. After doing some troubleshooting, I have found that there is no data available in uderlying memcache database:

# telnet localhost 11211
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
stats items
END

There is no gateway config available in the memcached, however I can see Gateway is created on the UI. Also I have noticed that when I issue "Flush cache" Command from Advanced >> SIP Profiles >> Flush Cache no command receives on the memecahed as can be seen from "stats" command:


# telnet localhost 11211
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
stats
STAT pid 2929
STAT uptime 67
STAT time 1546027913
STAT version 1.4.15
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 0.002719
STAT rusage_system 0.006797
STAT curr_connections 6
STAT total_connections 7
STAT connection_structures 7
STAT reserved_fds 20
STAT cmd_get 0
STAT cmd_set 0
STAT cmd_flush 0

Further I connected to fs_cli and used memcahe flush command as below:

mydomain.com> memcache flush
+OK

and checked the stats again. This time stats was showing "STAT cmd_flush 1". Could you please guide me whats wrong with my configuration, why UI can't communicate with memcahe?

I also checked the system audit logs during that time but didn't find any errors in them. Any help regarding this matter will be highly appreciated.
 
Last edited:
New intsalls of FusionPBX don't use memcache anymore. Currently it will get installed but not used.
 
Status
Not open for further replies.