You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<step><para>Identify the severity and content of the error.The errors are marked with priority level:</para>
30
+
<title>View &systemd; errors</title>
31
+
<step><para>View the list of failed &systemd; units:</para>
32
+
<screen>systemctl --failed</screen>
33
+
<para>The list of all failed services appear.</step>
34
+
<step><para>Identify the severity and content of the error.</para>
35
+
<screen>journalctl -p 0..7 -b</screen>
36
+
<para>The list of errors with priority level <literal>0 to 7 appears. The errors are marked with priority level:</para>
32
37
<itemizedlist><listitem><para><guimenu>0-2</guimenu>: <command>emerg, alert, crit</command>: Critical issues, system collapse imminent.</para></listitem>
33
38
<listitem><para><guimenu>3</guimenu>: <command>err (Error)</command>: A service or application failed to complete a requested operation.</para></listitem>
34
39
<listitem><para><guimenu>4</guimenu>: <command>warning </command>: Something undesirable happened but is not an immediate failure.</para></listitem>
35
40
<listitem><para><guimenu>5-7</guimenu>: <command>notice, info, debug</command>: Normal operational information and developer diagnostics.</para></listitem></itemizedlist>
36
41
</step>
37
-
<step><para>Identify the failing unit using the following command:</para>
42
+
<step><para>View the error log for the failing service using the following command:</para>
<para>The lines preceding the termination message includes information on the error.</para>
40
45
<itemizedlist><listitem><para><guimenu>Exit Status</guimenu>: f a service stops, look for a message like Process xxx exited with status 1/FAILURE. A status of 0 is success. Any non-zero status indicates an error. </para></listitem>
@@ -43,26 +48,26 @@ in the assembly -->
43
48
</itemizedlist></step>
44
49
<step><para>Use detailed views of logs to get detailed information on the error.</para>
45
50
<screen>journalctl -xe</screen>
46
-
<para>To view all messages from the Apache service during the current boot, with detailed explanations, run the following command:</para>
51
+
<para>For example, to view all messages from the Apache service during the current boot, with detailed explanations, run the following command:</para>
0 commit comments