[Freeswitch-users] Freeswitch is showing Incorrect time
Philippe Le Toquin
philippe at ppmt.org
Tue Mar 12 02:37:36 MSK 2013
what is strange is that until 2 days ago it was fine and reporting the
right time !
anyway the fsctl sync_clock has done the trick!
I will keep an eye on it and create a script to init it if needed
Thanks all !
fsctl sync_clock
+OK clock synchronized
2000-01-01 18:31:55.160499 [INFO] switch_time.c:476 Clock synchronized
to system time.
2013-03-11 19:34:54.903637 [WARNING] switch_scheduler.c:114 Task was
executed late by 416275370 seconds 1 heartbeat (core)
2013-03-11 19:34:54.903637 [WARNING] switch_scheduler.c:114 Task was
executed late by 416275330 seconds 2 check_ip (core)
2013-03-11 19:34:54.903637 [WARNING] switch_scheduler.c:114 Task was
executed late by 416274543 seconds 3 limit_hash_cleanup (mod_hash)
2013-03-11 19:34:56.503615 [NOTICE] sofia_reg.c:417 Registering VoipMS
2013-03-11 19:34:56.503615 [NOTICE] sofia_reg.c:417 Registering FPL
/Philippe
On 13-03-11 06:08 PM, Dmitry Lysenko wrote:
> It seems Jeff is right. According to
> http://www.plugcomputer.org/plugforum/index.php?topic=1771.msg10761#msg10761
> Guruplug standart version does not have RTC battery.
>
> Best regards,
> Dmitry.
>
>
> 2013/3/11 Jeff Leung <jleung at v10networks.ca
> <mailto:jleung at v10networks.ca>>
>
> Embedded devices at that scale probably don't even feature a
> battery or a way to preserve the RTC's time. In that case you'll
> have to write a bunch more of init scripts to force ntp to sync to
> the real time first before starting any daemons up
>
> *From:*freeswitch-users-bounces at lists.freeswitch.org
> <mailto:freeswitch-users-bounces at lists.freeswitch.org>
> [mailto:freeswitch-users-bounces at lists.freeswitch.org
> <mailto:freeswitch-users-bounces at lists.freeswitch.org>] *On Behalf
> Of *Philippe Le Toquin
> *Sent:* Monday, March 11, 2013 11:44 AM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Freeswitch is showing Incorrect time
>
> Thanks all,
>
> I will check the internal tonight. I actually use a Guruplug
> running Debian. May that power cut did something more than
> rebooting the box :(
>
> I will run the command to sync the clock. I am not too worried
> about the CDRs since I am the only user on this box. It is a home PBX
>
> I really need to learn a bit more the CLI. I tried to look but
> could not work a command for it.
>
> 15 years of billing....I can see why a customer would be upset :D
>
> I will also check when Freeswitch is started. I thought it was the
> last one to start but may be not.
>
> /Philippe
>
> On 10 March 2013 20:37, Andrew Latham <lathama at gmail.com
> <mailto:lathama at gmail.com>> wrote:
>
> On Sun, Mar 10, 2013 at 8:25 PM, Philippe Le Toquin
> <philippe at ppmt.org <mailto:philippe at ppmt.org>> wrote:
> > Hello,
> >
> > Not sure why but recently I noticed that Freeswitch is logging
> data with the
> > wrong date
> >
> > I noticed it first in the freeswitch log but I can see it also
> in the log
> > that are display in the cli itself
> >
> > the computer itself is ok
> >
> > ~# date
> > Sun Mar 10 20:13:05 EDT 2013
> >
> > but :
> >
> > freeswitch at internal> version
> > FreeSWITCH Version 1.3.13b+git~20130108T204816Z~8e892abdef (git
> 8e892ab
> > 2013-01-08 20:48:16Z)
> >
> > freeswitch at internal> strftime
> > 1999-12-31 19:07:40
> >
> > from freeswtich.log
> > 1999-12-31 19:14:09.460477 [WARNING] sofia_reg.c:1506 SIP auth
> challenge
> > (REGISTER) on sofia profile 'internal' for [1000 at xx.xx.xx.xx]
> from ip
> > xx.xx.xx.xx
> >
> >
> > This is right after a reboot since I thought a reboot would may
> be fix it
> >
> > where does FS takes its time from?
> >
> > The last time it was correctly logged was on the 9th of March !
> We had a
> > power cut that caused the system to reboot
> >
> > thanks
> >
> > /Philippe
>
> Check your hardware clock...
>
> man hwclock
>
> --
> ~ Andrew "lathama" Latham lathama at gmail.com
> <mailto:lathama at gmail.com> http://lathama.net ~
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130311/5e7b2337/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list