Page 1 of 1

No dahdi_dummy module running

PostPosted: Fri Mar 25, 2016 8:41 pm
by kisenok1989
Hello everyone.

Dahdi is installed on the server but I'm getting a "There is a time synchronization problem with your system, please tell your system administrator" error.

Looks like this is because there is no dahdi_dummy module. This is the output of "lsmod | grep dahd" command:
dahdi 225082 0
crc_ccitt 1717 1 dahdi

modprobe dahdi_dummy does not help.

Has anyone faced such problem?

Re: No dahdi_dummy module running

PostPosted: Sat Mar 26, 2016 1:54 am
by udy786
HI,

Login into Admin and go on Report page. Below page click on "+" and see which time showing difference. All time(PHP, Mysql and Server) should be same. From report you will get idea that which one is not working or difference.

You can check below things.

1. PHP time in php.ini file
2. Run "
Code: Select all
tzselect
" command and select your time zone.
3.
Code: Select all
ntpd
installed and running on your server. If its not installed then run
Code: Select all
yum install ntp*
and then
Code: Select all
service ntpd start
.

Re: No dahdi_dummy module running

PostPosted: Sat Mar 26, 2016 7:22 am
by kisenok1989
udy786 wrote:Login into Admin and go on Report page. Below page click on "+" and see which time showing difference. All time(PHP, Mysql and Server) should be same. From report you will get idea that which one is not working or difference.


Thank you for the answer.
I have watched the Report page and found out that Server time is not running. When I update the page both php and MySQL times increase but Server time stays the same (but when I type "date" in the terminal I get correct value). Do you have an idea what that means and how to fix it?

I've also checked server timezone and php.ini (both set to Europe/Moscow) and installed ntpd. Same problem.

Re: No dahdi_dummy module running

PostPosted: Sat Mar 26, 2016 1:07 pm
by udy786

Re: No dahdi_dummy module running

PostPosted: Sat Mar 26, 2016 1:21 pm
by williamconley
kisenok1989 wrote:Hello everyone.

Dahdi is installed on the server but I'm getting a "There is a time synchronization problem with your system, please tell your system administrator" error.

Looks like this is because there is no dahdi_dummy module. This is the output of "lsmod | grep dahd" command:
dahdi 225082 0
crc_ccitt 1717 1 dahdi

modprobe dahdi_dummy does not help.

Has anyone faced such problem?

This error can result from two possible major issues:
1) Time is not synced between two servers (ntp service should be set up in a cluster to allow all servers to subscribe to the same time service, preferably with one of the Vicidial servers being the master and iBurst in use so the others trust it implicitly).
2) timestamps are not being recorded by agent screens continually polling their web servers. This usually results from packets being dropped due to poor network communications between the agent's web browser and the Vicidial Web server

Neither of these is related to dahdi in any way. If dahdi is not loaded, meetme rooms will not work. But dahdi is no longer a separate module as it was with zap (zt_dummy), and is no longer visible.

Re: No dahdi_dummy module running

PostPosted: Sat Mar 26, 2016 8:57 pm
by kisenok1989
Thanks everyone.


Tried all the steps in the blog. Unfortunetely it did't help.
Image

williamconley wrote:2) timestamps are not being recorded by agent screens continually polling their web servers. This usually results from packets being dropped due to poor network communications between the agent's web browser and the Vicidial Web server

Didn't quite understand the problem can be caused by slow internet connection?
My agent page is continually requesting the server. This is the server responce.
Image
Every request takes from 300 to 400 ms.

Re: No dahdi_dummy module running

PostPosted: Sun Mar 27, 2016 11:57 am
by williamconley
screen -list

how many are running?

Re: No dahdi_dummy module running

PostPosted: Sun Mar 27, 2016 12:59 pm
by kisenok1989
williamconley wrote:screen -list

how many are running?

Here is the output:
Code: Select all
There are screens on:
        3470.ASTVDadapt (Detached)
        3480.ASTconf3way        (Detached)
        3267.astshell20160327205254     (Detached)
        4764.ASTlisten  (Detached)
        4758.ASTupdate  (Detached)
        4769.ASTVDremote        (Detached)
        4760.ASTsend    (Detached)
        3298.asterisk   (Detached)
        4767.ASTVDauto  (Detached)
9 Sockets in /var/run/screen/S-root.

Re: No dahdi_dummy module running

PostPosted: Sun Mar 27, 2016 1:37 pm
by williamconley
5127.ASTfastlog missing ...

what do you have for VARactive_keepalives => 12345689 in astguiclient

do you have messages in /var/mail/root?

Re: No dahdi_dummy module running

PostPosted: Sun Mar 27, 2016 1:49 pm
by kisenok1989
williamconley wrote:5127.ASTfastlog missing ...

what do you have for VARactive_keepalives => 12345689 in astguiclient

do you have messages in /var/mail/root?

Got lots of repeating messages there. Some of them say:
Code: Select all
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 259

Other say:
Code: Select all
Can't locate HTML/Strip.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/astguiclient/AST_inbound_email_parser.pl line 5.
BEGIN failed--compilation aborted at /usr/share/astguiclient/AST_inbound_email_parser.pl line 5.


Where can I check VARactive_keepalives => 12345689?

Re: No dahdi_dummy module running

PostPosted: Mon Mar 28, 2016 4:08 pm
by Kumba
dahdi_dummy was just included in the general dahdi module as a fail-over timing source. So on newer DAHDI installs if the 'dahdi' module is loaded, then dahdi_dummy is loaded as well. If a more suitable hardware timer is also loaded, dahdi will use that instead.

Re: No dahdi_dummy module running

PostPosted: Tue Mar 29, 2016 3:08 pm
by barbosa
Where can I check VARactive_keepalives => 12345689?
Inside this file
/etc/astguiclient.conf

Re: No dahdi_dummy module running

PostPosted: Thu Mar 31, 2016 11:02 am
by williamconley
kisenok1989 wrote:
williamconley wrote:5127.ASTfastlog missing ...

what do you have for VARactive_keepalives => 12345689 in astguiclient

do you have messages in /var/mail/root?

Got lots of repeating messages there. Some of them say:
Code: Select all
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 259

Other say:
Code: Select all
Can't locate HTML/Strip.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/astguiclient/AST_inbound_email_parser.pl line 5.
BEGIN failed--compilation aborted at /usr/share/astguiclient/AST_inbound_email_parser.pl line 5.


Where can I check VARactive_keepalives => 12345689?

If those message are continually generating (and not just flukes from reboots or pre-installation), you may have a bad install. Try running the mail parser manually:

Code: Select all
perl /usr/share/astguiclient/AST_inbound_email_parser.pl --debugX

Re: No dahdi_dummy module running

PostPosted: Sun Apr 24, 2016 5:46 pm
by kisenok1989
Solved
Perl scripts were trying to connect asterisk manager. But it was not set up.

After adding the following code to the /etc/asterisk/manager.conf:
Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1

[cron]
secret = blablabla
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
bindaddr = 127.0.0.1

time error disappeared.