[Mono-list] Problem installing service

Petit Eric surfzoid at gmail.com
Mon May 25 10:22:50 EDT 2009


I can't remember exactly, but perhap's in mono-tools :
http://anonsvn.mono-project.com/viewvc/trunk/

also have a look at minimal install :
http://mono-project.com/AnonSVN

2009/5/25 Derek Ekins <derek at spathi.com>:
> Just looking into mono-service some more.
> I have found that I need to run my service in mono-service2 (makes sense it
> is in .net 2).
> This works fine on my local machine, but on my server there is no
> mono-service2.
> On my dev box I have a ton of mono packages installed (2.4 from source)
> On my server I only have a minimal install - from these
> archives http://ftp.novell.com/pub/mono/sources/mono/
> mono-2.4.tar.bz2
> xsp-2.4.tar.bz2
> mod_mono-2.4.tar.bz2
> Is mono-service2 in some other archive?
>
> 2009/5/25 Petit Eric <surfzoid at gmail.com>
>>
>> 2009/5/24 Derek Ekins <derek at spathi.com>:
>> > Thanks for clearing that up.
>> > I take it that it is only meant for windows installs then?
>>
>> Windows work in a differante way, you need to manage some class
>> installer and use similare of one of my batch script :
>>
>> http://clamwinrt.svn.sourceforge.net/viewvc/clamwinrt/ClamWinRT.ConvertedToCs/bin/Debug/
>> >
>> > 2009/5/24 Robert Jordan <robertj at gmx.net>
>> >>
>> >> Derek Ekins wrote:
>> >> > Hi,
>> >> > I am trying to use installutil.exe to install my service.
>> >> >
>> >> > I am getting the following error and I am not sure what to make of it
>> >> > as
>> >> > I
>> >> > have apps on this server that are using the mentioned classes.
>> >> > Any help much appreciated!
>> >> >
>> >> > root at ip-10-226-103-117:/srv/media-app/service# mono
>> >> > /usr/local/lib/mono/2.0/installutil.exe
>> >> > mediaapp.monitoring.service.exe
>> >> >
>> >> > ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The
>> >> > class
>> >> > System.Collections.Generic.IList`1 could not be loaded, used in
>> >> > mscorlib,
>> >> > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
>> >> > Stacktrace:
>> >>
>> >> The error occurs because installutil is compiled only for .NET 1.1.
>> >> Anyways, it won't be able to install your service, because there
>> >> is no service manager in linux.
>> >>
>> >> You'll have more luck with mono-service & and a run level script.
>> >>
>> >> Robert
>> >>
>> >> _______________________________________________
>> >> Mono-list maillist  -  Mono-list at lists.ximian.com
>> >> http://lists.ximian.com/mailman/listinfo/mono-list
>> >
>> >
>> > _______________________________________________
>> > Mono-list maillist  -  Mono-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-list
>> >
>> >
>>
>>
>>
>> --
>>
>> Cordially.
>>
>> Small Eric Quotations of the days:
>>
>> ---------------------------------------------------------------------------
>> If one day one reproaches you that your work is not a work of
>> professional, say you that:
>> Amateurs built the arch of Noah, and professionals the Titanic.
>>
>> ---------------------------------------------------------------------------
>>
>> Few people are done for independence, it is the privilege of the powerful
>> ones.
>>
>> ---------------------------------------------------------------------------
>>
>> No key was wounded during the drafting of this message.
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
>



-- 

Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------

Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------

No key was wounded during the drafting of this message.


More information about the Mono-list mailing list