You are not logged in.

#1 2004-11-20 20:05:44

nehsa
Member
Registered: 2003-01-14
Posts: 159

All sorts of errors at startup

I'm getting lots of FAILED messages during startup, where do I find the log of it?

Offline

#2 2004-11-20 20:16:01

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: All sorts of errors at startup

Take a look in /var/log

HTH


Mr Green

Offline

#3 2004-11-20 21:00:29

nehsa
Member
Registered: 2003-01-14
Posts: 159

Re: All sorts of errors at startup

I looked there.  Nothing seemed to be what I am looking for, although two files cames up as garbage.  I want the log that'll show stuff like: "Activating Swap  FAILED"

Offline

#4 2004-11-20 21:06:36

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: All sorts of errors at startup

http://www.redhat.com/docs/manuals/ente … files.html

Depends if you are using syslogd  wink


Mr Green

Offline

#5 2004-11-21 14:57:13

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: All sorts of errors at startup

nehsa wrote:

I looked there.  Nothing seemed to be what I am looking for, although two files cames up as garbage.  I want the log that'll show stuff like: "Activating Swap  FAILED"

you should be able to find these kinds of message in /var/log/kernel. if that log is empty or does not show a recent boot process of ur kernel, something serious is wrong.  :shock:

is this a fresh install?


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#6 2004-11-21 21:49:02

nehsa
Member
Registered: 2003-01-14
Posts: 159

Re: All sorts of errors at startup

See.. now you scared me.  It's empty.  Now what?  I installed a few days ago.  Just now got EVERYTHING (except samba, apache, php, mysql, and cups smile )  working...

Offline

#7 2004-11-21 22:00:45

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: All sorts of errors at startup

btw, have you tried to write to /? i mean is it writable?
if not look for a message that tells you that the kernel wasn't able to mount the root filesystem or any others. if you find it, make sure your fstab looks something like this:

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb usbdevfs  defaults            0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part2 swap swap defaults 0 0

## important##
/dev/discs/disc0/part1 / reiserfs defaults 0 0

it happened to me that / was missing but the machine still booted w/ my root partition mounted readonly just because i passed 'root=' to lilo + 'read-only'. anyway, it prevented several daemons from starting of course... :oops:

if that was not the case, have a look at /etc/rc.conf. there should a line at the bottom which looks like this

DAEMONS=(syslogd klogd hotplug !pcmcia iptables network netfs crond kdm sshd)

syslog and klogd are important here. make sure these are started at boottime and pay attention to any further details dsiplayed other than just starting the daemon "failed".


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

Board footer

Powered by FluxBB