Hey didn't know before there is an install service tool, i use a simple script (init.d one ) : mono-service MyService.exe --arg
2009/5/24 Derek Ekins <de...@spathi.com>: > 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! > > r...@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: > > at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) > <0x00004> > at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) > <0xffffffff> > at System.Reflection.Assembly.GetTypes () <0x00018> > at InstallUtil.Perform (bool,string) <0x000fd> > at InstallUtil.Install (string) <0x00012> > at InstallUtil.Main (string[]) <0x004b6> > at (wrapper runtime-invoke) InstallUtil.runtime_invoke_int_object > (object,intptr,intptr,intptr) <0xffffffff> > > Native stacktrace: > > mono [0x80cbd64] > mono [0x80f66fb] > [0x438440] > mono [0x815c79c] > mono [0x815d6e7] > mono [0x815e854] > mono(mono_class_init+0x744) [0x815f004] > mono(mono_type_get_object+0x14a) [0x81478aa] > mono [0x818016b] > mono [0x8183ad4] > [0x162ce2] > [0x162ca9] > [0x161d46] > [0x161c2b] > [0x161b27] > [0x161203] > mono(mono_runtime_exec_main+0x16e) [0x811fc5e] > mono(mono_runtime_run_main+0x16b) [0x812037b] > mono(mono_main+0x18f2) [0x80b3772] > mono [0x805af31] > /lib/tls/i686/nosegneg/libc.so.6(__libc_start_main+0xe5) [0xafb775] > mono [0x805ae61] > > Debug info from gdb: > > > ================================================================= > Got a SIGSEGV while executing native code. This usually indicates > a fatal error in the mono runtime or one of the native libraries > used by your application. > ================================================================= > > Aborted > > > _______________________________________________ > Mono-list maillist - mono-l...@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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list