UPS shutdown
-
hmmm, does not work for me…
seems not to find my smart-ups via calbe (com1) :'(
I configured every setting that's NOT optional... and I get the following:
Feb 15 22:51:45 php: nut: Service failed to start: check configuration
Feb 15 22:51:45 php: nut: Starting service
Feb 15 22:50:44 php: nut: Service failed to start: check configuration
Feb 15 22:50:43 php: nut: Starting service
Feb 15 22:49:34 php: /pkg_mgr_install.php: Beginning package installation for nut.UPS Monitoring LOCAL
Local UPS Name UPS_IDEN
Local UPS Model SMART-UPS
Local UPS Port COM1 (ttyd0)any idea ?
-
hmmm, does not work for me…
seems not to find my smart-ups via calbe (com1) :'(
I configured every setting that's NOT optional... and I get the following:
Feb 15 22:51:45 php: nut: Service failed to start: check configuration
Feb 15 22:51:45 php: nut: Starting service
Feb 15 22:50:44 php: nut: Service failed to start: check configuration
Feb 15 22:50:43 php: nut: Starting service
Feb 15 22:49:34 php: /pkg_mgr_install.php: Beginning package installation for nut.UPS Monitoring LOCAL
Local UPS Name UPS_IDEN
Local UPS Model SMART-UPS
Local UPS Port COM1 (ttyd0)any idea ?
You need to specify a cable type, that is why is it in () next to Smart-UPS. If that is an APC cable look at both ends. In the plastic it will have the cable number engraved. Specify that cable in the nut cable type selection.
-
Hmmm, did it that way, but it does not work either :-(
And the service is being started, tells me successful, but then does not start at all :-\
-
Hmmm, did it that way, but it does not work either :-(
And the service is being started, tells me successful, but then does not start at all :-\
What color is your serial cable and what number is on it? I will look into it. I have an APC Smart UPS with a gray cable, number 940-0095B. There are about 10 different cables so it is important that you actually look at the cable for the number. If you pick the wrong cable type it will not work. It would be helpful if you could provide more information.
-
Heres a snapshot of my configuration and the status. The cable I have is technically for a Back-UPS Pro UPS, I have a few UPS's and cables have gotten swapped around. I did test with the actual Smart-UPS cable and it works as well. The protocol is the same, but every model cable is wired slightly different. The UPS model Smart-UPS, Back-UPS Pro tells the driver what subset of the protocol the UPS supports, such as temperature, etc
-
The cable I have is a 940-004C cable…
Should be working with the Rack Smart UPS 1000 I think... -
The cable I have is a 940-004C cable…
Should be working with the Rack Smart UPS 1000 I think...I figured it out. I went through and read the man pages on the apcsmart driver. Turns out it only supports two cables, unlike other documentation I have read. I went as far as going through the actual code to confirm this. I am updating the NUT package to reflect this. You need to find one of the below cables to get it working.
"This driver expects to see a 940-0024C cable or a clone by default.
You can switch to the 940-0095B dual-mode cable support with the cable=
definition described below.If your 940-0024C cable is broken or missing, use this diagram to build
a clone:http://random.networkupstools.org/cables/940-0024C.jpg"
-
By chance did you read the cable number wrong and it is really 940-0024C. 2 might look like 0 in the dark on plastic. ;D Try reinstalling the package and configuring it with that cable setting.
-
you were right… error while reading...
it's the 24 cable...
but after reinstalling it does still not work :-(
-
you were right… error while reading...
it's the 24 cable...
but after reinstalling it does still not work :-(
I'm really confused. I have both cables 940-0024C and 940-0095B sitting here in front of me and they both work. I have an APC SmartUPS 700. Are you sure the cable is good? Have you tested it with the APC monitoring software by chance?
Also if the nut status screen shows wait, refresh your browser as its still negotiating with the UPS.
-
How can I check, why the service won't start ?
any idea ? -
How can I check, why the service won't start ?
any idea ?Configure nut via the webgui. Then go to the console and run
/usr/local/libexec/nut/upsdrvctl start
You should see something like
Detected SMART-UPS 700 [serialnum] on /dev/ttyd0
Otherwise it will give you an error message. The config files are stored in /usr/local/etc/nut/ If you get it working let me know what you changed to make it work.
After you get that far then you run the following commands. Be sure to replace myups with the name you gave your ups in the nut config.
/usr/local/sbin/upsd
/usr/local/sbin/upsmon myups@localhostBoth the above commands should tell you they were successfully executed.
-
so… the error was some "spaces" in the UPS name...
just use [a-z],[A-Z],[0-9]
sometime later there will be some update by @rsw686
;D now it works !!! ;D
-
so… the error was some "spaces" in the UPS name...
just use [a-z],[A-Z],[0-9]
sometime later there will be some update by @rsw686
;D now it works !!! ;D
I put the necessary checks in place so this shouldn't happen to anybody else. :) I also improved the status page. To get the latest reinstall the package via the webgui.
-
jepp… looks nice now :-)
alpha status should be changed to beta soon, I think ;-) -
Has anyone else tried to get NUT going on a Nokia IP330? I have the package installed but it will not recognize any cable I throw at it. I have an APC Back-UPS Pro 650, which connects fine to my pc via the 2 different cables I have.
-
Has anyone else tried to get NUT going on a Nokia IP330? I have the package installed but it will not recognize any cable I throw at it. I have an APC Back-UPS Pro 650, which connects fine to my pc via the 2 different cables I have.
How many serial ports on your IP330. The bottom one is always the console port. If that is all you have you will have to add a second serial port above it. All IP330s have the hole in the metal, just the sticker on the front is different. Find or buy one of the below serial port adapters. On the board there is a jumper to move from the modem to the serial port. Then you just plug the ribbon cable in and screw it in the front of the IP330.
Here is a pic from a website I found showing the jumper. I did this mod on mine as it originally had the modem exposed. I have not tested out NUT on it, but will try it in the next day or so and let you know.
http://criggie.dyndns.org/tech/ip330/images/jumper1.jpg
My IP330 is shown below. The pic is before I rearranged the rack. I painted it black as the sticker on the front was peeling off and it matches everything else I have. As you can see the modem is on the far right.
-
thanks for your response, I didnt even notice the cutout was already there, but will def. try this.
-
thanks for your response, I didnt even notice the cutout was already there, but will def. try this.
Hmm I just hooked up a ups to my ip330 on com2, and I couldn't get it to work. I have an embedded install on there so that might be part of the issue. When I try and start the driver control I get the error
Can't uu_lock ttyd1: creat error: No such file or directory
I'll have to look into this some more and see if I can get it to work. The IP330 is my main box and I don't really plan on switching to the full install to test this. Let me know if you find out anything different.
EDIT:
I'm making progress, I had to mkdir /var/spool/lock and set the permissions as this was missing on the embedded installs. There might be something missing from the embedded install to get this to work. I would be interested in seeing how it works out for you since you have a full install.
-
I noticed that the NUT service will NOT start after a firmware upgrade…
after hitting "change" button in NUT settings it runs again...
perhaps that should be fixed... ;)