On 11/9/06, <b class="gmail_sendername">Arjen de Korte</b> &lt;<a href="mailto:nut+users@de-korte.org">nut+users@de-korte.org</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
YvesDM wrote:<br><br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; Are you absolutely sure that the UPS is connected to /dev/ttyS0? For<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; 'upstype=7' the signals for 'on battery' and 'low battery' are -CTS and<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; -DCD (both zero). I wouldn't be surprized at all if this is the same as
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; nothing connected to the port you're monitoring (although I can't test<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; that right now).<br>&gt; The machine kept rebooting, even with no serial cable to the UPS<br>&gt; connected anymore, so I guess that's a yes?
<br><br>I would say that if it doesn't make a difference whether the serial<br>cable is attached or not, that would be a safe bet, yes. I just checked<br>with genericups monitoring a serial port without anything connected and
<br>as expected, it showed LB OB (low battery and on battery), which would<br>force a system shutdown had upsmon been running:</blockquote><div><br>So, this might have happened here :-)<br></div>[...]<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; That proliant server has a serial A and a serial B RS232, I took serial A.<br><br>If you have a serial loopback plug (or a breakout box), you could check<br>if you can access that port, but looking at your past replies I fear
<br>that you even don't know what I'm talking about right now (no pun<br>intended). I'm not familiar with proliant servers, so I can't offer much<br>more help here.<br><br>[...]</blockquote><div><br>As you feared, I have no idea... 
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; Lesson #3: You really, REALLY, shouldn't experiment with a UPS on a live
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; system... :-)<br>&gt; Yes, Easy to say when the system is already operational. I didn't have<br>&gt; that much choice.<br><br>Disconnecting a UPS from a live server and testing it at a separate<br>workstation is a MUST if you're not absolutely sure the configuration is
<br>correct. I would never use an UPS on a production system without double<br>checking that monitoring works. Otherwise your investment gives you a<br>false sense of security.</blockquote><div><br>Yes I know, the ups gives me some kind of secure feeling when I'm around and awake, but there it ends of course.
<br>That's why I started looking for a solution to make this more easy for me.<br>If I remove the ups in front of the server I feel even less secure then now (as we all know murphy....)<br>But anyway, I will do it in a free day next week and test things out on a spare proliant server I 'm lucky to have right now.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Bottom line is that a UPS should make a power loss to your system<br>predictable, it can't prevent it always, so you MUST check if that
<br>works. Even when monitoring the status of the UPS works, you must still<br>make sure the system shuts down cleanly and reboots when power returns.<br>There is no better way to guarantee that, than to yank the mains cable
<br>from the UPS and see what happens (at a convenient time, that is).</blockquote><div><br>Yes, I know, but I'm scared to screw my raid during unclean shutdowns.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; When in doubt, it is always better to follow the instructions from the<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; genericups man page under the chapter 'TESTING COMPATIBILITY' to prevent<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; inadvertent shutdowns of your system.
<br>&gt; Yes, I guess you're right, but I start to get sick of it.<br><br>You have every reason to. You expected something to work (and if your<br>UPS indeed would have used the SafeNet software, it would, or else give<br>
you an error message that the configuration was not OK) and instead it<br>is giving you all sorts of trouble. Please complain to the company that<br>sold you the UPS (or better yet, to Sweex for providing incorrect<br>information on their website).
</blockquote><div><br>I&nbsp; definately will complain to sweex!&nbsp; I will ask them to send me the manage software for linux.<br>As they claim on their website it's supported.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; As I said before this is a live system and I can't mess with it to much.<br>&gt; I really hope someone can give me the link I 'm missing here.<br>&gt; Otherwise it's better to stop waisting my time on that ups and look for
<br>&gt; another one better supported. MGE?<br><br>If it should 'just work' and you don't find enjoyment in trying to make<br>it work, do yourself a favor and indeed swap it for one that is better<br>supported by the manufacturer (MGE indeed comes to mind, since they
<br>officially sponsor NUT).</blockquote><div><br>Don't get me wrong. I enjoy searching for things and trying to make things work the right way. <br>I would never use opensource if I didn't enjoy this, would I?<br>But this time it's just to critical and I'm to much in a rush to get this working.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt; Suggestions from recent models working without problems are welcome.<br>&gt; I use the stable debian package, nut 
2.0.1-4<br><br>That version is already quite old, we're at 2.0.4 already, with 2.0.5<br>lurking just around the corner.</blockquote><div><br>Yes I know, but I tried to keep the system as much as possible with the stable brand. 
<br>But If it wouls solve my problems I could of course grab nut from unstable or testing. <br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Kind regards,<br>Arjen<br></blockquote></div><br><br>I wish to thank you for the time you spent writing those answers and explaining this to me. <br>It's very appreciated, tnx! <br>Again, if anyone can recommend me an easy-setup MGE ups 
<br>with nut I'll be glad to hear.<br>