[Nut-upsuser] Segmentation fault

2006-11-11 Thread Magnus Johansson
Hi! I'm running NUT 2.0.4 and occasionally I get a segfault when starting newhidups and if I don't get a segfault when starting newhidups the process starts eating away at my memory. I sat down trying to genererate -D debug info, but just because of that I can't get it to do a segfault.

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-11 Thread YvesDM
On 11/10/06, Arjen de Korte [EMAIL PROTECTED] wrote:[...] If you're willing to try a few more things, comment out the part in theNUT startup script where 'upsmon' is started/stopped and fire it up. With'upsc [EMAIL PROTECTED]' you should be able to see the status of the UPS, without the risk of

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-11 Thread YvesDM
Ok, I 've done some more testing. I did comment out the upsmon entry in /etc/default/nut Then loaded the driver like: /lib/nut/genericups -x upstype=7 /dev/ttyS0It loaded and according syslog:Nov 11 10:19:47 radius1 genericups[8469]: Startup successfulHowever when I tried: radius1:/etc/nut# upsc

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-11 Thread YvesDM
On 11/11/06, YvesDM [EMAIL PROTECTED] wrote: [...] We move on... Ok, I think it's working. The problem was the serial cable. I had 2, one came with the ups, the other came with another ups. During my tests I changed the original cable with the other one. I never changed it back, thinking they

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-11 Thread Charles Lepple
On 11/11/06, YvesDM [EMAIL PROTECTED] wrote: I don't know if the ups will actually shutdown the system now on low battery. If the status changes to OB LB, then it should shut your system down (assuming everything else is still configured properly). upsc ain't showing much information on the

Re: [Nut-upsuser] Segmentation fault

2006-11-11 Thread Peter Selinger
Yes, this has been fixed some time ago in the SVN version. -- Peter Magnus Johansson wrote: Hi! I'm running NUT 2.0.4 and occasionally I get a segfault when starting newhidups and if I don't get a segfault when starting newhidups the process starts eating away at my memory. I sat down

Re: [Nut-upsuser] Sweex 1000VA UPS

2006-11-11 Thread Arjen de Korte
YvesDM wrote: Ok, I think it's working. The problem was the serial cable. That why I recommended to try it under Windows with the bundled software, to rule out a problem like this. I had 2, one came with the ups, the other came with another ups. During my tests I changed the original cable