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