[Nut-upsuser] Problem with blazer_ser/megatec when upgrading to 2.6.0 from 2.4

Dushan Tcholich dusanc at gmail.com
Fri Apr 29 07:48:04 UTC 2011


>
> What is the output of 'upsd' in the syslog telling you? Note that when
> running in debug mode, a process will terminate as soon as you close the
> terminal it is running in or when you kill it with Ctrl-C.
>
> Best regards, Arjen

Good catch, I looked more in syslog and saw something that I overlooked:


Apr 29 09:38:53 krshina3 upsd[8297]: Can't connect to UPS [munja]
(megatec-munja): No such file or directory

So somehow even as I restarted my PC I somehow messed up and upsd
still tried to connect to megatec driver.

Then I restarted upsdrv, upsd and upsmon in that order and now it works:

Apr 29 09:39:03 krshina3 blazer_ser[12978]: Startup successful
Apr 29 09:39:28 krshina3 upsd[8297]: mainloop: Interrupted system call
Apr 29 09:39:28 krshina3 upsd[8297]: Signal 15: exiting
Apr 29 09:39:29 krshina3 upsd[13062]: listening on 127.0.0.1 port 3493
Apr 29 09:39:29 krshina3 upsd[13062]: Connected to UPS [munja]: blazer_ser-munja
Apr 29 09:39:29 krshina3 upsd[13063]: Startup successful
Apr 29 09:39:51 krshina3 upsd[13063]: User monuser at 127.0.0.1 logged
into UPS [munja]
Apr 29 09:40:27 krshina3 upsd[13063]: User monuser at 127.0.0.1 logged
out from UPS [munja]
Apr 29 09:40:36 krshina3 upsmon[13135]: Startup successful
Apr 29 09:40:36 krshina3 upsd[13063]: User monuser at 127.0.0.1 logged
into UPS [munja]



upsc munja at localhost
battery.voltage: 54.00
battery.voltage.nominal: 48.0
beeper.status: disabled
device.mfr:
device.model:
device.type: ups
driver.name: blazer_ser
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.6.0
driver.version.internal: 1.51
input.current.nominal: 0.0
input.frequency: 50.0
input.frequency.nominal: 50
input.voltage: 246.5
input.voltage.fault: 140.0
input.voltage.nominal: 230
output.voltage: 246.5
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: IN03064B
ups.load: 4
ups.mfr:
ups.model:
ups.status: OL
ups.temperature: 25.0     <<< temp never changes
ups.type: offline / line interactive

If you need some more info so you can add this UPS to working list
please tell me.

Oh and sorry for false alarm :)

Have a nice day
Dushan



More information about the Nut-upsuser mailing list