Time zone inssues on latest ViCibox distro

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Time zone inssues on latest ViCibox distro

Postby dspaan » Fri Aug 07, 2015 9:20 am

Hi,

I installed 3 servers recently with ViCibox 6.0.3 and noticed that on each of the servers the PHP time is not the same as the server time and DB time.

I was able to fix it by editing php.ini but i'm confused as what would cause this and what the proper procedure is for configuring NTP. As far as i know NTP is enabled by default on ViCibox. However if you use Yast to access the date/time menu it gives a warning that ntp.conf is configured manually and will be overwritten.

I tried setting the NTP configuration manually before i resorted to Yast with these steps:

nano /etc/default/ntpdate >> NTPDATE_USE_NTP_CONF=yes
nano /etc/ntp.conf
/etc/init.d/ntp restart

But when i did ntpq -p it would show an * next to LOCAL server which means it's not using an internet NTP server, right?

So i went into Yast and enabled NTP from there and forced a sync. After exiting Yast i get this warning about how i did not use UTP and need to set the clock manually twice a year due to daylight savinges but that's not true if you use NTP right?

So after forcing it via Yast and checking ntpq -p again it's now syncing from the internet pool it seems:

new1:~ # ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
LOCAL(0) .LOCL. 10 l 200 64 370 0.000 0.000 0.000
*li506-17.member 209.51.161.238 2 u 59 64 377 84.824 16.153 3.020
+time01.muskegon 64.113.32.5 2 u 61 64 377 107.657 16.704 3.060
+propjet.latt.ne 187.253.153.32 2 u 53 64 377 167.009 18.311 3.217
time.gac.edu 18.26.4.105 2 u 54 64 340 115.809 13.051 0.043
-textnews.news.c 94.228.220.14 3 u 56 64 377 1.562 11.659 3.180

Can anyone elaborate on what the proper way of setting the server, DB and PHP time is and enabling NTP on a fresh installed vicibox server? I'd like to know for the future.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Time zone inssues on latest ViCibox distro

Postby williamconley » Thu Aug 27, 2015 10:30 pm

Try a fresh install and use Eastern Standard instead of whichever time zone you used. It may be that there is a mismatch between the packages.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Time zone inssues on latest ViCibox distro

Postby dspaan » Fri Aug 28, 2015 8:14 am

I'll post back once i have time for another install.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 110 guests