You are not logged in.

#1 2009-03-22 15:39:37

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

::Xxx [FAILED]: what log to look into?

Hi,

In case of a startup script failure, what log to look into? What pattern to look for?

Offline

#2 2009-03-22 15:50:57

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: ::Xxx [FAILED]: what log to look into?

you should look the files over /var/log/

particularly, the dmesg log

there is the "dmesg" command, which reads the log.

to read the last lines of this log, just write
dmesg | tail

to read the 20th last lines,
dmesg | tail -n 20


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#3 2009-03-22 16:17:41

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: ::Xxx [FAILED]: what log to look into?

Looks like dmesg.log ends with the kernel output (grey lines smile ). Init scripts follow... Unfortunately, they follow fast enough so I can't even spot which one failed. What am I supposed to do?

Offline

#4 2009-03-22 16:19:35

djnm
Member
From: USA
Registered: 2008-12-21
Posts: 78

Re: ::Xxx [FAILED]: what log to look into?

'Scroll Lock' key stops boot so you can read which failed


br0tat0chip in #archlinux and on freenode

Offline

#5 2009-03-22 16:23:05

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: ::Xxx [FAILED]: what log to look into?

You should run the command manually, the service script will hide the errors, just catch the return status.

So if the mpd service fails, instead of doing

# /etc/rc.d/mpd start

do

# mpd

That should usually shed more light on the issue.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-03-22 16:58:11

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: ::Xxx [FAILED]: what log to look into?

djnm wrote:

'Scroll Lock' key stops boot so you can read which failed

That would be great smile . It's just that the keyboard in question lacks the 'Scroll Lock' key (Toshiba laptop). What could be a possible substitute?

Last edited by Llama (2009-03-22 16:58:56)

Offline

#7 2009-03-23 02:03:55

shiinta
Member
Registered: 2008-12-05
Posts: 11

Re: ::Xxx [FAILED]: what log to look into?

*ignore that*

Last edited by shiinta (2009-03-23 02:05:01)

Offline

#8 2009-03-24 06:06:40

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: ::Xxx [FAILED]: what log to look into?

Llama wrote:

It's just that the keyboard in question lacks the 'Scroll Lock' key (Toshiba laptop). What could be a possible substitute?

Ctrl-S/Ctrl-Q

Offline

Board footer

Powered by FluxBB