Author Topic: No queues found. Check your datasource validity  (Read 7550 times)

arkman

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
No queues found. Check your datasource validity
« on: May 21, 2009, 23:23:30 »
Fresh install of Trixbox 2.6.2.2.  Running through the installation guide: http://queuemetrics.com/manuals/QM_Trixbox-chunked/

At step 2.5.1, I get the error "No queues found. Check your datasource validity" when going through the wizard.

/etc/asterisk/queues.conf
Code: [Select]
...
#include queues_additional.conf
...

/etc/asterisk/queues_additional.conf
Code: [Select]
...
[300]
announce-frequency=0
announce-holdtime=no
autofill=no
eventmemberstatus=no
eventwhencalled=no
joinempty=yes
leavewhenempty=no
maxlen=0
monitor-type=mixmonitor
monitor-format=wav49
periodic-announce-frequency=0
queue-callswaiting=silence/1
queue-thereare=silence/1
queue-youarenext=silence/1
retry=5
strategy=rrmemory
timeout=15
weight=0
wrapuptime=0
...

rx4change

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: No queues found. Check your datasource validity
« Reply #1 on: May 22, 2009, 08:15:30 »
Ditto.  Also having an identical problem with the same configuration.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: No queues found. Check your datasource validity
« Reply #2 on: May 22, 2009, 10:04:30 »
Thanks. Can you send a tarball of your /etc/asterisk directory to Loway for inspection?

http://queuemetrics.com/contact.jsp

Please refer to bug #742.
« Last Edit: May 22, 2009, 10:06:44 by QueueMetrics »

arkman

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: No queues found. Check your datasource validity
« Reply #3 on: May 22, 2009, 16:17:50 »
Thanks. Can you send a tarball of your /etc/asterisk directory to Loway for inspection?

http://queuemetrics.com/contact.jsp

Please refer to bug #742.


Done.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: No queues found. Check your datasource validity
« Reply #4 on: May 22, 2009, 16:36:08 »
We have not received it so far....  ???

arkman

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: No queues found. Check your datasource validity
« Reply #5 on: May 22, 2009, 16:50:33 »
I just resent via my gmail account.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: No queues found. Check your datasource validity
« Reply #6 on: May 23, 2009, 09:10:03 »
I confirm it was received. We'll look into the matter from Monday.

marcos

  • Loway
  • Full Member
  • *
  • Posts: 138
  • Karma: 3
    • View Profile
Re: No queues found. Check your datasource validity
« Reply #7 on: May 25, 2009, 10:01:48 »
Hi.
Thank you for your configuration files snapshot.
I've investigated to the problem and I can confirm that is related to an issue raised by the Wizard that's filtering all queues with no member specified. The bug will be fixed in the next QueueMetrics coming release.
To overcome to this problem, actually you can manually add a dummy member in each queue definition. You can do it from the TrixBox GUI or, manually, adding a line similar to:

member=Agent/0000

on each queue definition defined in the file queues_additional.conf
You should have something like that:

[300]
announce-frequency=0
announce-holdtime=no
autofill=no
eventmemberstatus=no
eventwhencalled=no
joinempty=yes
leavewhenempty=no
maxlen=0
monitor-type=mixmonitor
monitor-format=wav
periodic-announce-frequency=0
queue-callswaiting=silence/1
queue-thereare=silence/1
queue-youarenext=silence/1
retry=5
strategy=rrmemory
timeout=15
weight=0
wrapuptime=0
member=Agent/0000

Then you've to start the wizard again.

Thank you for the feedback!
Best regards,

Marco Signorini.

sergeif

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: No queues found. Check your datasource validity
« Reply #8 on: October 12, 2009, 01:02:40 »
I have exactly same problem, but all queues have agents defined:
Code: [Select]
........
; Default queue
[default-queue]
music=comedy   
announce-holdtime=no
announce-position=no
strategy=ringall   
wrapuptime=0       
maxlen=0           
timeout=99999       
retry=15           
context=defaultcon 
; Members           
member => SIP/someone,0
........

The machine in question runs ubuntu 9.10, Asterisk 1.6.2.0~rc2-0ubuntu1, queuemetrics 1.5.4, tomcat6, java version "1.6.0_15".
I know it is "bleeding edge", but I am working on this system as a testing platform, we will put it in production eventually.

When I try to run Setup Wizard, File, and try to import either default configs or queue_log it comes up with:
Code: [Select]
"No queues found. Check your datasource validity"So, the question is, what can I do to debug this issue - where is the log file? I have found none.
What actually fails? Is this permission issue (I have added user tomcat6 to asterisk group)? without debug output I am guessing....
Right now I am trying to configure it to do basic stuff (just from files), I haven't even tried mysql logging.
I am using demo version - is this my problem? How do I get trial if it is the problem?

sergeif

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: No queues found. Check your datasource validity
« Reply #9 on: October 12, 2009, 01:12:40 »
OK, after realising that I have not restarted tomcat after adding it to the asterisk group, I restarted it and it all work.
It was permission problem.
For future when facing similar problem do following:
Code: [Select]
usermod -G asterisk tomcat6
/etc/init.d/tomcat6 restart

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: No queues found. Check your datasource validity
« Reply #10 on: October 12, 2009, 11:51:10 »
Thanks! that's great.