I deleted the plist file and rebooted:

sudo /sw/sbin/upsmon -D
Network UPS Tools upsmon 2.7.4
   0.000000     fopen /sw/var/run/upsmon.pid: No such file or directory
   0.044649     UPS: ups@ip address (slave) (power value 1)
   0.081597     Using power down flag file /etc/killpower
   0.162720     debug level is '1'
   0.538410     Trying to connect to UPS [ups@ip address]
   0.540345     Logged into UPS ups@ip address

fopen /sw/var/run/upsmon.pid: No such file or directory

This is strange because the file exits. 

Let me check why this is happening. It would explain why the pid is not 
running. 

Kind Regards,

Rob



> On 15 Jun 2017, at 16:38, Charles Lepple <clep...@gmail.com> wrote:
> 
> On Jun 15, 2017, at 10:31 AM, Robbie van der Walle <rvanderwa...@gmail.com 
> <mailto:rvanderwa...@gmail.com>> wrote:
>> 
>> Did you change anything in the plist or used mine ?
>> 
> 
> Copied and pasted from yours.
> 
> If you run "sudo /sw/sbin/upsmon -D" from the command line, does it exit 
> immediately?
> 
> I did have to fiddle with permissions of config files - Fink currently builds 
> NUT to run as user "nobody", so I have the following non-default permissions:
> 
> $ ls -l /sw/etc/nut
> ...
> -rw-r-----+ 1 root  nobody   2177 Jun 15 08:42 upsd.users
> -rw-r-----+ 1 root  nobody  15455 Jun 15 08:50 upsmon.conf
> 
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to