[Mono-list] serving off solaris

Michael stuff@dustsmoke.com
Tue, 11 May 2004 13:31:13 -0700 (MST)


I am having issues with mod_mono (both beta1 and cvs as of May 11) on
apache   solaris/sparc. I get the following error trying to start apache

/usr/local/apache2/bin/apachectl start
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libmod_mono.so into server:
ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/modules/libmod_mono.so: symbol setenv: referenced
symbol not found


I also tried running xsp and recieved a totally different error:

xsp error

mono /usr/local/bin/xsp.exe --root . --applications /mono:.
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: /usr/local/apache2/htdocs/test
Hit Return to stop the server.
System.TypeInitializationException: An exception was thrown by the type
initiali
zer for System.Runtime.Remoting.Lifetime.LifetimeServices

Server stack trace:
in (unmanaged)
System.Runtime.Remoting.Lifetime.LifetimeServices:get_LeaseTime (
)
in <0x00028> System.Runtime.Remoting.Lifetime.Lease:.ctor ()
in <0x00084> (wrapper remoting-invoke-with-check)
System.Runtime.Remoting.Lifeti
me.Lease:.ctor ()
in <0x00024> System.MarshalByRefObject:InitializeLifetimeService ()
in <0x00008>
System.Runtime.Remoting.ObjectHandle:InitializeLifetimeService ()
in <0x00098>
System.Runtime.Remoting.RemotingServices:CreateClientActivatedServe
rIdentity (System.MarshalByRefObject,System.Type,string)
in <0x003fc> System.Runtime.Remoting.RemotingServices:Marshal
(System.MarshalByR
efObject,string,System.Type)
in <0x00010> System.Runtime.Remoting.RemotingServices:Marshal
(System.MarshalByR
efObject)
in <0x001bc>
System.Runtime.Remoting.Messaging.CADMessageBase:MarshalArgument (o
bject,System.Collections.ArrayList&)
in <0x000c8>
System.Runtime.Remoting.Messaging.CADMethodReturnMessage:.ctor (Sys
tem.Runtime.Remoting.Messaging.IMethodReturnMessage)
in <0x0014c>
System.Runtime.Remoting.Messaging.CADMethodReturnMessage:Create (Sy
stem.Runtime.Remoting.Messaging.IMessage)
in <0x000c8> System.AppDomain:ProcessMessageInDomain
(byte[],System.Runtime.Remo
ting.Messaging.CADMethodCallMessage,byte[]&,System.Runtime.Remoting.Messaging.CA
DMethodReturnMessage&)
in <0x000dc> (wrapper remoting-invoke-with-check)
System.AppDomain:ProcessMessag
eInDomain
(byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&
,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
in <0x00050>
System.Runtime.Remoting.Channels.CrossAppDomainSink:ProcessMessageI
nDomain (byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage)


Exception rethrown at [0]:
 ---> System.OverflowException: Resulting timespan is too big.
in <0x00298> System.TimeSpan:FromMilliseconds (double)
in <0x0005c> System.TimeSpan:FromSeconds (double)
in <0x0005c> System.Runtime.Remoting.Lifetime.LifetimeServices:.cctor ()
--- End of inner exception stack trace ---


Someone please tell me there is hope for my plight of a working mod_mono
on solaris9