What do i look for in logs

Hi everyone

My proxmox server is crashing daily. And I've been checking the logs. But the thing is. What do I look for? Syslog, kern and daemonlogs. I would like to fix this problem. Need advice ! Thanks

95 points · 13 comments · view on lemmy.world

13 Comments

HurlingDurling@lemm.ee · 48 pts · 3y (2 replies)

When I look a the logs, I'm mostly looking for as least knots as possible, but also to make sure they are cedar, pine, or oak depending on the project.

Oh shit, this isn't the carpentry community. NVM then

couscouscivil@sh.itjust.works · 6 pts · 3y

lol!

Thanks, you are the reason I look at comments.

lauha@lemmy.one · 2 pts · 3y

When I am reading the logs, I usually check who was the last seaman in charge when the ship crashed through the pier.

Atemu@lemmy.ml · 38 pts · 3y

The picture made me lol :D

mvirts@lemmy.world · 33 pts · 3y

If you know the times of the crash, check whatever is logged right before and after

badbytes@lemmy.world · 11 pts · 3y (3 replies)

On Linux systems running systems I usually use the journalctl tool to look at messages. Ex.

journalctl --list-boots journalctl --since="2012-10-30 18:17:16"

Looking for anything obvious.

lemmy@lemmy.stonansh.org · 3 pts · 3y (2 replies)

I'm -to be honest- quite the noob. What is obvious?

oldfart@lemm.ee · 3 pts · 3y (1 reply)

Anything looking like this: http://i.stack.imgur.com/RMcUY.jpg

Anything saying "error" or "fatal" in the kernel log.

It's quite likely that you will not find anything because the machine reboots before it can write to disk. In that case, I'd start with memtest86.

Protip: view the logs in vim, it highlights errors in red.

lemmy@lemmy.stonansh.org · 1 pts · 3y

Alright. That is what i see on my screen.

couscouscivil@sh.itjust.works · 10 pts · 3y

grep -Ri 'error/|warning' /var/log/

Then you can further pipe 'grep' or 'grep -v' based on what you see or for a specific time.

Interstellar_1@pawb.social · 6 pts · 3y

I do this all the time when I look at logs, I don't even really know why

mvirts@lemmy.world · 3 pts · 3y

Pill bugs, moss, snakes, etc.

robinj1995@feddit.nl · 2 pts · 3y

A good place to start because it's a likely culprit is anything mentioning "OOM" (which refers to Out Of Memory)

lemmy@lemmy.stonansh.org · 1 pts · 3y
[ removed ]
IverCoder@lemm.ee · 1 pts · 3y
[ removed ]