LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to read error messages from daemons starting (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-read-error-messages-from-daemons-starting-517597/)

bertie57 01-09-2007 01:25 AM

how to read error messages from daemons starting
 
Hello,

Each time i launch my linux box, i get an error message during the starting of the daemons. A nice "FATAL" message. But the box starts anyway. Where can I find this message after logging in. I tried "dmesg" but didn't found the "FATAL" message I was looking for.
To make things a little more interesting, my Xserver is not yet fully operationnal, so I must stick to "command line oriented" methods.

Thanks for your help

Regards

raskin 01-09-2007 01:59 AM

Go to /var/log. It is logged in some log there. I would check daemon.log, but it is LFS. Maybe 'messages' contain needed info. Try 'grep FATAL *' also.

bertie57 01-09-2007 02:45 AM

Good morning,

I tried that, but as you say daemon.log doesn't exist.
The "grep FATAL *" command doesn't return anything at all.
I also launched "grep FATAL *" on all the subdirectory of /var/log. It didn't returned any output either.

I rebooted the box in interactive mode, and was thus able to get the exact error message:
Start service cpuspeed(Y)es/(N)o/(C)ontinue? [Y]
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-1.2798.FC6/kernel/arch/i386/cpu/cpufreq/acpi-cpufreq.ko): No such device

Thanks and regards

raskin 01-09-2007 03:10 AM

If it is not laptop ignore until you learn to use chkconfig (if I remember correctly) to remove cpuspeed from automatic launch.

bertie57 01-09-2007 03:42 AM

Ok i will do as you told.

Thanks for your help and have a nice day.


All times are GMT -5. The time now is 12:53 AM.