UPS Connection issue "failed - Driver not connected"

Status
Not open for further replies.

Luke_Rhok

Cadet
Joined
Jun 11, 2017
Messages
3
I've been trying to get my FreeNAS server to communicate with a SOLA ups S1K520. Since this model only uses a serial connection I started out by connecting both the Server and the UPS with a serial cable (15ft DB9 M/F Extension Cable). When I found out that FreeNAS was having problems trying to talk to the UPS, I tried using a USB to DB9 Serial Adapter with no luck. I've searched the forums and Google to see what others have done to solve this issue but nothing seems to be working for me.

I'm currently running build: FreeNAS-9.10.2-U5 (561f0d7a1)

My settings for the UPS service are as follows:
UPS Mode: Master
Identifier: Altair_UPS
Driver: SOLA ups 1 520 (blazer_ser or bestups)
Port: /dev/ugen3.2
Auxiliary Parameters (ups.conf): (Blank)
Auxiliary Parameters (upsd.conf): (Blank)
Description: (Blank)
Shutdown mode: UPS goes on battery
Shutdown Timer: 30
Shutdown Command: /sbin/shutdown -p now
Monitor User: upsmon
Monitor Password: master
Extra users: (upsd.users)
Remote Monitor: (Checked)
Send Email Status Updates: (Unchecked)
to email: (Blank)
Power Off UPS: (Unchecked)

Using either the USB or serial connections I get the following messages when I start the UPS service.
Code:
Jun 11 11:40:12 Altair upsd[66549]: Can't connect to UPS [Altair_UPS] (blazer_ser-Altair_UPS): No such file or directory
Jun 11 11:40:12 Altair notifier: Network UPS Tools - Megatec/Q1 protocol serial driver 1.56 (2.7.3)
Jun 11 11:40:12 Altair notifier: 
Jun 11 11:40:12 Altair notifier: Fatal error: 'or' is not a valid flag for this driver.
Jun 11 11:40:12 Altair notifier: 
Jun 11 11:40:12 Altair notifier: Look in the man page or call this driver with -h for a list of
Jun 11 11:40:12 Altair notifier: valid variable names and flags.
Jun 11 11:40:12 Altair notifier: Network UPS Tools - UPS driver controller 2.7.3
Jun 11 11:40:12 Altair notifier: Starting nut.
Jun 11 11:40:12 Altair notifier: fopen /var/db/nut/upsd.pid: No such file or directory
Jun 11 11:40:12 Altair notifier: listening on 127.0.0.1 port 3493
Jun 11 11:40:12 Altair notifier: Can't connect to UPS [Altair_UPS] (blazer_ser-Altair_UPS): No such file or directory
Jun 11 11:40:12 Altair notifier: /usr/local/etc/nut/cmdvartab not found - disabling descriptions
Jun 11 11:40:12 Altair notifier: Starting nut_upsmon.
Jun 11 11:40:12 Altair notifier: kill: No such process
Jun 11 11:40:12 Altair notifier: UPS: Altair_UPS (master) (power value 1)
Jun 11 11:40:12 Altair notifier: Using power down flag file /etc/nokillpower
Jun 11 11:40:12 Altair upsmon[66565]: Poll UPS [Altair_UPS] failed - Driver not connected
Jun 11 11:40:12 Altair upsmon[66565]: Communications with UPS Altair_UPS lost
Jun 11 11:40:12 Altair notifier: Starting nut_upslog.
Jun 11 11:40:17 Altair upsmon[66565]: Poll UPS [Altair_UPS] failed - Driver not connected
Jun 11 11:40:17 Altair upsmon[66565]: UPS Altair_UPS is unavailable
Jun 11 11:40:22 Altair upsmon[66565]: Poll UPS [Altair_UPS] failed - Driver not connected
Jun 11 11:40:27 Altair upsmon[66565]: Poll UPS [Altair_UPS] failed - Driver not connected
Jun 11 11:40:32 Altair upsmon[66565]: Poll UPS [Altair_UPS] failed - Driver not connected
Jun 11 11:40:37 Altair upsmon[66565]: Poll UPS [Altair_UPS] failed - Driver not connected

When I type in upsc Altair_UPS@localhost I get:
Code:
Error: Connection failure: Connection refused

I'm not exactly what I'm missing here so any help would be appreciated.
Thanks.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Jun 11 11:40:12 Altair notifier: Fatal error: 'or' is not a valid flag for this driver.
I'm personally wondering what the hell this means? Anyone?

Also, serial ports are turned on and off in BIOS. Make sure your serial port is turned on.
 

Luke_Rhok

Cadet
Joined
Jun 11, 2017
Messages
3
Also, serial ports are turned on and off in BIOS. Make sure your serial port is turned on.

I did check to see if the serial ports are turned on in the bios and they are.

I also tried to get it to work on a Windows machine using the usb to serial adapter and various different UPS software i randomly found on the internet. I was not able to get my Windows system to talk with the UPS for some reason.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Is.....the UPS powered on?
 

Luke_Rhok

Cadet
Joined
Jun 11, 2017
Messages
3
Is.....the UPS powered on?
Yes... It is indeed turned on.

It's possible that I might invest in a different UPS. I received two SOLA ups S1K520 from work as they were going to throw them away because the batteries were bad. So I decided that if I can get one to talk to my machine then I'd just invest in a new battery and save a few $$ in the long run. However, this seems to have more problems than I anticipated. So it's no big loss if I can't get them to work, however, it would be awesome if we can figure this problem out.
 
Status
Not open for further replies.
Top