Next Previous Contents

19. Preparing for reboot and clearing the logs

- For trouble shooting, do the following:

Slackware:


                "mv /var/adm/messages /var/adm/messages.old"
                "touch /var/adm/messages"
                "mv /var/adm/syslog /var/adm/syslog.old"
                "touch /var/adm/syslog"
                "mv /var/adm/debug /var/adm/debug.old"
                "touch /var/adm/debug"

Redhat:


                "mv /var/log/messages /var/log/messages.old"
                "touch /var/log/messages"
                "mv /var/log/syslog /var/log/syslog.old"
                "touch /var/log/syslog"
                "mv /var/log/debug /var/log/debug.old"
                "touch /var/log/debug"

- Reboot with the new kernel

- Once the computer has rebooted, look at both (substitute [xxx] for either "log" or "adm" for your respective Distro) the /var/[xxx]/messages and /var/xxx]/syslog files to make sure no errors or problems were found. If there were errors.. fix them before you continue.


Next Previous Contents