how to adjust time
I can't synch trixbox time with Centos time on my server. Even though centos has the correct time, Trixbox is 3 hours slow. I suspect Trixbox might be set up on the wrong time zone, but I can't seem to find the setting. Any ideas?
This has been showing up more and more. But no rhyme or reason.
I've done the following, and the time straightens out. By the way, it's giving you the time in GMT.
1. Put the TZ variable in /etc/profile. (set TZ=US/Central)
2. Instead of using a symbolic link for /etc/localtime I copied
/usr/share/zoneinfo/US/Central to /etc/localtime.
3. Verified the ZONE setting in /etc/sysconfig/clock.
4. Reboot the server
5. *60 to check the time
6. If still off "amportal restart"
Of course you replace the US/Central with your timezone
Thanks for your help Bill.
1. Put the TZ variable in /etc/profile. (set TZ=US/Central)
>>>How do i do this? I have a folder named profile.d that has a bumch of .sh and .csh files in it? Am I in the right place?
2. Instead of using a symbolic link for /etc/localtime I copied
/usr/share/zoneinfo/US/Central to /etc/localtime.
>>>I do not have an /etc/localtime folder???
3. Verified the ZONE setting in /etc/sysconfig/clock.
>>>Yes this looks accurate, I have America/New York.
Thanks again.
profile is a text file in the /etc folder not a directory. Ditto localtime
1. nano -w /etc/profile -- Put TZ="America/New York" as the second line. Before doing this, do a cp /etc/profile /etc/profile.old so you can go back in case anything goes wrong
2. rm -f /etc/localtime
3. cp /usr/share/zonenifo/America/New York /etc/localtime
4. Reboot the server
5. Dial *60 and see if the time is correct.
6 If not correct, do amportal restart from the unix prompt
7. Do 5 Again.
If this doesn't work, replace America/New York with US/Eastern as in above and also in the /etc/sysconfig/clock file. Proceed to step 4.
I was facing the same problem , voice mail messages were showing incorrect time stamps , I was able to fix that following this thread.
Thanx mate..
Regards
Shiju V.Joseph
Using Trixbox 2.0 this tip fixed my mal-adjusted time setting.
I tried to solve my time problem using the steps above but when I try to do step 3, I get an error message saying there is now such file or directory??? Any help is very much welcome. I am not a heavy linux user, just a beginner. So if there is no directory will this screw up my system after doing all the other steps? How do I revert back.

Member Since:
2006-08-02