Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
acpid fails to start [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
uagent
n00b
n00b


Joined: 17 Sep 2005
Posts: 61
Location: Flagstaff, AZ, USA

PostPosted: Mon Jul 03, 2006 7:59 am    Post subject: acpid fails to start [solved] Reply with quote

I updated my system on Wednesday, and ever since then, I can't seem to get acpid to daemonize, and I can't get any error messages out of the init.d script (which usually is very helpful in figuring out what's going wrong w/ a daemon). It doesn't print anything to the terminal window, doesn't log in dmesg, /var/log/messages, or /var/log/acpid. The best I could do was to run an strace while trying to run acpid and have that logged. The first time was using the stop-start-daemon command like the init script does, the log of which can be found @ http://uagent.com/acpistart.log. The second time was trying to allow apcid to daemonize itself (the default action if you run /usr/sbin/acpid), the log of which can be found at http://uagent.com/acpimanual.log. Finally, I decided since acpid does seem to run if it's left in the foreground, I ran it for a while in the foreground with strace and logged that, the log of which can be found at http://uagent.com/acpinondaemon.log.

If anyone needs any other info about my laptop, I'll be happy to post, and any hints in the right direction are much appreciated. I tried searching the forum hoping it was something others had seen already, but searching for "acpid fail to start" didn't turn up any results either. :/
_________________
The Master of All Things That Don't Matter


Last edited by uagent on Mon Jul 03, 2006 1:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
xandris
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 113

PostPosted: Mon Jul 03, 2006 9:39 am    Post subject: Reply with quote

Was that log (/usr/sbin/acpid -c /etc/acpi/events) obtained with strace -f?
Back to top
View user's profile Send private message
uagent
n00b
n00b


Joined: 17 Sep 2005
Posts: 61
Location: Flagstaff, AZ, USA

PostPosted: Mon Jul 03, 2006 1:08 pm    Post subject: Reply with quote

No, it wasn't. Score one for a 2GB log file >_< Thanks for the help, now it works fine again. :D
_________________
The Master of All Things That Don't Matter
Back to top
View user's profile Send private message
xandris
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 113

PostPosted: Mon Jul 03, 2006 6:05 pm    Post subject: Reply with quote

It does? What happened? :)
Back to top
View user's profile Send private message
uagent
n00b
n00b


Joined: 17 Sep 2005
Posts: 61
Location: Flagstaff, AZ, USA

PostPosted: Tue Jul 04, 2006 4:12 am    Post subject: Reply with quote

tamarind wrote:
It does? What happened? :)


The log file was 2GB in size, so the daemon errored out that the file was too large to open. I cleared the log file and was then able to start acpid just fine again.
_________________
The Master of All Things That Don't Matter
Back to top
View user's profile Send private message
xandris
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2005
Posts: 113

PostPosted: Tue Jul 04, 2006 10:21 am    Post subject: Reply with quote

Wow, that just made my mouth dry. acpid is extra chatty!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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