Guest juxx Posted August 20, 2005 Report Share Posted August 20, 2005 Hi all, trying to start UPS service with: service upsd start I allways get this output: NUT Starting UPS model drivers: Network UPS Tools - Generic SafeNet UPS driver 0.03 (2.0.0) Unable to open ttyS0: No such file or directory Things to try: - Check 'port=' in ups.conf - Check owner/permissions of all parts of path Network UPS Tools (version 2.0.0) - APC Smart protocol driver Driver version 1.99.6, command table version 2.0 Unable to open ttyS1: No such file or directory Things to try: - Check 'port=' in ups.conf - Check owner/permissions of all parts of path Network UPS Tools - UPS driver controller 2.0.0 Fatal error: unusable configuration Driver failed to start (exit status=1) Fatal error: unusable configuration Driver failed to start (exit status=1) [FAILED] NUT Starting UPS daemon: [ OK ] Waht can I do to solve? Thanks in advance. juxx Quote Link to comment Share on other sites More sharing options...
jboy Posted August 20, 2005 Report Share Posted August 20, 2005 Check file /etc/ups/ups.conf You probably have a line that says: port = ttyS0 Change that to: port = /dev/ttyS0 You will probably need to edit the file as the root user. I remember having this very same error message when I set up my ups, until I changed the line to: port = /dev/ttyS0 Quote Link to comment Share on other sites More sharing options...
Guest juxx Posted August 20, 2005 Report Share Posted August 20, 2005 (edited) well... changing ttys0 in ups.conf to /dev/tty0 i get: NUT Starting UPS model drivers: Network UPS Tools (version 2.0.0) - APC Smart protocol driver Driver version 1.99.6, command table version 2.0 Unable to detect an APC Smart protocol UPS on port /dev/tty0 Check the cabling, port name or model name and try again Network UPS Tools - UPS driver controller 2.0.0 Driver failed to start (exit status=1) [FAILED] NUT Starting UPS daemon: [ OK ] but: first (only by me) serial is ttyS0 or tty0? juxx Edited August 20, 2005 by juxx Quote Link to comment Share on other sites More sharing options...
Guest juxx Posted August 20, 2005 Report Share Posted August 20, 2005 thank you jboy... now problem seems to be ups model. I'll try to change it. thanks juxx Quote Link to comment Share on other sites More sharing options...
jboy Posted August 20, 2005 Report Share Posted August 20, 2005 Don't know why you wouldn't have /dev/ttyS0, which is serial port 1. Issue the following command: dmesg | grep tty When I do that, I get: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A Gotta go. Heading out for the weekend. Post what you get from the dmesg command, and somebody should be able to help you. Good luck with it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.