Time syncronization "Vicidial asterisk server" issue
Posted: Fri Sep 30, 2016 4:59 pm
My current configuration on which problem arises continuously
VERSION: 2.12-565a
BUILD: 160827-0917
Asterisk : 1.8.23.0
Ram : 32 GB
SSD : 200 GB and HDD 2 TB
CPU : Intel i7
core : 4
server : dedicated cloud server
OS : Centos 6.xx
Installation : Scratch install using Ray solomon guide
On this server i am facing little wired issue with time synchronization . In report section, after clicking on + sign at bottom it shows current sync time for PHP, DB and vicidial asterisk server . Some time it shows correct time in all section but some times "vicidial asterisk server" get out of sync by 10 sec or 20 sec and then suddenly soft phone gets unregistered . After some time it automatically gets corrected .
I tried to update time zone in system settings, server settings, php . Even again setup my time using
rm /etc/localtime
ln -sf /usr/share/zoneinfo/desired/Zone /etc/localtime
rdate -s time-a.nist.gov
chkconfig ntpd on
ntpdate pool.ntp.org
/etc/init.d/ntpd start
But still no luck with get it sorted out . can anyone suggest to resolve this .
Another issue, when i tried to restart asterisk server using "service asterisk restart" it shows error : Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
I tired to change ulimit value to higher but still same issue . Then after little search i modified by putting # in first character of line 86 and 102. Now issue seems to be resolved .
My concern is . is this change going to hamper server in any way or is there any other solution .
Its my first encounter with these issue .
Thank you
VERSION: 2.12-565a
BUILD: 160827-0917
Asterisk : 1.8.23.0
Ram : 32 GB
SSD : 200 GB and HDD 2 TB
CPU : Intel i7
core : 4
server : dedicated cloud server
OS : Centos 6.xx
Installation : Scratch install using Ray solomon guide
On this server i am facing little wired issue with time synchronization . In report section, after clicking on + sign at bottom it shows current sync time for PHP, DB and vicidial asterisk server . Some time it shows correct time in all section but some times "vicidial asterisk server" get out of sync by 10 sec or 20 sec and then suddenly soft phone gets unregistered . After some time it automatically gets corrected .
I tried to update time zone in system settings, server settings, php . Even again setup my time using
rm /etc/localtime
ln -sf /usr/share/zoneinfo/desired/Zone /etc/localtime
rdate -s time-a.nist.gov
chkconfig ntpd on
ntpdate pool.ntp.org
/etc/init.d/ntpd start
But still no luck with get it sorted out . can anyone suggest to resolve this .
Another issue, when i tried to restart asterisk server using "service asterisk restart" it shows error : Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
I tired to change ulimit value to higher but still same issue . Then after little search i modified by putting # in first character of line 86 and 102. Now issue seems to be resolved .
My concern is . is this change going to hamper server in any way or is there any other solution .
Its my first encounter with these issue .
Thank you