Page 1 of 1

VicidialNOW Server time problems

PostPosted: Mon Jul 20, 2009 11:09 pm
by mikefink80
I had installed vicidialnow 1.2 on an extra server I had in case anything ever happened to the asterisk/vicidial server I had running in a 2 server setup where the 2nd server is used as a web and database server.

Unfortunately my asterisk/vicidial server went down this weekend so I switched the phones, conferences and carriers over to the backup server this morning and it wouldn't make calls because it showed there was 0 dialable leads. That is when I noticed there was a time issue with the server with vicidialnow 1.2 installed on it. The time was over 4 hours behind the actual time.

I ran system-config-date and it was set correctly, but the time issue was still there. That is when I typed in the command:
ln -sf /usr/share/zoneinfo/UTC /etc/localtime

This set the time up for the right hour but it is still about 15 minutes behind the real time.

Am I wrong or isn't vicidialnow setup to automatically update the time on the server, or is there something I was supposed to do to make sure that happens correctly?

PostPosted: Thu Jul 23, 2009 4:30 am
by gardo
Try running: "ntpdate -u pool.ntp.org" as root. This will synchronize your time. This actually runs every 30 mins via crontab.

PostPosted: Thu Jul 23, 2009 9:51 am
by mikefink80
Checking my crontab this is the entry that is in it:

30 * * * * ntpdate -u ntp.myfloridacity.us 2>/dev/null 1>&2

I see that it is scheduled to run every 30 minutes...

maybe the problem is the ntp.myfloridacity.us?

Either way I am not too familiar with changing the crontab in centOS. I run crontab -e and it shows the crontab but doesn't allow me to edit it at all. Is there another way to go about editing the crontab that I don't know about?

PostPosted: Fri Jul 24, 2009 12:14 pm
by gardo
Running "crontab -e" will edit your crontab using the "Vi" editor. Try googling the basic commands of "Vi".