From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Locate and interpret system log files - Linux Tutorial
From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Locate and interpret system log files
- [Instructor] Log files are files that contain messages about the system. These messages would pertain to the kernel, services or applications. There are different logs for different tasks. For instance, there's a log that keeps track of failed log ins. There's another log just for cron jobs, and so on. Enterprise Lunix 7 has two logging systems, rsyslogd and journald. Rsyslogd is compatible with the delegacy sysklogd and handles persistent logs. Rsyslog either logs to text files on the local machine or it logs across the network to a remote logging server using either TCP or UDP protocols. Journald however, is part of systemd and is not perisistent by default, so the journal logs don't survive a reboot. Since the journal is binary and it's only stored in memory, it's very fast to write to and very fast for us to search. To ensure our syslog is running, we can use systemctl. Type in sudo, space, systemctl, space, start,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
About SysVinit, systemd, and Upstart2m 32s
-
Get systemd service status3m 56s
-
(Locked)
Manage systemd services2m 33s
-
(Locked)
Make systemd services persistent1m 40s
-
(Locked)
About SysVinit services6m 4s
-
(Locked)
Change runlevels/targets3m 45s
-
(Locked)
Boot into the emergency target4m 13s
-
(Locked)
Locate and interpret system log files4m 43s
-
(Locked)
Reading the system journal3m 1s
-
(Locked)
-
-
-
-
-
-
-
-
-
-