ibrahimsteed wrote: > > So could you please tell me how to set the env vars above with MonoSetEnv? >
As in the example Robert linked to I had the same problem with a Windows Service. I added the required environment variables using 'export' in my service init script. My understanding according to the documentation is that you can do the same with 'MonoSetEnv' for mod_mono e.g >From the shell/script it would be: export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle Equivalent for mod_mono would be to add the following to your httpd.conf (based on the example you gave): MonoSetEnv ORACLE_BASE=/usr/lib/oracle/xe/app/oracle So probably something like (actual values may differ on your system): MonoSetEnv ORACLE_SID=XE MonoSetEnv ORACLE_BASE=/usr/lib/oracle/xe/app/oracle MonoSetEnv ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server These were the three values I required to resolve this error on my system. -- View this message in context: http://www.nabble.com/Could-not-allocate-the-Oracle-environment-tp25853066p25867800.html Sent from the Mono - ASP.NET mailing list archive at Nabble.com. _______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list