How to set right date and time goautodial vicidial or linux systems.
**************************
Option 1: Setting Right Timezone
**************************
- Delete the current timezone
rm -rf /etc/localtime
- Copy the right timezone to /etc/localtime for eg: mine is INDIA
cp /usr/share/zoneinfo/Asia/Kolkatta /etc/localtime
- Restart the Ntp service to update date and time
/etc/init.d/ntpd restart
**************************
Option 2: syncing the hardware and online ntpd server
**************************
In case the server showing wrong time , even after the above said Option 1 , follow the below steps
/etc/init.d/ntpd stop
ntpdate 1.rhel.pool.ntp.org
/sbin/hwclock --systohc
/etc/init.d/ntpd start
**************************
Option 3: manually setting date and time
**************************
- check the current date and time in linux server by typing below command
date
- The date command will show below output
Mon Oct 21 12:22:51 IST 2012
- use the date -s command to change the date as show below
date -s "Mon Oct 21 15:60:51 IST 2012"
*****************************
Also see:
solution to Vicidial Time synchronization error ClickHere
Script to block the ssh Hackers automatically ClickHere
For support contact skype :striker24x7