Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] daemon quits before logs error .PID File
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CleanTestr
n00b
n00b


Joined: 15 Jan 2013
Posts: 47
Location: somewhere in Rural Nebraska, USA

PostPosted: Sat Aug 10, 2013 5:07 pm    Post subject: [SOLVED] daemon quits before logs error .PID File Reply with quote

I've changed the topic title to better reflect what the problem was.

I've got a recent syslog-ng set up with the logging .conf from the Security Howto,
Section 3.d., and I'm seeing kernel Errors (that scroll by at boot-up) going into /var/log/syslog
as expected.

But on the boot-up scrolling screen, I'm seeing some sort of 'long line', possibly
a Warning, from possibly a driver, something about LNXSYSTM/ ... and then some
140 characters, with a BAT0 near the end, which (grep -R BAT0 /var/log/*)
isn't in the logs.

I'd like to see those messages in the logs, so that I can paste them here in the
Forums.
_________________
Stan: A signal? Why didn't you wake me?
790: It was a distress signal. They only lead to trouble, so I always ignore them. --Lexx


Last edited by CleanTestr on Sat Aug 10, 2013 8:09 pm; edited 4 times in total
Back to top
View user's profile Send private message
quilosaq
l33t
l33t


Joined: 22 Dec 2009
Posts: 760

PostPosted: Sat Aug 10, 2013 5:23 pm    Post subject: Re: syslog-ng: how to log also kernel Warnings, not just Err Reply with quote

CleanTestr wrote:
...
grep -R BAT0 /var/log/*
...

Are you issuing that command as root?
Back to top
View user's profile Send private message
CleanTestr
n00b
n00b


Joined: 15 Jan 2013
Posts: 47
Location: somewhere in Rural Nebraska, USA

PostPosted: Sat Aug 10, 2013 8:03 pm    Post subject: Reply with quote

Ok, the message in question is:

/var/log/syslog:
Aug 10 12:51:26 cleantestee cpufreqd: get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:07/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)

These are now showing up in the logs.

It looks to me to have been a mis-configured cpufreqd (running it manually
with -D -V 7 showed that it was exiting around when accessing its /var/run/.pid file,
possibly due to a problem with acpid)

All those issues were fixed, and now it's not exiting, and hence (maybe) getting a chance
to write error messages to the logs (?)

I'm gonna mark this SOLVED.
_________________
Stan: A signal? Why didn't you wake me?
790: It was a distress signal. They only lead to trouble, so I always ignore them. --Lexx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum