Am 01.10.2014 um 17:36 schrieb Nikolaus Rath: > Package: systemd > Version: 208-8 > Severity: normal > File: /bin/journalctl > > Hello, > > I'm trying to retrieve the logs from the last book. journalctl(1) says: > > -b [ID][±offset], --boot=[ID][±offset] > Show messages from a specific boot. This will add a match for > "_BOOT_ID=". > > The argument may be empty, in which case logs for the current > boot will be > shown. > > If the boot ID is omitted, a positive offset will look up the > boots starting > from the beginning of the journal, and a equal-or-less-than > zero offset will > look up boots starting from the end of the journal. Thus, 1 > means the first > boot found in the journal in the chronological order, 2 the > second and so > on; while -0 is the last boot, -1 the boot before that, and > so on. An empty > offset is equivalent to specifying -0, except when the > current boot is not > the last boot (e.g. because --directory was specified to look > at logs from a > different machine). > > > However, > > [0] nelarikon:~# journalctl -b -1 > Failed to look up boot -1: Cannot assign requested address > > [1] nelarikon:~# journalctl --boot=-1 > Failed to look up boot -1: Cannot assign requested address > >
I do assume that you have created a /var/log/journal directory? Also, please test with v215 from unstable to see if you can reproduce the problem with an up-to-date version. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
