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:
Using either the USB or serial connections I get the following messages when I start the UPS service.
When I type in upsc Altair_UPS@localhost I get:
I'm not exactly what I'm missing here so any help would be appreciated.
Thanks.
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)
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.