Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-31 Thread Pavel Potcheptsov (EKTOS)
I'll test it. I'm a bit confused with cgi-bin. I have made a lot of hosts.conf copies and didn't understand where does upsstats trying to find hosts.conf # ps -aux | grep ups _ups 13934 0.0 0.0 484 920 ?? Ss 5:41PM0:01.53 /usr/local/bin/riello_ser -a senpro _ups 9171 0.0

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-30 Thread Charles Lepple
On Jul 30, 2013, at 3:28 AM, Pavel Potcheptsov (EKTOS) wrote: another attempt: # upsd Network UPS Tools upsd 2.6.5 fopen /var/db/nut/upsd.pid: No such file or directory listening on 127.0.0.1 port 3493 listening on ::1 port 3493 Can't connect to UPS [senpro] (riello_ser-senpro): No such

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-30 Thread Charles Lepple
On Jul 29, 2013, at 7:56 AM, Charles Lepple wrote: On Jul 29, 2013, at 6:43 AM, Pavel Potcheptsov (EKTOS) wrote: Hello list, I have explored https://github.com/networkupstools/nut repository and found that Riello UPS added into list of supported UPS. But current package for most

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-30 Thread Pavel Potcheptsov (EKTOS)
# reboot Connection to 192.168.5.81 closed by remote host. Connection to 192.168.5.81 closed. ppo@admin:/tmp$ ssh root@192.168.5.81 root@192.168.5.81's password: Last login: Tue Jul 30 14:10:49 2013 from pc-ppo.kh.ektos OpenBSD 5.3 (GENERIC.MP) #58: Tue Mar 12 18:43:53 MDT 2013 # ps -aux | grep

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-30 Thread Pavel Potcheptsov (EKTOS)
I have downloaded this file and did ./configure --with-user=_ups --with-group=_ups and then make command stopped at: gcc -DHAVE_CONFIG_H -I. -I../include-I../include -I/usr/local/include -I/usr/local/include/libusb-1.0 -DSHUT_MODE -g -O2 -Wall -Wsign-compare -MT

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-30 Thread Charles Lepple
On Jul 30, 2013, at 10:39 AM, Pavel Potcheptsov (EKTOS) wrote: Is this a trouble? Driver use path /var/state/ups/ but upsd use path /var/db/nut/upsd.pid Yes, the driver and upsd need to agree on the path to the socket. From the FreeBSD ports tree: /usr/ports/sysutils/nut/Makefile:

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-29 Thread Charles Lepple
On Jul 29, 2013, at 6:43 AM, Pavel Potcheptsov (EKTOS) wrote: Hello list, I have explored https://github.com/networkupstools/nut repository and found that Riello UPS added into list of supported UPS. But current package for most distribution it's nut-2.6.5 which doesn't have Riello's models.

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-29 Thread Pavel Potcheptsov (EKTOS)
Thanks for you reply. I have installed asciidoc with pkg_add asciidoc And it returns something: # asciidoc fgh asciidoc: FAILED: input file /root/nut/fgh missing # which asciidoc /usr/local/bin/asciidoc Maybe there is any way to skip building man pages. This is not the such main thing as a new

Re: [Nut-upsuser] nut package with Riello UPS support

2013-07-29 Thread Charles Lepple
On Jul 29, 2013, at 8:16 AM, Pavel Potcheptsov (EKTOS) wrote: I also could built the driver that I need # make riello_ser That should work, from the driver directory. It shouldn't depend on the man pages. The master branch in Git and 2.6.5 are close enough that you should be able to just