Debian Stretch

If none of the more specific forums is the right place to ask

Debian Stretch

Postby mdio » 2018-02-07 10:54

Hello,

I installed nut on debian 9, all works well but against when I run commands from a non-root user I have an error message
example when I log in with my foo user and execute the command upsc -l I have this "Error: Connection failure: Connection timed out"

could you help me please?

thank you in advance


Bonjour,

j'ai installé nut sur debian 9, tous fonctionne bien mais par contre lorsque je lance des commandes depuis un utilisateur non root j'ai un un message d'erreur
exemple lorsque je me connecte avec mon utilisateur toto et que j'execute la commande upsc -l j'ai ceci "Error: Connection failure: Connection timed out"

pourriez-vous m'aidé s'il vous plait ?

Merci d'avance
Last edited by mdio on 2018-02-07 11:35, edited 1 time in total.
mdio
 
Posts: 4
Joined: 2018-02-07 10:40

Re: Debian Stretch

Postby arochester » 2018-02-07 11:04

Forum guidelines #9
The language on this board is primarily English but we do not exclude people with little or no English. When replying to posts in other languages please include an English translation. It's a good idea to help non-English speakers find resources in their language.
viewtopic.php?f=11&t=10653

Have you tried? http://debian-facile.org - Debian-Facile - Debian related doc, news and forums.

http://www.debian-fr.org - Debian-fr - Debian related doc.

http://www.devloprog.org/admin - DevloProg - Debian admin related tips.

https://www.debian-fr.xyz - Debian-fr.xyz - Debian forum related doc. and tutorials.
arochester
 
Posts: 1280
Joined: 2010-12-07 19:55

Re: Debian Stretch

Postby mdio » 2018-02-07 11:36

Hello,

I installed nut on debian 9, all works well but against when I run commands from a non-root user I have an error message
example when I log in with my foo user and execute the command upsc -l I have this "Error: Connection failure: Connection timed out"

could you help me please?

thank you in advance
mdio
 
Posts: 4
Joined: 2018-02-07 10:40

Re: Debian Stretch

Postby debiman » 2018-02-07 18:29

i don't even have that command, but a quick apt search tells me it has to do with printing.
maybe something like "list all network printers".
maybe it is desired to let only root see those things?
my wild guess would be that CUPS documentation will be helpful in resolving this.
User avatar
debiman
 
Posts: 2586
Joined: 2013-03-12 07:18

Re: Debian Stretch

Postby mdio » 2018-02-08 07:52

Thank you for your answer but i use "nut" for monitoring inverter not for printer.

i have made many research on google but anything helpfull.

also when i do systemctl status nut-server.service i have this "upsd[2785]: not listening on 127.0.0.1 port 3493" but it can listen on ::1 3493. i don't know if this can prevent me from executing ups commands from a no root user.

best regards,
Diogene
mdio
 
Posts: 4
Joined: 2018-02-07 10:40

Re: Debian Stretch

Postby mdio » 2018-02-08 13:02

I Have resoled the not listing on 127.0.0.1 error but still can get ups status by executing command from no root user

from toto user i have : $ upsc -l
Error: Connection failure: Connection timed out

but with root i have : $ upsc -l
Init SSL without certificate database
UPS
i can't understand why.

best reagrds,
mdio
 
Posts: 4
Joined: 2018-02-07 10:40


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable