You are not logged in.

#1 2014-04-08 19:48:57

iggykay
Member
Registered: 2014-04-08
Posts: 2

No log of previous boot

Hi

my home server running Arch (3.13.8-1-ARCH) spontaneously shuts down every now and then. I can tell it's some sort of shutdown (and not a power loss), because open ssh connections are closed properly and then the actual turning off process takes about as long as a shutdown usually takes.

To find out what's causing this problem, I want to check the logs of the previous boot. However, there are no logs of previous boots:

❯ journalctl --list-boots                                                                                                                                              [9:47:31 PM]
 0 d51b45fa74014995aeaddadde5b1ee74 Tue 2014-04-08 21:46:05 CEST—Tue 2014-04-08 21:47:26 CEST

Is there an option that I have to turn on such that the journal won't be deleted (if it is stored)? I never get any information on previous boots. Even if I use "systemctl reboot" to reboot properly.

Offline

#2 2014-04-08 21:53:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,073

Re: No log of previous boot

Post your /etc/systemd/journald.conf
and the output of mount


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2014-04-09 06:43:46

iggykay
Member
Registered: 2014-04-08
Posts: 2

Re: No log of previous boot

journald.conf is basically empty. Didn't change any of the options.

❯ cat /etc/systemd/journald.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# See journald.conf(5) for details

[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=login
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=yes
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg

All my partitions are btfs formatted (yes, even /)

❯ mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=959376k,nr_inodes=239844,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sde2 on / type btrfs (rw,relatime,space_cache)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
/dev/sde3 on /home type btrfs (rw,relatime,space_cache)
/dev/sda1 on /data type btrfs (rw,relatime,space_cache)

Last edited by iggykay (2014-04-21 17:26:19)

Offline

Board footer

Powered by FluxBB