Author Topic: QM not showing status on box 2, when HD on asterisk box one became full  (Read 2237 times)

cuban_cigar

  • Newbie
  • *
  • Posts: 37
  • Karma: 0
    • View Profile
A setup had been working for about a year with asterisk on box 1, and queuemetrics on box 2.


The asterisk box (1) suffered a full harddrive and now queuemetrics is effectively dead on server (2), not showing live readout.


why / how to fix ?

« Last Edit: April 14, 2010, 20:52:43 by cuban_cigar »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM dead on box 2, when HD on asterisk box one became full
« Reply #1 on: April 14, 2010, 11:40:23 »
What do you mean by "dead"? you see no results, or cannot access it?
Try and restart it anyway....

cuban_cigar

  • Newbie
  • *
  • Posts: 37
  • Karma: 0
    • View Profile
Re: QM dead on box 2, when HD on asterisk box 1 became full
« Reply #2 on: April 14, 2010, 20:52:15 »
Queuemetrics loads without errors generated on the web page portion.

Login is allowed,

Liscence info shows current info of a valid QM install.

No current status shows up, that is all agents and queues are shown, but it says calls:0.


Box2

tomcat restart procedure ( several steps )
service queuemetrics restart
service httpd  restart
service mysqld  restart

then finally a reboot


Box1

tomcat restart procedure ( several steps )
service queuemetrics restart
service httpd  restart
service asterisk restart  (and manual restart of asterisk with cli )
service qloaderd restart
service mysqld  restart

The technician who set it up was on it yesterday and presumable this morning, but the client emailed again asking about it.

Could the qloader have started with a blank partition somehow when the HD got full and mysql database was repaired?

How to check if qloader is drawing the data correctly from the messages log?  Not certain but it could be that qloader is not sending data to box 2.
« Last Edit: April 14, 2010, 20:55:12 by cuban_cigar »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
It could well be that if MySQL crashed as well,  the table is not writable until repaired. So basically Qloaderd would stall because it keeps getting errors back from the DB. Anyway, do check /var/log/asterisk/qloaderd.log - if that is the issue it should be written in the logs.