[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    Re: [Mono-list] Mono service works with --debug only
From:       Julien Sobrier <julien () sobrier ! net>
Date:       2008-05-28 1:05:44
Message-ID: 483CAFE8.6080408 () sobrier ! net
[Download RAW message or body]

Daniel Nauck wrote:
> Hello,
>
> what version of Mono are you using?
> Do you use the dash shell?
>
> I fixed a such a problem for Mono 1.9 on Ubuntu's dash shell:
> http://lists.ximian.com/pipermail/mono-patches/2008-January/108859.html
>
>
> Daniel
>
> Julien Sobrier schrieb:
>> Hello,
>> I have a mono service that works well when I launch it with the --debug
>> argument:
>> mono-service2 -l:/var/run/ptestt-lock /usr/lib64/test/Test.exe --debug
>>
>> But when I run it without the --debug argument, the lock file is not
>> created, the service does not appear in "ps -ef", and there is nothing
>> in syslog. What can I do to debug the issue?
>>
>> Thank you
>>
>>
Hello,
it was actually a bug in the mono RPM from CentOS5. In mono=-service2:
if $debug; then
   exec /usr/bin/mono $MONO_OPTIONS
`/usr/bin/monodir`/2.0/mono-service.exe $arg
s
else
   exec /usr/bin/mono $MONO_OPTIONS
`/usr/bin/monodir`/2.0/mono-service2.exe $ar
gs </dev/null >& /dev/null &
fi

Note that in debug, it references mono-service.exe, otherwiase it calls
mono-service2.exe which does not exist.

Thank you
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic