LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot Time Message Logging (https://www.linuxquestions.org/questions/linux-newbie-8/boot-time-message-logging-4175420468/)

vicky007aggrwal 08-05-2012 09:51 AM

Boot Time Message Logging
 
In order to troubleshoot linux init boot up scripts, Kindly suggest in which log file the boot up scripts will get logged. As in linux 5.3 my /var/log/boot.log is empty & even /var/log/messages doesnt contain any information after the boot scripts whether they invoked successfully or not.?
My issue is how to check on the init script error in case it doesnt get started

arizonagroovejet 08-05-2012 10:09 AM

boot.log and messages are where I would suggest you look. Since you say they are empty I'm going to suggest you state which Linux distribution you are using so that someone using that can hopefully help you. You say you're using 'linux 5.3' but there is no such thing. (Linux strictly speaking is a kernel, the current stable version of which is 3.5. 5.3 is presumably the version of the Linux distribution you are using.) If you're not sure which Linux distribution you are using post the output of these commands
Code:

$ uname -a
$ cat /etc/issue


vicky007aggrwal 08-05-2012 11:59 AM

Thanks for responding ,please find below required output
uname -a
Linux suiuer.com 2.6.18-128.1.6 Mar 24 12:05 2009 x86_64 x86_64 x86_64 GNU/Linux


cat /etc/issue

linux64-5.3.2

arizonagroovejet 08-05-2012 12:59 PM

Well that's far less informative that I hoped. What's suiuer.com? It doesn't resolve to anything.

Do these commands produce any output?
Code:

$ cat /etc/*issue*
$ cat /etc/*release*
$ cat /etc/*version*
$ lsb_release -a

(When posting output of commands it's good to wrap it in CODE tags, look for the # button in the toolbar when composing post)


All times are GMT -5. The time now is 04:02 PM.