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.
[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
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??? :
@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!!!)