Anyone know what is the problem for this? thanks Andrew freebsd 540$ /usr/local/etc/rc.d/nut restart nut not running? (check /var/db/nut/upsd.pid). Network UPS Tools - UPS driver controller 2.0.4 Network UPS Tools - Generic UPS driver 1.32 (2.0.4) UPS type: APC Back-UPS (940-0023A cable) Unable to open /dev/cuad0: Device busy Current user id: uucp (66) Serial port owner: uucp (66) Serial port group: dialer (68) Mode of port: 0666 Things to try: - Use another port (with the right permissions) - Fix the port owner/group or permissions on this port - Run this driver as another user (upsdrvctl -u or 'user=...' in ups.conf). See upsdrvctl(8) and ups.conf(5). Fatal error: unusable configuration Driver failed to start (exit status=1) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20061011/e933b554/attachment.html
ahgu
2006-Oct-12 02:47 UTC
[Nut-upsuser] unisys UPS using RD, genericups does not support RD?
I have a unisys UPS, I probed the RS232 and notice that pin 2, (receive data) is going from -6v (OL) to 12v(OB), but I don't see the setting for the genericups. Seems nobody else is using the RD pin? Any driver I can use? Thanks -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20061011/a14064a7/attachment.htm
Daniel O'Connor
2006-Oct-12 03:31 UTC
[Nut-upsuser] Unable to open /dev/cuad0: Device busy
On Thursday 12 October 2006 11:22, ahgu wrote:> Anyone know what is the problem for this?Find out what is using that serial port? fstat or lsof can probably tell you what process has it open. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20061012/d1fec721/attachment.pgp
> freebsd 540$ /usr/local/etc/rc.d/nut restart > nut not running? (check /var/db/nut/upsd.pid). > Network UPS Tools - UPS driver controller 2.0.4 > Network UPS Tools - Generic UPS driver 1.32 (2.0.4) > UPS type: APC Back-UPS (940-0023A cable) > > Unable to open /dev/cuad0: Device busyStopping a driver is an asynchronous process. Therefor, if you restart NUT, you may attempt to start the driver again before the previous one has stopped (and may still be locking the port). In that case, adding a delay of about three seconds between stopping and starting is usually sufficient to fix this. You can do this by adding 'sleep 3' in the startup script between the stopping and starting of the driver, or alternatively stop and start the driver from the commandline. Best regards, Arjen -- Eindhoven - The Netherlands Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57