Запускают ли события журнала Ubuntu во время загрузки?

Есть ли где-нибудь в журналах ubuntu (или linux вообще), которые могут записывать загрузку компьютера и не загружать ОС из-за проблемы, возникшей во время загрузки?

3
задан 2 June 2012 в 20:46

31 ответ

вы можете проверить его на

/ var / log

Этот каталог имеет все типы журналов

/var/log/auth.log

Record of all logins and logouts by normal users and system processes.

/ var / log / btmp

Log of all attempted bad logins to the system. Accessed via the lastb command.

/ var / log / debug

Debugging output from various packages.

/ var / log / dmesg

Kernel ring buffer. The content of this file is referred to by the dmesg command.

/ var / log / gdm /

GDM log files. Normally a subset of the last X log file. See /var/log/xdm.log for mode details.

/var/log/kdm.log

KDM log file. Normally a subset of the last X log file. See /var/log/xdm.log for more details.

/ var / log / messages

System logs.

/ var / log / pacct

Process accounting is the bookkeeping of process activity. The raw data of process activity is maintained here. Three commands can be used to access the contents of this file dump-acct, sa (summary of process accounting) and lastcomm (list the commands executed on the system).

/ var / log / utmp

Active user sessions. This is a data file and as such it can not be viewed normally. A human-readable form can be created via the dump-utmp command or through the w, who or users commands.

/ var / log / wtmp

Log of all users who have logged into and out of the system. The last command can be used to access a human readable form of this file. It also lists every connection and run-level change.

/var/log/xdm.log

XDM log file. Normally subset of the last X startup log and pretty much useless in light of the details the X logs is able to provide us with. Only consult this file if you have XDM specific issues otherwise just use the X logfile.

/var/log/XFree86.0.log, /var/log/XFree86.?.log

X startup logfile. An excellent resource for uncovering problems with X configuration. Log files are numbered according to when they were last used. For example, the last log file would be stored in /var/log/XFree86.0.log, the next /var/log/XFree86.9.log, so on and so forth.

/ var / log / syslog

The 'system' log file. The contents of this file is managed via the syslogd daemon which more often than not takes care of all log manipulation on most systems.
5
ответ дан 15 August 2018 в 19:06
  • 1
    Можете ли вы просто подтвердить, что я включил свой ящик, и ОС не загрузилась, потому что, скажем, аппаратная ошибка, это было бы зафиксировано в одном из журналов выше? Является ли message.log тем, который будет записывать это? – David 2 June 2012 в 21:02
  • 2
    @davide не каждый раз ... если это grub или hdd или что-то с кабелем, то проблема в том, что вы получите экранное сообщение. Это не будет записано в файл журнала. – Rinzwind 2 June 2012 в 22:14
  • 3
    @Rinzwind, будет ли что-то захвачено, чтобы показать, что запуск не увенчался успехом? – David 2 June 2012 в 23:20
  • 4
    @david нет. Если вы не получите цифровую камеру и не сделаете пикс самостоятельно. Но эти ошибки очень редки. – Rinzwind 2 June 2012 в 23:40

Другие вопросы по тегам:

Похожие вопросы: