| View previous topic :: View next topic |
| Author |
Message |
uagent n00b


Joined: 17 Sep 2005 Posts: 54 Location: The University of Arizona
|
Posted: Mon Jul 03, 2006 2:59 am Post subject: acpid fails to start [solved] |
|
|
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 8:09 am; edited 1 time in total |
|
| Back to top |
|
 |
tamarind Tux's lil' helper

Joined: 23 Jan 2005 Posts: 103
|
Posted: Mon Jul 03, 2006 4:39 am Post subject: |
|
|
| Was that log (/usr/sbin/acpid -c /etc/acpi/events) obtained with strace -f? |
|
| Back to top |
|
 |
uagent n00b


Joined: 17 Sep 2005 Posts: 54 Location: The University of Arizona
|
|
| Back to top |
|
 |
tamarind Tux's lil' helper

Joined: 23 Jan 2005 Posts: 103
|
Posted: Mon Jul 03, 2006 1:05 pm Post subject: |
|
|
It does? What happened?  |
|
| Back to top |
|
 |
uagent n00b


Joined: 17 Sep 2005 Posts: 54 Location: The University of Arizona
|
Posted: Mon Jul 03, 2006 11:12 pm Post subject: |
|
|
| 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 |
|
 |
tamarind Tux's lil' helper

Joined: 23 Jan 2005 Posts: 103
|
Posted: Tue Jul 04, 2006 5:21 am Post subject: |
|
|
| Wow, that just made my mouth dry. acpid is extra chatty! |
|
| Back to top |
|
 |
|