Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] daemon quits before logs error .PID File

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
CleanTestr
n00b
n00b
User avatar
Posts: 47
Joined: Tue Jan 15, 2013 3:01 am
Location: somewhere in Rural Nebraska, USA
Contact:
Contact CleanTestr
Website

[SOLVED] daemon quits before logs error .PID File

  • Quote

Post by CleanTestr » Sat Aug 10, 2013 5:07 pm

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.
Last edited by CleanTestr on Sat Aug 10, 2013 8:09 pm, edited 4 times in total.
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
Top
quilosaq
Veteran
Veteran
Posts: 1596
Joined: Tue Dec 22, 2009 5:07 pm

Re: syslog-ng: how to log also kernel Warnings, not just Err

  • Quote

Post by quilosaq » Sat Aug 10, 2013 5:23 pm

CleanTestr wrote:...
grep -R BAT0 /var/log/*
...
Are you issuing that command as root?
Top
CleanTestr
n00b
n00b
User avatar
Posts: 47
Joined: Tue Jan 15, 2013 3:01 am
Location: somewhere in Rural Nebraska, USA
Contact:
Contact CleanTestr
Website

  • Quote

Post by CleanTestr » Sat Aug 10, 2013 8:03 pm

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
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic