<div dir="ltr">Hi Daniel, thanks.<div><br></div><div style>A reboot got the time back to normal.</div><div style><br></div><div style>Thank you for your help up to now.</div></div><div class="gmail_extra"><br clear="all"><div>
<div dir="ltr">Martin Wong<div>Director@Binary Elements</div><div><a href="http://www.binaryelements.com.au" target="_blank">http://www.binaryelements.com.au</a></div><div>Tel: 03 9005 8880</div><div>DID: 03 9020 7907</div>
<div>Mob: 0405 817 796<br></div></div></div>
<br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 11:21 PM, Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Martin,<br>
<br>
AFAIK there is no variable to set in kamailio.<br>
Do you still have the problem only in the kamailio-lb.log ?<br>
Have you tried to restart the services with the init scripts after the<br>
timezone reconfiguration ?<br>
<br>
br,<br>
Daniel<br>
<div class="im"><br>
<br>
<br>
<br>
On 04/17/2013 03:11 PM, Martin Wong wrote:<br>
> Hi Daniel,<br>
><br>
</div><div class="im">> I did a<br>
><br>
> dpkg-reconfigure tzdata<br>
><br>
> to select the write timezone on the debian machine. After that it looks<br>
> like it started working.<br>
><br>
> The kamailio-lb logs seems to still be on GMT+0 time. Not sure whether<br>
> there's a variable somewhere to fix that?<br>
><br>
> Martin Wong<br>
> Director@Binary Elements<br>
> <a href="http://www.binaryelements.com.au" target="_blank">http://www.binaryelements.com.au</a><br>
> Tel: <a href="tel:03%209005%208880" value="+61390058880">03 9005 8880</a><br>
> DID: <a href="tel:03%209020%207907" value="+61390207907">03 9020 7907</a><br>
> Mob: <a href="tel:0405%20817%20796" value="+61405817796">0405 817 796</a><br>
><br>
><br>
> On Wed, Apr 17, 2013 at 10:23 PM, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>>> wrote:<br>
><br>
> Hi Martin,<br>
><br>
> I don't know if the time zone offset is the problem.<br>
><br>
> Try to set the offset manually:<br>
><br>
> var tz_offset = 36000;<br>
><br>
> it should look like:<br>
><br>
> ...<br>
> var ds_graph_opts = {};<br>
> var tz_offset = [% tz_offset %];<br>
> var tz_offset = 36000;<br>
><br>
> if (rrd_data_arr.length == 1)<br>
> ....<br>
><br>
><br>
> and reload your statistic web page.<br>
><br>
> Daniel<br>
><br>
><br>
><br>
><br>
><br>
> On 04/17/2013 01:22 PM, Martin Wong wrote:<br>
> > Hi Daniel,<br>
> ><br>
> > root@km1:/var/log# grep "tz_offset"<br>
> > /usr/share/ngcp-www-admin/lib/admin/root/tt/<a href="http://dashboard.tt" target="_blank">dashboard.tt</a><br>
> <<a href="http://dashboard.tt" target="_blank">http://dashboard.tt</a>><br>
> > <<a href="http://dashboard.tt" target="_blank">http://dashboard.tt</a>><br>
> > var tz_offset = [% tz_offset %];<br>
> > var f = new<br>
> ><br>
> rrdFlot(args['plot_id'],rrd_data_arr[0],graph_opts,ds_graph_opts,args['si_suffix'],tz_offset);<br>
> > var f = new<br>
> ><br>
> rrdFlot(args['plot_id'],t,graph_opts,ds_graph_opts,args['si_suffix'],tz_offset);<br>
> > root@km1:/var/log# date<br>
> > Wed Apr 17 21:17:36 EST 2013<br>
> > root@km1:/var/log#<br>
> ><br>
> > I'm in AEST GMT+10... one thing I found was that the logs were set in<br>
> > another timezone, probably GMT time.<br>
> ><br>
> > Is this the issue?<br>
> ><br>
> > Martin<br>
> ><br>
> > On Wed, Apr 17, 2013 at 7:56 PM, Daniel Grotti<br>
> <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>><br>
</div></div><div><div class="h5">> > <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>>>> wrote:<br>
> ><br>
> > Hello Martin,<br>
> ><br>
> > What's the output of:<br>
> ><br>
> > grep "tz_offset"<br>
> > /usr/share/ngcp-www-admin/lib/admin/root/tt/<a href="http://dashboard.tt" target="_blank">dashboard.tt</a><br>
> <<a href="http://dashboard.tt" target="_blank">http://dashboard.tt</a>><br>
> > <<a href="http://dashboard.tt" target="_blank">http://dashboard.tt</a>><br>
> ><br>
> ><br>
> > and which is you timezone offset?<br>
> ><br>
> > br,<br>
> > Daniel<br>
> ><br>
> ><br>
> ><br>
> > On 04/17/2013 10:34 AM, Martin Wong wrote:<br>
> > > Hi, did a restart of the collectd...<br>
> > ><br>
> > > In collectd.log there were errors. The plugin 'swap' failed.<br>
> That goes<br>
> > > on quite a while... in oss.log, there are errors on the SSL<br>
> part.<br>
> > ><br>
> > > Any ideas?<br>
> > ><br>
> > > collectd.log<br>
> > ><br>
> > > Apr 17 08:27:32 km1 collectd[8184]: collectd: Stopping 5<br>
> read threads.<br>
> > > Apr 17 08:27:32 km1 collectd[8184]: rrdtool plugin: Shutting<br>
> down the<br>
> > > queue thread. This may take a while.<br>
> > > Apr 17 08:27:32 km1 collectd[8184]: network plugin: Stopping<br>
> > receive thread.<br>
> > > Apr 17 08:27:32 km1 collectd[8184]: network plugin: Stopping<br>
> dispatch<br>
> > > thread.<br>
> > > Apr 17 08:27:32 km1 collectdmon[8183]: Info: collectd<br>
> terminated with<br>
> > > exit status 0<br>
> > > Apr 17 08:27:32 km1 collectdmon[8183]: Info: shutting down<br>
> collectdmon<br>
> > > Apr 17 08:27:34 km1 collectd[9468]: perl: Initializing Perl<br>
> > interpreter...<br>
> > > Apr 17 08:27:34 km1 collectd[9471]: perl: Initializing Perl<br>
> > interpreter...<br>
> > > Apr 17 08:27:34 km1 collectd[9471]: Initialization complete,<br>
> entering<br>
> > > read-loop.<br>
> > > Apr 17 08:27:34 km1 collectd[9471]: read-function of plugin<br>
> `swap'<br>
> > > failed. Will suspend it for 20 seconds.<br>
> > > Apr 17 08:27:54 km1 collectd[9471]: read-function of plugin<br>
> `swap'<br>
> > > failed. Will suspend it for 40 seconds.<br>
> > ><br>
> > > oss.log<br>
> > ><br>
> > ><br>
> > > Apr 17 08:31:39 km1 provisioning:<br>
> Sipwise::Provisioning::_log_xmldata:<br>
> > > get_host_subdirs called with: {'authentication' =><br>
> {'password' =><br>
> > > '********','type' => 'admin','username' =><br>
> > 'administrator'},'parameters'<br>
> > > => {'host' => 'km1'}}<br>
> > > Apr 17 08:31:39 km1 provisioning:<br>
> > Sipwise::Provisioning::handle_request:<br>
> > > calling function 'get_host_subdirs' for admin 'administrator'<br>
> > > Apr 17 08:31:39 km1 provisioning:<br>
> Sipwise::Provisioning::_log_xmldata:<br>
> > > get_host_subdirs returned with:<br>
> > ><br>
> ><br>
> ['cpu-0','cpu-1','df','disk-xvda1','disk-xvdz1','entropy','interface','irq','load','memory','processes','users']<br>
> > > Apr 17 08:31:39 km1 provisioning:<br>
> Sipwise::Provisioning::_log_xmldata:<br>
> > > get_rrd_files called with: {'authentication' => {'password' =><br>
> > > '********','type' => 'admin','username' =><br>
> > 'administrator'},'parameters'<br>
> > > => {'folder' => 'interface','host' => 'km1'}}<br>
> > > Apr 17 08:31:39 km1 provisioning:<br>
> > Sipwise::Provisioning::handle_request:<br>
> > > calling function 'get_rrd_files' for admin 'administrator'<br>
> > > Apr 17 08:31:39 km1 provisioning:<br>
> Sipwise::Provisioning::_log_xmldata:<br>
> > > get_rrd_files returned with:<br>
> > ><br>
> ><br>
> ['if_errors-eth0.rrd','if_errors-eth1.rrd','if_errors-lo.rrd','if_octets-eth0.rrd','if_octets-eth1.rrd','if_octets-lo.rrd','if_packets-eth0.rrd','if_packets-eth1.rrd','if_packets-lo.rrd']<br>
> > > Apr 17 08:31:39 km1 /usr/sbin/apache2:<br>
> ***Provisioning::call_prov<br>
> > > calling 'system::get_host_list'<br>
> > > Apr 17 08:31:39 km1 /usr/sbin/apache2:<br>
> ***Provisioning::call_prov<br>
> > > calling 'system::get_host_subdirs'<br>
> > > Apr 17 08:31:39 km1 /usr/sbin/apache2:<br>
> ***Provisioning::call_prov<br>
> > > calling 'system::get_rrd_files'<br>
> > > Apr 17 08:31:39 km1 oss: x.x.x.x - - [17/Apr/2013:08:31:39<br>
> +0000]<br>
> > "POST<br>
> > > /dashboard HTTP/1.1" 200 5367 "<a href="https://x.x.x.x:1443/dashboard" target="_blank">https://x.x.x.x:1443/dashboard</a>"<br>
> > > "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5)<br>
> AppleWebKit/537.31<br>
> > > (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31"<br>
> > > Apr 17 08:31:41 km1 apache2: [info] [client x.x.x.x]<br>
> Connection to<br>
> > child<br>
> > > 8 established (server myserver:443)<br>
> > > Apr 17 08:31:41 km1 apache2: [info] Seeding PRNG with 656<br>
> bytes of<br>
> > entropy<br>
> > > Apr 17 08:31:54 km1 apache2: [info] [client x.x.x.x (70007)The<br>
> > timeout<br>
> > > specified has expired: SSL input filter read failed.<br>
> > > Apr 17 08:31:54 km1 apache2: [info] [client x.x.x.x Connection<br>
> > closed<br>
> > > to child 6 with standard shutdown (server myserver:443)<br>
> > > Apr 17 08:31:55 km1 apache2: [info] [client x.x.x.x (70014)End<br>
> > of file<br>
> > > found: SSL handshake interrupted by system [Hint: Stop button<br>
> > pressed in<br>
> > > browser?!]<br>
> > > Apr 17 08:31:55 km1 apache2: [info] [client x.x.x.x Connection<br>
> > closed<br>
> > > to child 8 with abortive shutdown (server myserver:443)<br>
> > ><br>
> > ><br>
> > ><br>
> > > On Wed, Apr 17, 2013 at 6:09 PM, Andrew Pogrebennyk<br>
> > > <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>><br>
> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>>><br>
> > <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a><br>
> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a><br>
> <mailto:<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>>>>><br>
> > wrote:<br>
> > ><br>
> > > Martin,<br>
> > ><br>
> > > any errors in oss.log and collectd.log (after restart) that<br>
> > would give<br>
> > > an indication what is going wrong?<br>
> > ><br>
> > > On 04/17/2013 09:26 AM, Daniel Grotti wrote:<br>
> > > > Hello Martin,<br>
> > > ><br>
> > > > Have you tried to restart collectd ?<br>
> > > ><br>
> > > > /etc/init.d/collectd restart<br>
> > > ><br>
> > > > If the script is not able to stop the process, kill<br>
> the process<br>
> > > manually<br>
> > > > and then start it again.<br>
> > > ><br>
> > > > br,<br>
> > > > Daniel<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On 04/17/2013 12:23 AM, Martin Wong wrote:<br>
> > > >> Hi,<br>
> > > >><br>
> > > >> A newbie here... Just trying to figure something out.<br>
> > > >><br>
> > > >> The status page does an AJAX call for the graphs but<br>
> > somehow the just<br>
> > > >> keeps showing the loading ... spinner.<br>
> > > >><br>
> > > >> How do you figure out what's wrong?<br>
> > > >><br>
> > > >> Looked at the apache logs but nothing moves there.<br>
> > > >><br>
> > > >> Thanks<br>
> > > >><br>
> > > >><br>
> > > >><br>
> > > >> _______________________________________________<br>
> > > >> Spce-user mailing list<br>
> > > >> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>>><br>
> > > >> <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
> > > >><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > Spce-user mailing list<br>
> > > > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>>><br>
> > > > <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
> > > ><br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > Spce-user mailing list<br>
> > > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> > <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>>><br>
> > > <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > Spce-user mailing list<br>
> > > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>><br>
> > > <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
> > ><br>
> ><br>
> > _______________________________________________<br>
> > Spce-user mailing list<br>
> > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>>><br>
> > <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
> ><br>
> ><br>
><br>
> _______________________________________________<br>
> Spce-user mailing list<br>
> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
> <a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
</div></div><a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
</blockquote></div><br></div>