Zach La Celle
2010-Dec-16 14:09 UTC
[Nut-upsuser] upsdrvctl doesn't seem to start with init.d
I can run "upsdrvctl start" and it starts fine. On computer boot, however, it doesn't start properly. I'm trying to find the logs which would give more detail, but I'm not sure where they are. I see no logs in /etc/nut or /var/log. I don't know if this helps, but it looks like there's a problem with the PID file generation: when I run "upsdrvctl stop" I get an error about a missing PID file. My UPS driver is the apcsmart driver. Thank you for your help.
Arnaud Quette
2010-Dec-16 18:27 UTC
[Nut-upsuser] upsdrvctl doesn't seem to start with init.d
2010/12/16 Zach La Celle <lacelle at roboticresearch.com>> I can run "upsdrvctl start" and it starts fine. On computer boot, however, > it doesn't start properly. > > I'm trying to find the logs which would give more detail, but I'm not sure > where they are. I see no logs in /etc/nut or /var/log. >try running directly your driver in debug mode (as root), ie: $ /path/to/apcsmart -DDD -a <upsname> and send us back the output. have you also verified device privileges? (ie "ls -l /dev/ttyS0" or something like that) cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20101216/d0530154/attachment.htm>