0

One physical machine had shutdown unexpected, there is no any error log about that, only get a large ^@ in one line of /var/log/syslog file such as:

Dec  9 21:50:02 hostname CRON[74324]: (root) MAIL (mailed 716 bytes of output but got status 0x004b from MAT#012)
^@^@^@...large of ^@^@^@Dec 10 09:51:49 hostname systemd[1]: Starting Flush Journal to Persistent Storage...
Dec 10 09:51:49 hostname kernel: [...

Machine shutdowned at Dec 9 21:50 unexpected, and start by manual at Dec 10 09:51:49.

How could I find the root cause of it shutdown unexpected?

Where did it Flush Journal to?

What's the meaning of ^@ in syslog, and how could I read it?

VictorLee
  • 115
  • 11
  • Possible partial duplicate of [System crash - strange chars in syslog](https://unix.stackexchange.com/questions/477537/system-crash-strange-chars-in-syslog) or of [What does ^@^@^@ mean in a text file?](https://unix.stackexchange.com/q/108321) – Kusalananda Dec 12 '22 at 08:55

1 Answers1

4

Those are NUL bytes (i.e. bytes with a numerical value of zero), those should not exist in text files.

The crash caused the file to be extended without the data being written.

Simon Richter
  • 4,409
  • 18
  • 20