<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#CCCCCC">
what is strange is that until 2 days ago it was fine and reporting
the right time !<br>
<br>
anyway the fsctl sync_clock has done the trick!<br>
<br>
I will keep an eye on it and create a script to init it if needed<br>
<br>
Thanks all !<br>
<br>
<br>
fsctl sync_clock <br>
+OK clock synchronized<br>
<br>
2000-01-01 18:31:55.160499 [INFO] switch_time.c:476 Clock
synchronized to system time.<br>
2013-03-11 19:34:54.903637 [WARNING] switch_scheduler.c:114 Task was
executed late by 416275370 seconds 1 heartbeat (core)<br>
2013-03-11 19:34:54.903637 [WARNING] switch_scheduler.c:114 Task was
executed late by 416275330 seconds 2 check_ip (core)<br>
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)<br>
2013-03-11 19:34:56.503615 [NOTICE] sofia_reg.c:417 Registering
VoipMS<br>
2013-03-11 19:34:56.503615 [NOTICE] sofia_reg.c:417 Registering FPL<br>
<br>
<br>
/Philippe<br>
<br>
<div class="moz-cite-prefix">On 13-03-11 06:08 PM, Dmitry Lysenko
wrote:<br>
</div>
<blockquote
cite="mid:CAMjaK3AmMDOLE76Nj=Ki3Ho80-rfRrEvdOGbfjjrrgQKTZszLw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>It seems Jeff is right. According to <a
moz-do-not-send="true"
href="http://www.plugcomputer.org/plugforum/index.php?topic=1771.msg10761#msg10761">http://www.plugcomputer.org/plugforum/index.php?topic=1771.msg10761#msg10761</a></div>
<div>Guruplug standart version does not have RTC battery.</div>
<div><br>
</div>
<div style="">Best regards,</div>
<div style=""> Dmitry.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/3/11 Jeff Leung <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:jleung@v10networks.ca"
target="_blank">jleung@v10networks.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Philippe Le Toquin<br>
<b>Sent:</b> Monday, March 11, 2013 11:44 AM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Freeswitch is
showing Incorrect time</span></p>
<div>
<div class="h5">
<p class="MsoNormal">
</p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">Thanks all,</p>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">I will check
the internal tonight. I actually use a
Guruplug running Debian. May that power
cut did something more than rebooting the
box :(</p>
</div>
<p class="MsoNormal">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</p>
</div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">
I really need to learn a bit more the CLI. I
tried to look but could not work a command
for it.</p>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">15 years of
billing....I can see why a customer would be
upset :D</p>
</div>
<div>
<p class="MsoNormal">I will also check when
Freeswitch is started. I thought it was the
last one to start but may be not. </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">
/Philippe</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">On 10 March 2013 20:37,
Andrew Latham <<a moz-do-not-send="true"
href="mailto:lathama@gmail.com"
target="_blank">lathama@gmail.com</a>>
wrote:</p>
<div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">On Sun, Mar
10, 2013 at 8:25 PM, Philippe Le Toquin
<<a moz-do-not-send="true"
href="mailto:philippe@ppmt.org"
target="_blank">philippe@ppmt.org</a>>
wrote:<br>
> Hello,<br>
><br>
> Not sure why but recently I noticed
that Freeswitch is logging data with the<br>
> wrong date<br>
><br>
> I noticed it first in the freeswitch
log but I can see it also in the log<br>
> that are display in the cli itself<br>
><br>
> the computer itself is ok<br>
><br>
> ~# date<br>
> Sun Mar 10 20:13:05 EDT 2013<br>
><br>
> but :<br>
><br>
> freeswitch@internal> version<br>
> FreeSWITCH Version
1.3.13b+git~20130108T204816Z~8e892abdef
(git 8e892ab<br>
> 2013-01-08 20:48:16Z)<br>
><br>
> freeswitch@internal> strftime<br>
> 1999-12-31 19:07:40<br>
><br>
> from freeswtich.log<br>
> 1999-12-31 19:14:09.460477 [WARNING]
sofia_reg.c:1506 SIP auth challenge<br>
> (REGISTER) on sofia profile
'internal' for [<a class="moz-txt-link-abbreviated" href="mailto:1000@xx.xx.xx.xx">1000@xx.xx.xx.xx</a>] from ip<br>
> xx.xx.xx.xx<br>
><br>
><br>
> This is right after a reboot since I
thought a reboot would may be fix it<br>
><br>
> where does FS takes its time from?<br>
><br>
> The last time it was correctly logged
was on the 9th of March ! We had a<br>
> power cut that caused the system to
reboot<br>
><br>
> thanks<br>
><br>
> /Philippe</p>
</div>
</div>
<p class="MsoNormal">
Check your hardware clock...<br>
<br>
man hwclock<br>
<span style="color:#888888"><br>
<span>--</span><br>
<span>~ Andrew "lathama" Latham <a
moz-do-not-send="true"
href="mailto:lathama@gmail.com"
target="_blank">lathama@gmail.com</a> <a
moz-do-not-send="true"
href="http://lathama.net"
target="_blank">http://lathama.net</a> ~</span></span></p>
<div>
<div>
<p class="MsoNormal"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting
Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel
Communication Server<br>
<a moz-do-not-send="true"
href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a></p>
</div>
</div>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>