On Thu, Jun 5, 2008 at 10:11 AM, Ingmar Stieger <[EMAIL PROTECTED]> wrote:
> Luis Lavena wrote:
>>
>> 32bits or x64 editions?
>>
>
> Windows 2003 32bit.
>>
>> In any case, serviceFB.log and mongrel.log and mongrel_service.log
>> should be stored into ruby/bin folder since was not possible by the
>> service point to the directory of the service.
>>
>
> Thanks for the hint of using mongrel_service 0.3.3. I get these log files
> now:
>
> servicefb.log:
>
> _initialize() constructor
> _initialize() constructor done
> ServiceProcess(new_name)
> ServiceProcess(new_name) done
> ServiceHost()
> ServiceHost() done
> ServiceHost.Add()
> _add_to_references()
> _add_to_references() done
> ServiceHost.Add() done
> ServiceController.RunMode()
> CurrentPID: 5108
> ParentPID: 512
> Error with OpenProcess
> GetLastError: 0The operation completed successfully.
> Parent Name:
> ServiceController.RunMode() done
> ServiceHost() destructor
> ServiceHost() destructor done
> ServiceProcess() destructor
> ServiceProcess() destructor done
> _terminate() destructor
> _terminate() destructor done
>
> mongrel_service.log:
>
> # Logfile created on 05.06.2008 09:51:06
>
> native/mongrel_service.bas:44, mongrel_service.singlemongrel.constructor:
>  redirecting to: c:\ruby\bin\mongrel.log
>
> Not very helpful - OpenProcess fails with no apparent error.
>>

Because it couldn't get parent process name.

>> I suggest you also try the psexec tool from Sysinternals and also
>> runas program (builtin in Windows) to get more detail information.
>>
>
> Could you please explain what you want me to do ? I think I  have ran
> everything I can using psexec and as the actual service user (explained in
> my initial post). If there is something else, I will happily run it :). On
> the other hand, since it works using these two methods, no error message
> will appear. Only the service itself can not be started.

On this ticket:

http://rubyforge.org/tracker/?func=detail&atid=5145&aid=10820&group_id=1306

You can use PsExec tool [1] to simulate another user and remove
administrative privileges for testing:

You can search the mailing list and other tickets that explain how to
perform it (was discussed several times).

Can you provide the 'sc queryex' and 'sc qc' for your service and
pastie it here?


[1] http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to