UPS Trust OXXTRON 1300VA

Status
Not open for further replies.

slyferd

Contributor
Joined
Oct 31, 2012
Messages
177
I need help to configure the UPS, because it always fails.

UPS Mode: Master
Identifier: ups
Driver: Trust ups 2 UPS 1300VA
Port: /dev/ugen1.5
Auxiliary parameters (ups.conf): Empity
Description:
Shutdown mode: UPS reaches low battery
Shutdown timer: 30
Monitor User: upsmon
Monitor Password: XXXXXXXX
Extra users (upsd.users):
Remote Monitor: ON
Send Email Status Updates: ON
To email: my email
Email Subject: UPS report generated by %h
Power Off UPS: OFF

Code:
[root@freenas ~]# usbconfig
ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.2: <product 0x8008 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.2: <product 0x8000 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen1.3: <Virtual Hub American Megatrends Inc.> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen1.4: <Virtual Keyboard and Mouse American Megatrends Inc.> at usbus1, cfg=0md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA)
ugen1.5: <UPS USB MON V1.4 vendor 0x0925> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)



Code:
Mar 3 15:59:06 freenas notifier: nut not running? (check /var/db/nut/upsd.pid).
Mar 3 15:59:06 freenas notifier: nut_upsmon not running? (check /var/db/nut/upsmon.pid).
Mar 3 15:59:06 freenas notifier: nut_upslog not running? (check /var/db/nut/upslog.pid).
Mar 3 15:59:06 freenas notifier: Will not 'restart' nut because nut_enable is NO.
Mar 3 15:59:06 freenas notifier: Will not 'restart' nut_upsmon because nut_upsmon_enable is NO.
Mar 3 15:59:06 freenas notifier: Will not 'restart' nut_upslog because nut_upslog_enable is NO.
Mar 3 15:59:17 freenas notifier: tcgetattr(/dev/ugen1.5): Inappropriate ioctl for device
Mar 3 15:59:17 freenas notifier: Network UPS Tools - Megatec/Q1 protocol serial driver 1.56 (2.7.3)
Mar 3 15:59:17 freenas notifier: Driver failed to start (exit status=1)
Mar 3 15:59:17 freenas notifier: Network UPS Tools - UPS driver controller 2.7.3
Mar 3 15:59:17 freenas root: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Mar 3 15:59:17 freenas notifier: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Mar 3 15:59:17 freenas notifier: Starting nut_upsmon.
Mar 3 15:59:17 freenas notifier: kill: No such process
Mar 3 15:59:17 freenas notifier: UPS: ups (master) (power value 1)
Mar 3 15:59:17 freenas notifier: Using power down flag file /etc/nokillpower
Mar 3 15:59:17 freenas upsmon[5472]: UPS [ups]: connect failed: Connection failure: Connection refused
Mar 3 15:59:17 freenas upsmon[5472]: Communications with UPS ups lost
Mar 3 15:59:17 freenas notifier: Starting nut_upslog.
Mar 3 15:59:17 freenas notifier: Warning: initial connect failed: Connection failure: Connection refused
Mar 3 15:59:18 freenas notifier: Stopping nut_upslog.
Mar 3 15:59:18 freenas notifier: Waiting for PIDS: 5492.
Mar 3 15:59:18 freenas notifier: Stopping nut_upsmon.
Mar 3 15:59:42 freenas upsmon[5471]: upsmon parent: read
Mar 3 15:59:42 freenas notifier: Waiting for PIDS: 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472, 5472.
Mar 3 15:59:42 freenas notifier: nut not running? (check /var/db/nut/upsd.pid).



Now i have forced this parameter
FreenasUPS.jpg

Code:
Mar 3 21:49:28 freenas notifier: Network UPS Tools - Megatec/Q1 protocol serial driver 1.56 (2.7.3)
Mar 3 21:49:28 freenas notifier:
Mar 3 21:49:28 freenas notifier: Fatal error: 'vendorid' is not a valid variable name for this driver.
Mar 3 21:49:28 freenas notifier:
Mar 3 21:49:28 freenas notifier: Look in the man page or call this driver with -h for a list of
Mar 3 21:49:28 freenas notifier: valid variable names and flags.
Mar 3 21:49:28 freenas notifier: Network UPS Tools - UPS driver controller 2.7.3
Mar 3 21:49:28 freenas notifier: Starting nut.
Mar 3 21:49:28 freenas notifier: fopen /var/db/nut/upsd.pid: No such file or directory
Mar 3 21:49:28 freenas notifier: listening on 127.0.0.1 port 3493
Mar 3 21:49:28 freenas notifier: Can't connect to UPS [ups] (blazer_ser-ups): No such file or directory
Mar 3 21:49:28 freenas upsd[35671]: Can't connect to UPS [ups] (blazer_ser-ups): No such file or directory
Mar 3 21:49:28 freenas notifier: /usr/local/etc/nut/cmdvartab not found - disabling descriptions
Mar 3 21:49:28 freenas notifier: Starting nut_upsmon.
Mar 3 21:49:28 freenas notifier: kill: No such process
Mar 3 21:49:28 freenas notifier: UPS: ups (master) (power value 1)
Mar 3 21:49:28 freenas notifier: Using power down flag file /etc/nokillpower
Mar 3 21:49:28 freenas upsmon[35689]: Poll UPS [ups] failed - Driver not connected
Mar 3 21:49:28 freenas upsmon[35689]: Communications with UPS ups lost
Mar 3 21:49:28 freenas notifier: Starting nut_upslog.
 
Last edited:

slyferd

Contributor
Joined
Oct 31, 2012
Messages
177
No, i have new version UPS Trust OXXTRON 1300VA with USB plug
 
Last edited:

slyferd

Contributor
Joined
Oct 31, 2012
Messages
177
UP

Please upgrade NUT drivers for this UPS or if you can help me.
 
D

dlavigne

Guest
Does NUT support this device and if so, which version of NUT?
 

slyferd

Contributor
Joined
Oct 31, 2012
Messages
177
Status
Not open for further replies.
Top