Hi,

2009/6/13 Dan Daniels <sdsurfgeek / gmail.com>:
>
> Having an issue with win32-service, it works on most 2003 servers I've
> tried, but on several, it segfaults.
>
> Platform: Windows Server 2003, Standard Edition Build 3790 Service Pack
> 2, I have other servers of the same level and they work fine.
>
>
> require 'rubygems'
> require 'win32/service'
> require 'win32ole'
>
> include Win32
>
> host = 'mps-bes1'
>
> Service.services( host, "" ){ |s|
> puts s.display_name
> puts ""
> }
>
> c:\>ruby check_services_test.rb
> Application Experience Lookup Service
>
> Alerter
>
> Application Layer Gateway Service
>
> Application Management
>
> ASP.NET State Service
>
> RAS Asynchronous Media Driver
>
> Audio Stub Driver
>
> BlackBerry Attachment Service
>
> Background Intelligent Transfer Service
>
> BlackBerry Controller
>
> BlackBerry Database Consistency Service
>
> BlackBerry Dispatcher
>
> c:/ruby/lib/ruby/gems/1.8/gems/win32-service-0.6.1-x86-mswin32-60/lib/win32/serv
> ice.rb:1100: [BUG] Segmentation fault
> ruby 1.8.6 (2007-09-24) [i386-mswin32]
>
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
>
>
> Ideas?
>
More information is needed for debugging this bug.
What's the output of sc.exe ?

sc.exe \\mps-bes1 query


Regards,

Park Heesob