My apologies, I don't know why my brain is stuck on NTPD, I meant UPSD. Regards Ge-org Brohammer -----Original Message----- From: Nut-upsuser [mailto:nut-upsuser-bounces+ge-org=kingbro.co.za at lists.alioth.debian.org] On Behalf Of Ge-org Brohammer Sent: 28 June 2013 01:06 PM To: nut-upsuser at lists.alioth.debian.org Subject: [Nut-upsuser] Server 2012 - 64bit NTPD Crash Good day I?m trying to get NUT working on Server 2012 64-bit. I can start the ntpd but as soon as I connect with upsc, the NTPD process exits with the following debug output: c:\Program Files (x86)\NUT\sbin>upsd -DDDD Network UPS Tools upsd 2.6.5-3780M 0.000000 listen_add: added 127.0.0.1:3493 0.000000 listen_add: added ::1:3493 0.015599 setuptcp: try to bind to ::1 port 3493 0.015599 listening on ::1 port 3493 0.031199 setuptcp: try to bind to 127.0.0.1 port 3493 0.031199 listening on 127.0.0.1 port 3493 0.046800 Connected to UPS [sspro]: blazer_usb-sspro 0.046800 Can't open c:\Program Files (x86)\NUT\sbin\..\etc/upsd.users: No such file or directory 0.062400 mainloop: wait for 4 filedescriptors 0.062400 mainloop: wait for 4 filedescriptors 0.062400 mainloop: wait for 4 filedescriptors 0.078001 mainloop: wait for 4 filedescriptors 0.078001 UPS [sspro]: dump is done 0.078001 mainloop: wait for 4 filedescriptors 2.106025 mainloop: no data available 2.106025 mainloop: wait for 4 filedescriptors 4.118453 mainloop: no data available 4.118453 mainloop: wait for 4 filedescriptors 6.130872 mainloop: no data available 6.130872 Pinging UPS [sspro] 6.130872 mainloop: wait for 4 filedescriptors 6.130872 Got PONG from UPS [sspro] 6.146471 mainloop: wait for 4 filedescriptors 8.158900 mainloop: no data available 8.158900 mainloop: wait for 4 filedescriptors 10.171323 mainloop: no data available 10.171323 mainloop: wait for 4 filedescriptors 12.183748 mainloop: no data available 12.183748 Pinging UPS [sspro] 12.183748 mainloop: wait for 4 filedescriptors 12.183748 Got PONG from UPS [sspro] 12.199343 mainloop: wait for 4 filedescriptors 14.211771 mainloop: no data available 14.211771 mainloop: wait for 4 filedescriptors 16.224669 mainloop: no data available 16.224669 mainloop: wait for 4 filedescriptors 18.236619 mainloop: no data available 18.236619 Pinging UPS [sspro] 18.236619 mainloop: wait for 4 filedescriptors 18.236619 Got PONG from UPS [sspro] 18.252214 mainloop: wait for 4 filedescriptors 20.264640 mainloop: no data available 20.264640 mainloop: wait for 4 filedescriptors 22.277065 mainloop: no data available 22.277065 mainloop: wait for 4 filedescriptors 24.289489 mainloop: no data available 24.289489 Pinging UPS [sspro] 24.289489 mainloop: wait for 4 filedescriptors 24.289489 Got PONG from UPS [sspro] 24.305085 mainloop: wait for 4 filedescriptors 25.802710 mainloop: wait for 4 filedescriptors 25.802710 mainloop: wait for 4 filedescriptors 27.815132 mainloop: no data available 27.815132 mainloop: wait for 4 filedescriptors 27.815132 mainloop: wait for 4 filedescriptors 27.830726 mainloop: wait for 4 filedescriptors 29.827554 mainloop: wait for 4 filedescriptors 29.827554 mainloop: wait for 4 filedescriptors 31.839977 mainloop: no data available 31.839977 mainloop: wait for 4 filedescriptors 31.839977 mainloop: wait for 4 filedescriptors 31.855574 mainloop: wait for 4 filedescriptors 33.868007 mainloop: no data available 33.868007 mainloop: wait for 4 filedescriptors 35.880428 mainloop: no data available 35.880428 mainloop: wait for 4 filedescriptors 37.892846 mainloop: no data available 37.892846 Pinging UPS [sspro] 37.892846 mainloop: wait for 4 filedescriptors 37.892846 Got PONG from UPS [sspro] 37.892846 mainloop: wait for 4 filedescriptors 39.889669 mainloop: wait for 4 filedescriptors 39.889669 mainloop: wait for 4 filedescriptors 41.902097 mainloop: no data available 41.902097 mainloop: wait for 4 filedescriptors 41.902097 mainloop: wait for 4 filedescriptors 41.902097 mainloop: wait for 4 filedescriptors 43.930119 mainloop: no data available 43.930119 mainloop: wait for 4 filedescriptors 45.942539 mainloop: no data available 45.942539 mainloop: wait for 4 filedescriptors ?--- Connecting with upsc at this moment 46.238943 Out of memory: No such file or directory [The system detected an invalid pointer address in attempting to use a pointer argument in a call. ] c:\Program Files (x86)\NUT\sbin> Any feedback would be much appreciated. Regards Ge-org Brohammer _______________________________________________ Nut-upsuser mailing list Nut-upsuser at lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
On Jun 28, 2013, at 7:40 AM, Ge-org Brohammer wrote:> 0.046800 Connected to UPS [sspro]: blazer_usb-sspro > 0.046800 Can't open c:\Program Files > (x86)\NUT\sbin\..\etc/upsd.users: No > such file or directory[...]> ?--- Connecting with upsc at this moment > 46.238943 Out of memory: No such file or directory [The system > detected an invalid pointer address in attempting to use a pointer argument > in a call. > ]These things shouldn't be connected, but what happens if you create an empty upsd.users file in the etc directory? I'm grasping at straws here. Unfortunately, our Windows branch maintainer has been MIA for a bit. Maybe someone else with a similar system can offer some more debugging suggestions. -- Charles Lepple clepple at gmail