[Nut-upsuser] nut-monitor: Set password on [cyberpower at localhost] failed - got [ERR INVALID-ARGUMENT]

Jim Klimov jimklimov+nut at gmail.com
Thu Dec 29 06:55:26 GMT 2022


OTOH, is the `upsd.users` file set up right?

* permissions for only nut OS account to read it
* upsmon primary/secondary role specified for that nut user section
* no typos in password :)

Jim


On Thu, Dec 29, 2022, 01:04 Orion Poplawski via Nut-upsuser <
nut-upsuser at alioth-lists.debian.net> wrote:

> With nut 2.8.0 I seem to be getting the following messages:
>
> Dec 28 15:37:49  upsd[192157]: [D2] mainloop: polling 4 filedescriptors
> Dec 28 15:37:49  upsd[192157]: [D6] Entering check_command: STARTTLS
> Dec 28 15:37:49  upsd[192157]: [D6] check_command: Calling command
> handler for STARTTLS
> Dec 28 15:37:49  upsd[192157]: [D2] write: [destfd=9] [len=12] [OK
> STARTTLS]
> Dec 28 15:37:49  upsd[192157]: [D3] SSL connected (TLSv1.2)
> Dec 28 15:37:49  nut-monitor[194125]: Connected to NUT server localhost
> in SSL
> Dec 28 15:37:49  nut-monitor[194125]: Certificate verification is disabled
> Dec 28 15:37:49  nut-monitor[194125]: 0.014249        Set password on
> [cyberpower at localhost] failed - got [ERR INVALID-ARGUMENT]
> Dec 28 15:37:49  nut-monitor[194125]: 0.014268        [D3] Current power
> value: 1
> Dec 28 15:37:49  nut-monitor[194125]: 0.014280        [D3] Minimum power
> value: 1
> Dec 28 15:37:49  nut-server[192157]: 395.800300        [D3] SSL
> connected (TLSv1.2)
> Dec 28 15:37:49  nut-server[192157]: 395.800339        [D2] mainloop:
> polling 4 filedescriptors
> Dec 28 15:37:49  nut-server[192157]: 395.800547        [D6] Entering
> check_command: USERNAME
> Dec 28 15:37:49  nut-server[192157]: 395.800570        [D6]
> check_command: Calling command handler for USERNAME
> Dec 28 15:37:49  nut-server[192157]: 395.800616        [D5] ssl_write ret=3
> Dec 28 15:37:49  nut-server[192157]: 395.800638        [D2] write:
> [destfd=9] [len=3] [OK]
> Dec 28 15:37:49  nut-server[192157]: 395.800657        [D2] mainloop:
> polling 4 filedescriptors
> Dec 28 15:37:49  nut-server[192157]: 395.800696        [D6] Entering
> check_command: PASSWORD
> Dec 28 15:37:49  nut-server[192157]: 395.800716        [D6]
> check_command: Calling command handler for PASSWORD
> Dec 28 15:37:49  nut-server[192157]: 395.800751        [D4] Sending
> error [INVALID-ARGUMENT] to client 127.0.0.1
> Dec 28 15:37:49  nut-server[192157]: 395.800794        [D5] ssl_write
> ret=21
> Dec 28 15:37:49  nut-server[192157]: 395.800814        [D2] write:
> [destfd=9] [len=21] [ERR INVALID-ARGUMENT]
> Dec 28 15:37:49  nut-server[192157]: 395.800834        [D2] mainloop:
> polling 4 filedescriptors
> Dec 28 15:37:49  upsd[192157]: [D2] mainloop: polling 4 filedescriptors
> Dec 28 15:37:49  upsd[192157]: [D6] Entering check_command: USERNAME
> Dec 28 15:37:49  upsd[192157]: [D6] check_command: Calling command
> handler for USERNAME
> Dec 28 15:37:49  upsd[192157]: [D5] ssl_write ret=3
> Dec 28 15:37:49  upsd[192157]: [D2] write: [destfd=9] [len=3] [OK]
> Dec 28 15:37:49  upsd[192157]: [D2] mainloop: polling 4 filedescriptors
> Dec 28 15:37:49  upsd[192157]: [D6] Entering check_command: PASSWORD
> Dec 28 15:37:49  upsd[192157]: [D6] check_command: Calling command
> handler for PASSWORD
> Dec 28 15:37:49  upsd[192157]: [D4] Sending error [INVALID-ARGUMENT] to
> client 127.0.0.1
> Dec 28 15:37:49  upsd[192157]: [D5] ssl_write ret=21
> Dec 28 15:37:49  upsd[192157]: [D2] write: [destfd=9] [len=21] [ERR
> INVALID-ARGUMENT]
> Dec 28 15:37:49  upsd[192157]: [D2] mainloop: polling 4 filedescriptors
>
>
>
> Do you know what is triggering this?
>
> --
> Orion Poplawski
> he/him/his  - surely the least important thing about me
> IT Systems Manager                         720-772-5637
> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> 3380 Mitchell Lane                       orion at nwra.com
> Boulder, CO 80301                 https://www.nwra.com/
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20221229/59e7a284/attachment-0001.htm>


More information about the Nut-upsuser mailing list