Quoting Arjen de Korte <[email protected]>:

n...@grisen:~$ sudo upsdrvctl stop PingvinUPS
[sudo] password for nkj:
Network UPS Tools - UPS driver controller 2.4.3
Can't open /var/run/nut/usbhid-ups-auto.pid: No such file or directory

Does the /var/run/nut directory exist? If not, it looks like there is a
problem with packaging/installing NUT on your system.

Hi Arjen, I should have included that info. I'll try to answer:

The NUT package is listed as maintained by Canonical that is the Ubuntu distribution staff, I use Ubuntu 10.04 LTS: The Lucid Lynx.

http://packages.ubuntu.com/lucid/nut


If it does, what are the contents?


n...@grisen:~$ sudo su -
r...@grisen:~# cd /var/run/nut/
r...@grisen:/var/run/nut# ls -al
total 8
drwxrwx---  2 root nut  100 2010-11-12 14:31 .
drwxr-xr-x 16 root root 640 2010-11-19 09:58 ..
-rw-r--r--  1 nut  nut    5 2010-10-22 22:41 upsd.pid
-rw-r--r--  1 root root   5 2010-10-22 22:41 upsmon.pid
srw-rw----  1 nut  nut    0 2010-10-22 22:41 usbhid-ups-PingvinUPS

cat shows that the .pid files contain one integer each and checking with "ps ax" shows the integers are correct that is they are process numbers:

r...@grisen:/var/run/nut# ps ax | grep ups
  305 ?        S      0:00 upstart-udev-bridge --daemon
 1035 ?        Ss    37:48 /lib/nut/usbhid-ups -a PingvinUPS
 1039 ?        Ss     2:16 /sbin/upsd
 1050 ?        Ss     0:00 /sbin/upsmon
 1052 ?        S      1:18 /sbin/upsmon
32753 pts/0    S+     0:00 grep ups

What else can I do to help with this issue, perhaps only an Ubuntu issue?

Best regards,
Niels Kristian

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to