[Mono-aspnet-list] Could not allocate the Oracle environment

nzsaint chrisbrown76 at hotmail.com
Thu Oct 22 03:31:26 EDT 2009




ibrahim steed wrote:
> 
> what does "before line " mean?
> 

I just encountered this error on a new system I setup for development
purposes after cloning the hard disk of my original (for some reason it
wasn't occuring on the original). What adler5 meant was to modify your
'mod-mono-server2' script file (in my case at /opt/mono/bin) so it reads
similar to as follows:

#!/bin/sh
export ORACLE_SID=XE
export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
exec /opt/mono/bin/ $MONO_OPTIONS
"/opt/mono/lib/mono/2.0/mod-mono-server2.exe" "$@"

N.B The paths on your system will vary and you may need to export more
variables than I did (just 3) as adler5 listed.

-- 
View this message in context: http://www.nabble.com/Could-not-allocate-the-Oracle-environment-tp25853066p26005275.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list