<div dir="ltr"><div>Here is the output</div><div><br></div><div>root@nutpi:/etc/nut# ps -elf | grep -E '[n]ut|ups[dms]'<br>4 S avahi 246 1 0 80 0 - 1472 poll_s Jan26 ? 00:00:31 avahi-daemon: running [nutpi.local]<br>1 S nut 451 1 0 80 0 - 678 poll_s Jan26 ? 00:03:41 /lib/nut/upscode2 -a deltec-PRA1500<br>1 S nut 454 1 0 80 0 - 1173 poll_s Jan26 ? 00:00:28 /lib/nut/upsd<br>1 S root 460 1 0 80 0 - 1136 pipe_w Jan26 ? 00:00:00 /lib/nut/upsmon<br>5 S nutmon 461 460 0 80 0 - 1714 hrtime Jan26 ? 00:00:10 /lib/nut/upsmon<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 4:04 PM <<a href="mailto:nut-upsuser-request@alioth-lists.debian.net">nut-upsuser-request@alioth-lists.debian.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Nut-upsuser mailing list submissions to<br>
<a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:nut-upsuser-owner@alioth-lists.debian.net" target="_blank">nut-upsuser-owner@alioth-lists.debian.net</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Nut-upsuser digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Nut-upsuser Digest, Vol 175, Issue 32 (Greg Treantos)<br>
2. Re: Timer doesn't appear to start (Roger Price)<br>
3. Re: Timer doesn't appear to start (Greg Treantos)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 27 Jan 2020 08:32:22 -0500<br>
From: Greg Treantos <<a href="mailto:gtreanto@gmail.com" target="_blank">gtreanto@gmail.com</a>><br>
To: <a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br>
Subject: Re: [Nut-upsuser] Nut-upsuser Digest, Vol 175, Issue 32<br>
Message-ID:<br>
<<a href="mailto:CAGuknmhQgsXyvH2Xa5_wTAOpaC6h4imwY2%2BmsqkEPVRywY3M2w@mail.gmail.com" target="_blank">CAGuknmhQgsXyvH2Xa5_wTAOpaC6h4imwY2+msqkEPVRywY3M2w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Here are my permissions and user info. Let me know if there is anything<br>
else I should check<br>
<br>
pi@nutpi:~ $ ls -alt /etc/nut<br>
total 56<br>
drwxr-xr-x 87 root root 4096 Jan 26 15:22 ..<br>
drwxr-xr-x 2 root nut 4096 Jan 26 13:53 .<br>
-rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf<br>
-rw-r----- 1 root nut 15347 Jan 26 11:25 upsmon.conf<br>
-rw-r----- 1 root nut 1543 Jan 26 10:02 nut.conf<br>
-rw-r----- 1 root nut 2191 Jan 26 09:40 upsd.users<br>
-rw-r----- 1 root nut 4601 Jan 26 09:38 upsd.conf<br>
-rw-r----- 1 root nut 5646 Jan 26 09:32 ups.conf<br>
<br>
the user I created for nut is nutmon. Here is the directory permissions for<br>
that user<br>
<br>
pi@nutpi:~ $ sudo ls -alt /home/nutmon<br>
total 32<br>
-rw------- 1 nutmon nutmon 172 Jan 26 12:32 .bash_history<br>
drwxrwx--- 2 nutmon nutmon 4096 Jan 26 12:32 upssched<br>
drwxrwx--- 4 nutmon nutmon 4096 Jan 26 11:11 .<br>
drwx------ 3 nutmon nutmon 4096 Jan 26 11:10 .gnupg<br>
drwxr-xr-x 4 root root 4096 Jan 26 09:05 ..<br>
-rwxrwx--- 1 nutmon nutmon 3523 Sep 25 20:09 .bashrc<br>
-rwxrwx--- 1 nutmon nutmon 220 Apr 18 2019 .bash_logout<br>
-rwxrwx--- 1 nutmon nutmon 807 Apr 18 2019 .profile<br>
<br>
root@nutpi:/etc/nut# grep ^[^#] upsd.users<br>
[nutmon]<br>
password = <userpwd><br>
upsmon master<br>
<br>
root@nutpi:/etc/nut# grep ^[^#] upsmon.conf<br>
RUN_AS_USER nutmon<br>
MONITOR deltec-PRA1500@localhost 1 nutmon <userpwd> master<br>
<br>
On Mon, Jan 27, 2020 at 7:00 AM <<a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a>><br>
wrote:<br>
<br>
> Send Nut-upsuser mailing list submissions to<br>
> <a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
> or, via email, send a message with subject or body 'help' to<br>
> <a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a><br>
><br>
> You can reach the person managing the list at<br>
> <a href="mailto:nut-upsuser-owner@alioth-lists.debian.net" target="_blank">nut-upsuser-owner@alioth-lists.debian.net</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Nut-upsuser digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
> 1. Re: Timer doesn't appear to start (Roger Price)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Mon, 27 Jan 2020 12:13:20 +0100 (CET)<br>
> From: Roger Price <<a href="mailto:roger@rogerprice.org" target="_blank">roger@rogerprice.org</a>><br>
> To: nut-upsuser Mailing List <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>><br>
> Subject: Re: [Nut-upsuser] Timer doesn't appear to start<br>
> Message-ID: <alpine.LSU.2.20.2001271207120.5507@titan><br>
> Content-Type: text/plain; charset="iso-8859-15"; Format="flowed"<br>
><br>
> On Mon, 27 Jan 2020, Greg Treantos wrote:<br>
><br>
> > Roger, here is my output of ps -elf |grep upssched<br>
> ><br>
> > root@nutpi:~# ps -elf |grep upssched<br>
> > 0 S root 1242 1191 0 80 0 - 1834 pipe_w 05:23 pts/0<br>
> 00:00:00 grep upssched<br>
> ><br>
> > No timer, just the grep of upssched..<br>
><br>
> So upssched doesn't start. Is this an ownership/permissions problem?<br>
><br>
> Roger<br>
><br>
> ------------------------------<br>
><br>
> Subject: Digest Footer<br>
><br>
> _______________________________________________<br>
> Nut-upsuser mailing list<br>
> <a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
><br>
> ------------------------------<br>
><br>
> End of Nut-upsuser Digest, Vol 175, Issue 32<br>
> ********************************************<br>
><br>
<br>
<br>
-- <br>
Greg<br>
<br>
<a href="http://www.linkedin.com/in/gregtreantos" rel="noreferrer" target="_blank">http://www.linkedin.com/in/gregtreantos</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200127/4d15dcfb/attachment-0001.html" rel="noreferrer" target="_blank">http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200127/4d15dcfb/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 27 Jan 2020 16:25:27 +0100 (CET)<br>
From: Roger Price <<a href="mailto:roger@rogerprice.org" target="_blank">roger@rogerprice.org</a>><br>
To: nut-upsuser Mailing List <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>><br>
Subject: Re: [Nut-upsuser] Timer doesn't appear to start<br>
Message-ID: <alpine.LSU.2.20.2001271605310.5507@titan><br>
Content-Type: text/plain; charset="iso-8859-15"; Format="flowed"<br>
<br>
On Mon, 27 Jan 2020, Greg Treantos wrote:<br>
<br>
> Here are my permissions and user info. Let me know if there is anything else I should check<br>
> <br>
> pi@nutpi:~ $ ls -alt /etc/nut<br>
> total 56<br>
> drwxr-xr-x 87 root root 4096 Jan 26 15:22 ..<br>
> drwxr-xr-x 2 root nut 4096 Jan 26 13:53 .<br>
> -rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf<br>
> ...<br>
> <br>
> the user I created for nut is nutmon. Here is the directory permissions for that user<br>
> <br>
> pi@nutpi:~ $ sudo ls -alt /home/nutmon<br>
> total 32<br>
> -rw------- 1 nutmon nutmon 172 Jan 26 12:32 .bash_history<br>
> drwxrwx--- 2 nutmon nutmon 4096 Jan 26 12:32 upssched<br>
> ...<br>
<br>
> root@nutpi:/etc/nut# grep ^[^#] upsd.users<br>
> [nutmon]<br>
> password = <userpwd><br>
> upsmon master<br>
> <br>
> root@nutpi:/etc/nut# grep ^[^#] upsmon.conf<br>
> RUN_AS_USER nutmon<br>
> MONITOR deltec-PRA1500@localhost 1 nutmon <userpwd> master<br>
<br>
Hello Greg,<br>
<br>
When you reply to a digest entry, could you change the subject line back to the <br>
original subject line. If you leave the "Digest" subject line, the archive <br>
thread is broken, and it makes it harder to find your posting in the incoming <br>
e-mail.<br>
<br>
The file upsmon.conf does not point to the upssched binary. I would expect to <br>
see a declaration such as:<br>
<br>
NOTIFYCMD /home/nutmon/upssched<br>
<br>
The line<br>
<br>
> -rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf<br>
<br>
says that you have a group called "nut", but user "nutmon" appears to be in <br>
group "nutmon". Is this deliberate ?<br>
<br>
Roger<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 27 Jan 2020 16:03:42 -0500<br>
From: Greg Treantos <<a href="mailto:gtreanto@gmail.com" target="_blank">gtreanto@gmail.com</a>><br>
To: <a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br>
Subject: Re: [Nut-upsuser] Timer doesn't appear to start<br>
Message-ID:<br>
<<a href="mailto:CAGuknmi-WmeJ%2Bji9KD%2BOTkuB7meBGeE752%2BdnKdrSY4jA8KKdg@mail.gmail.com" target="_blank">CAGuknmi-WmeJ+ji9KD+OTkuB7meBGeE752+dnKdrSY4jA8KKdg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I only pasted a subset of my upsmon.conf. NOTIFYCMD is in my upsmon.conf<br>
<br>
AFA nutmon user. I was trying different things I had the directory as<br>
nutmon nut but changed it to nutmon nutmon to see if that worked. It didn't<br>
make a difference.<br>
<br>
Sorry about the digest this. I needed to hit a line in gmail web client to<br>
see the subject line. Know I know. Thanks for the heads up..<br>
<br>
[root@donner nut]# grep ^[^#] upsmon.conf<br>
RUN_AS_USER nutmon<br>
MONITOR deltec-PRA1500@localhost 1 nutmon zaq12wsx master<br>
MINSUPPLIES 1<br>
SHUTDOWNCMD "/sbin/shutdown -h +0"<br>
NOTIFYCMD /sbin/upssched<br>
POLLFREQ 5<br>
POLLFREQALERT 5<br>
HOSTSYNC 15<br>
DEADTIME 15<br>
POWERDOWNFLAG /etc/killpower<br>
<br>
On Mon, Jan 27, 2020 at 8:32 AM Greg Treantos <<a href="mailto:gtreanto@gmail.com" target="_blank">gtreanto@gmail.com</a>> wrote:<br>
<br>
> Here are my permissions and user info. Let me know if there is anything<br>
> else I should check<br>
><br>
> pi@nutpi:~ $ ls -alt /etc/nut<br>
> total 56<br>
> drwxr-xr-x 87 root root 4096 Jan 26 15:22 ..<br>
> drwxr-xr-x 2 root nut 4096 Jan 26 13:53 .<br>
> -rw-r----- 1 root nut 4719 Jan 26 13:15 upssched.conf<br>
> -rw-r----- 1 root nut 15347 Jan 26 11:25 upsmon.conf<br>
> -rw-r----- 1 root nut 1543 Jan 26 10:02 nut.conf<br>
> -rw-r----- 1 root nut 2191 Jan 26 09:40 upsd.users<br>
> -rw-r----- 1 root nut 4601 Jan 26 09:38 upsd.conf<br>
> -rw-r----- 1 root nut 5646 Jan 26 09:32 ups.conf<br>
><br>
> the user I created for nut is nutmon. Here is the directory permissions<br>
> for that user<br>
><br>
> pi@nutpi:~ $ sudo ls -alt /home/nutmon<br>
> total 32<br>
> -rw------- 1 nutmon nutmon 172 Jan 26 12:32 .bash_history<br>
> drwxrwx--- 2 nutmon nutmon 4096 Jan 26 12:32 upssched<br>
> drwxrwx--- 4 nutmon nutmon 4096 Jan 26 11:11 .<br>
> drwx------ 3 nutmon nutmon 4096 Jan 26 11:10 .gnupg<br>
> drwxr-xr-x 4 root root 4096 Jan 26 09:05 ..<br>
> -rwxrwx--- 1 nutmon nutmon 3523 Sep 25 20:09 .bashrc<br>
> -rwxrwx--- 1 nutmon nutmon 220 Apr 18 2019 .bash_logout<br>
> -rwxrwx--- 1 nutmon nutmon 807 Apr 18 2019 .profile<br>
><br>
> root@nutpi:/etc/nut# grep ^[^#] upsd.users<br>
> [nutmon]<br>
> password = <userpwd><br>
> upsmon master<br>
><br>
> root@nutpi:/etc/nut# grep ^[^#] upsmon.conf<br>
> RUN_AS_USER nutmon<br>
> MONITOR deltec-PRA1500@localhost 1 nutmon <userpwd> master<br>
><br>
> On Mon, Jan 27, 2020 at 7:00 AM <<br>
> <a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a>> wrote:<br>
><br>
>> Send Nut-upsuser mailing list submissions to<br>
>> <a href="mailto:nut-upsuser@alioth-lists.debian.net" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br>
>><br>
>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>><br>
>> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
>> or, via email, send a message with subject or body 'help' to<br>
>> <a href="mailto:nut-upsuser-request@alioth-lists.debian.net" target="_blank">nut-upsuser-request@alioth-lists.debian.net</a><br>
>><br>
>> You can reach the person managing the list at<br>
>> <a href="mailto:nut-upsuser-owner@alioth-lists.debian.net" target="_blank">nut-upsuser-owner@alioth-lists.debian.net</a><br>
>><br>
>> When replying, please edit your Subject line so it is more specific<br>
>> than "Re: Contents of Nut-upsuser digest..."<br>
>><br>
>><br>
>> Today's Topics:<br>
>><br>
>> 1. Re: Timer doesn't appear to start (Roger Price)<br>
>><br>
>><br>
>> ----------------------------------------------------------------------<br>
>><br>
>> Message: 1<br>
>> Date: Mon, 27 Jan 2020 12:13:20 +0100 (CET)<br>
>> From: Roger Price <<a href="mailto:roger@rogerprice.org" target="_blank">roger@rogerprice.org</a>><br>
>> To: nut-upsuser Mailing List <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>><br>
>> Subject: Re: [Nut-upsuser] Timer doesn't appear to start<br>
>> Message-ID: <alpine.LSU.2.20.2001271207120.5507@titan><br>
>> Content-Type: text/plain; charset="iso-8859-15"; Format="flowed"<br>
>><br>
>> On Mon, 27 Jan 2020, Greg Treantos wrote:<br>
>><br>
>> > Roger, here is my output of ps -elf |grep upssched<br>
>> ><br>
>> > root@nutpi:~# ps -elf |grep upssched<br>
>> > 0 S root 1242 1191 0 80 0 - 1834 pipe_w 05:23 pts/0<br>
>> 00:00:00 grep upssched<br>
>> ><br>
>> > No timer, just the grep of upssched..<br>
>><br>
>> So upssched doesn't start. Is this an ownership/permissions problem?<br>
>><br>
>> Roger<br>
>><br>
>> ------------------------------<br>
>><br>
>> Subject: Digest Footer<br>
>><br>
>> _______________________________________________<br>
>> Nut-upsuser mailing list<br>
>> <a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
>> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
>><br>
>> ------------------------------<br>
>><br>
>> End of Nut-upsuser Digest, Vol 175, Issue 32<br>
>> ********************************************<br>
>><br>
><br>
><br>
> --<br>
> Greg<br>
><br>
> <a href="http://www.linkedin.com/in/gregtreantos" rel="noreferrer" target="_blank">http://www.linkedin.com/in/gregtreantos</a><br>
><br>
<br>
<br>
-- <br>
Greg<br>
<br>
<a href="http://www.linkedin.com/in/gregtreantos" rel="noreferrer" target="_blank">http://www.linkedin.com/in/gregtreantos</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200127/05e0e681/attachment.html" rel="noreferrer" target="_blank">http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200127/05e0e681/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
<br>
------------------------------<br>
<br>
End of Nut-upsuser Digest, Vol 175, Issue 33<br>
********************************************<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Greg<br><br><a href="http://www.linkedin.com/in/gregtreantos" target="_blank">http://www.linkedin.com/in/gregtreantos</a></div></div>