LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-09-2014, 12:52 PM   #1
Pivek1986
LQ Newbie
 
Registered: Nov 2014
Posts: 3

Rep: Reputation: Disabled
systemd - no kernel messages in journald


Hello

I have noticed that my journald is not logging any kernel messages. I had to use rsyslog to log f.e. dropped network packetss.

Code:
root@iap-palikot:~# journalctl -k
-- Logs begin at czw 2014-11-06 10:44:08 CET, end at nie 2014-11-09 19:43:09 CET. --
root@iap-palikot:~#
What can be a reason for this issue?

My configuration:
Code:
root@iap-palikot:/var# cat /etc/default/grub | grep -i cmdline
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
#GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3"
GRUB_CMDLINE_LINUX=""
root@iap-palikot:/var#
/etc/systemd/system.conf
Code:
#  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 systemd-system.conf(5) for details

[Manager]
LogLevel=debug
#LogTarget=journal
#LogColor=yes
#LogLocation=yes
#DumpCore=yes
#CrashShell=no
#ShowStatus=yes
#CrashChVT=1
#CPUAffinity=1 2
#JoinControllers=cpu,cpuacct net_cls,net_prio
#RuntimeWatchdogSec=0
#ShutdownWatchdogSec=10min
#CapabilityBoundingSet=
#SystemCallArchitectures=
#TimerSlackNSec=
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=journal
#DefaultStandardError=inherit
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
#DefaultRestartSec=100ms
#DefaultStartLimitInterval=10s
#DefaultStartLimitBurst=5
#DefaultEnvironment=
#DefaultCPUAccounting=no
#DefaultBlockIOAccounting=no
#DefaultMemoryAccounting=no
#DefaultLimitCPU=
#DefaultLimitFSIZE=
#DefaultLimitDATA=
#DefaultLimitSTACK=
#DefaultLimitCORE=
#DefaultLimitRSS=
#DefaultLimitNOFILE=
#DefaultLimitAS=
#DefaultLimitNPROC=
#DefaultLimitMEMLOCK=
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
#DefaultLimitRTPRIO=
#DefaultLimitRTTIME=
/etc/systemd/journald.conf
Code:
#  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=persistent
Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitInterval=30s
#RateLimitBurst=1000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=yes
#ForwardToKMsg=no
ForwardToConsole=yes
#ForwardToWall=yes
TTYPath=/dev/tty2
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
MaxLevelConsole=debug
#MaxLevelWall=emerg
 
Old 11-10-2014, 08:10 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Not a Debian user, but is systemd-journald running?
Code:
systemctl status systemd-journald.service
 
Old 11-10-2014, 09:26 PM   #3
Pivek1986
LQ Newbie
 
Registered: Nov 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sure.

Code:
root@iap-palikot:/# systemctl status systemd-journald.service
● systemd-journald.service - Journal Service
   Loaded: loaded (/lib/systemd/system/systemd-journald.service; static)
   Active: active (running) since sob 2014-11-08 17:05:48 CET; 2 days ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
 Main PID: 2760 (systemd-journal)
   Status: "Processing requests..."
   CGroup: /system.slice/systemd-journald.service
           └─2760 /lib/systemd/systemd-journald

lis 11 03:36:11 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 1 messages.
lis 11 03:49:51 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 2 messages.
lis 11 03:50:31 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 2 messages.
lis 11 04:16:23 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 2 messages.
lis 11 04:17:01 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 20 messages.
lis 11 04:18:11 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 2 messages.
lis 11 04:19:30 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 1 messages.
lis 11 04:20:11 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 16 messages.
lis 11 04:20:42 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 2 messages.
lis 11 04:21:23 iap-palikot systemd-journal[2760]: Forwarding to syslog missed 3 messages.
root@iap-palikot:/home/arturpiwkowski#
 
Old 11-10-2014, 09:43 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
What about "journalctl --verify" - I see several errors on my system since the beginning of the year, so it can obviously process past them.
You can always just blow the entire log directory away, and let it start anew. Bit drastic, but doesn't look like you'll lose anything ...
 
Old 11-10-2014, 10:37 PM   #5
Pivek1986
LQ Newbie
 
Registered: Nov 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Code:
root@iap-palikot:/# journalctl --verify
PASS: /var/log/journal/5422540717bcdb4095ca3c96545a731b/system.journal
PASS: /var/log/journal/5422540717bcdb4095ca3c96545a731b/user-1000.journal
root@iap-palikot:/#
All passed.

Last edited by Pivek1986; 11-10-2014 at 10:40 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Systemd, but no journald, in new SUSE release LXer Syndicated Linux News 0 10-29-2014 06:50 AM
Ångström doesn't boot after disabling systemd-journald ferite Linux - Newbie 2 07-16-2014 02:57 AM
[SOLVED] Ångström doesn't boot after masking systemd-journald.service. ferite Linux - Newbie 2 07-15-2014 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration