LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tty2 boot output - log file? (https://www.linuxquestions.org/questions/linux-newbie-8/tty2-boot-output-log-file-646243/)

neilneil2000 06-01-2008 01:55 PM

tty2 boot output - log file?
 
Is there a log file where the output that can be seen on tty2 during boot is kept?

I am after the

BLAH BLAH BLAH [OK]
BLAH BLAH BLAH [fail]

GrapefruiTgirl 06-01-2008 03:24 PM

NOt 100% sure it is what you seek, but try /var/log/dmesg.

SVA

btmiller 06-01-2008 06:04 PM

The dmesg just showes kernel messages ... I think what the OP is looking for is a log of the service start-up. AFAIK this is not kept anywhere (at least on the distros I am familiar with), however the log files in /var/log will have the logging messages produced by each individual application.

GrapefruiTgirl 06-01-2008 07:46 PM

Quote:

Originally Posted by btmiller (Post 3171445)
The dmesg just showes kernel messages ... I think what the OP is looking for is a log of the service start-up. AFAIK this is not kept anywhere (at least on the distros I am familiar with), however the log files in /var/log will have the logging messages produced by each individual application.

"Services" starting up (that's relatively late in the boot) should definitely be recorded in /var/log, provided the services themselves are sufficiently configured for debugging, and/or are being logged at all. Check 'syslog', 'messages', and 'debug' files.

Otherwise, as for the very early stuff I agree: if the OP wants stuff from PRE-dmesg it isn't as easy as one might like AFAIK.
Maybe it's overkill, but a serial or USB (debug device) cable hooked to a (host) second computer would provide everything possible.

On my machine, I modified all the startup scripts so that *everything* that happens gets logged; by default, there was much less logging.

Perhaps we need to wait & see exactly what the OP is looking for :)

Sasha

neilneil2000 06-03-2008 02:45 PM

Hi all,

I have had a look through the logs you have mentioned but I was looking for the simple [OK] [fail] output. It is just easier for me to see what exactly failed, because the logs can be a bit cryptic if they are for a service you haven't played with before.

Looks to me from your response that this output isn't logged anywhere which is a shame, although GrapefruiTGirl mentioned modifying the logging. Could I get what I want...somehow?

divyashree 06-03-2008 03:08 PM

look the script /etc/init.d/functions

neilneil2000 06-09-2008 03:34 PM

this script does not exist on my machine

chrism01 06-09-2008 06:54 PM

Please add your distro name & ver to your profile, you'll get better help that way.

neilneil2000 06-10-2008 05:13 AM

Done :) :)

divyashree 06-10-2008 10:54 AM

Quote:

Originally Posted by neilneil2000 (Post 3179658)
this script does not exist on my machine

hey brother open that script in vi editor....


All times are GMT -5. The time now is 03:14 PM.