Where to find logs older init and dmesg logs
dmseg and init logs are located in /var/sysvinit/ which span multiple reboots. For each uptime duration, there are normally 4 files that are created here, for example:
-rw-r--r-- 1 root root 65846 Nov 15 18:35 dmesg_log_20221114_182340
-rw-r--r-- 1 root root 1193 Nov 14 18:23 sysv_log_20221114_182340_S
-rw-r--r-- 1 root root 9945 Nov 15 18:35 sysv_log_20221114_182344_5
-rw-r--r-- 1 root root 8330 Nov 15 18:35 sysv_log_20221115_183513_6
- dmesg_log_* files contain the same data that would be printed by the dmeg command
- sysv_log_* files are related to the respective scripts started or stopped for each runlevel
- _S and _6 files are created at startup
- _6 is created during a proper shutdown or reboot
- Each log is named based on the date and time the log was started
Related Articles
How to: Find All Open Ports in Nodegrid
Intro: Finding All Open Ports Nodegrid provides a wide variety of tools only accessible as root shell user. The easiest way to find all open TCP, UDP, or RAW ports in Nodegrid is to use the netstat command as root shell user. netstat is a ...
How to find the RESTful API documentation in Nodegrid WebUI
The Nodegrid platform provides RESTful API, which can be used to read and change Nodegrid configuration. The API documentation is embedded on Nodegrid. One can find the API documentation on WebUI as folllows, 1. Login as admin and go to System 2. Go ...
How to find out the last installed version in Nodegrid
In some cases, the system needs to be downgraded to the previous version. The reason could be last known working version or new feature/settings not working as expected. Direct downgrade to wrong version will load the default configuration as the ...
Where are logs and backups related to upgrades stored?
Each time Nodegrid OS is upgraded, it creates a backup of the configuration and a log of the upgrade progress. Those are stored in /var/upgradeBackup. The configuration backup will be named config- followed by the version with the .tgz extension; ...
How to fix file system errors
File system errors can occur when a unit is not rebooted or shutdown properly. For example when there is a power loss while the system is actively writing to files. Nodegrid OS v5.0.9 and newer run 'fsck -p' on every reboot and can fix minor errors ...