Still pathetically confused on Logs

My Vera3 (U15) rebooted this morning, for no apparent reason. I’ve been getting anywhere from 3-8 days between automatic reboots.

I want to look at the logs (using USB), and SSH in to see them. Problem is, they seem to reset at the time of the reboot. So all I can see is what happened after the reboot… not before.

What am I missing?

  1. Add USB Logging.
  2. Turn off Log uploads to MiOS

and you’ll have all the log files you can eat…

[quote=“guessed, post:2, topic:186087”]1. Add USB Logging.
2. Turn off Log uploads to MiOS

and you’ll have all the log files you can eat…[/quote]

I have USB logging… maybe i’m looking in wrong place?
for #2, is that deselect the “archive old logs on server”?

Yup.

thanks.

still look in temp/logs (or something like that) for the logs?

This is an offline tool that is Windows Excel centric to extract logs.

http://forum.micasaverde.com/index.php?topic=30265.0

[quote=“tomgru, post:5, topic:186087”]still look in temp/logs (or something like that) for the logs?[/quote]logs are stored at /tmp/log/cmh/ The files LuaUPnP.Log* are the ones you are most likely interested in.

When you have the archive old logs on server checked, logs are uploaded and overwritten so you will only have the one most recent LuaUPnP.Log even if you are logging to USB. When you uncheck that setting, the logs will be gzipped and rotated as LuaUPnP.log.1.gz LuaUPnP.log.2.gz … LuaUPnP.log.10.gz

You can transfer the logs to your local PC and read them there or you can list them on Vera with zcat LuaUPnP.log.1.gz | more

awesome… thanks everyone.

Me Again.

OK… got the logs. Figured out how to unzip. Putting them in Notepad is pretty unreadable. what do you guys use to read them?

I usually view them on Vera or another Linux system. The less(more on Vera) command or perhaps a graphical text editor on an external Linux system.

On Windows you can try Wordpad, it usually overcomes the lack of line wrap issues. Or you could try downloading Notepad++, it is very versatile and should be able to handle Linux text files.

[quote=“Z-Waver, post:10, topic:186087”]I usually view them on Vera or another Linux system. The less(more on Vera) command or perhaps a graphical text editor on an external Linux system.

On Windows you can try Wordpad, it usually overcomes the lack of line wrap issues. Or you could try downloading Notepad++, it is very versatile and should be able to handle Linux text files.[/quote]
Wow. I’ve worked at Microsoft for almost 20 years… and think i’m pretty deep with Windows. I didn’t even know there was a Wordpad. How sad is that??? ::slight_smile:

@z-waver, can you do me a quick favor and verify what I think i’m seeing. I brought these restarts up with tech support several weeks ago… and when they looked at my logs, they said my system wasn’t actually restarting. Honestly, I was a bit skeptical… but now I think they are right. Here’s the deal:

I’m running System+Monitor plugin, and the attached picture shows that there was a restart today at 13:11:26 , while the last LUUP restart was yesterday (which in and of itself seems weird). When I look at the log (also attached), it shows the system+monitor registering a restart at that time , but it doesn’t actually look like anything restarted as there is no break in time.

Am I missing something or not going back far enough?

Am I missing something or not going back far enough?

The logs got rotated at 13:10. If there was a restart just before, or during, this it could have confused things. This why I take log snapshots after a restart.

First and foremost, I don’t know nearly as much about Vera as Vera support does. If you are concerned that the particular tech you got missed something, made a misdiagnosis, or was clueless, then I’d recommend opening a new ticket and have them take another crack at it.

Your picture and log file looks like a restart to me. But as @RexBeckett pointed out, the log had just rotated(possibly due to a restart) and there is nothing useful there. If the logs hold anything useful, it would be in the previous log. Look at the tail end of the previous log in the minutes leading up to the indicated restart time. Hopefully you’ll find something there. Trolling logs sucks and I hate it! But, sometimes there is no alternative.

I’m unclear about what @RexBeckett means when saying he takes log snapshots after restarts. I’m hoping he’ll teach me a new trick, as he always does.

[quote=“Z-Waver, post:13, topic:186087”]First and foremost, I don’t know nearly as much about Vera as Vera support does. If you are concerned that the particular tech you got missed something, made a misdiagnosis, or was clueless, then I’d recommend opening a new ticket and have them take another crack at it.

Your picture and log file looks like a restart to me. But as @RexBeckett pointed out, the log had just rotated(possibly due to a restart) and there is nothing useful there. If the logs hold anything useful, it would be in the previous log. Look at the tail end of the previous log in the minutes leading up to the indicated restart time. Hopefully you’ll find something there. Trolling logs sucks and I hate it! But, sometimes there is no alternative.

I’m unclear about what @RexBeckett means when saying he takes log snapshots after restarts. I’m hoping he’ll teach me a new trick, as he always does.[/quote]

Me too. I would assume he means logs just before restart.

So… it happened again last night. Attached is the log right before restart. Actually looks like it was just cut off. can you take one more look? (agree about tech support… i’ll try them as well, but am trying to learn here!!!)

thanks.

Cross linking to this thread regarding Rex’s code that may help to diagnose in the future.

http://forum.micasaverde.com/index.php/topic,31292.0.html

I don’t see anything very useful, sorry.

In your log snippet, there are two “memory_leak” messages which MAY be something, but unfortunately they are pretty common and usually mean nothing.

There are also errors authenticating to an ecobee thermostat which may be causing a deadlock, but it doesn’t look like it.

[quote=“Z-Waver, post:16, topic:186087”]I don’t see anything very useful, sorry.

In your log snippet, there are two “memory_leak” messages which MAY be something, but unfortunately they are pretty common and usually mean nothing.

There are also errors authenticating to an ecobee thermostat which may be causing a deadlock, but it doesn’t look like it.[/quote]

Thanks for taking a look!!!