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

Robert Jordan robertj at gmx.net
Wed Oct 14 09:14:07 EDT 2009


ibrahimsteed wrote:
> Thanks for your instant reply.
> I did as you said, and update my httpd.conf as follow, then restart apache2.
> but the same error occurs again. I don't know what cause this
> happen.:confused:
> 
> 
> #some default settings
> 
> MonoSetEnv ORACLE_BASE=/opt/oracle/oradb
> MonoSetEnv ORACLE_HOME=/opt/oracle/oradb/home
> MonoSetEnv ORACLE_SID=imapdb

IIRC, MonoSetEnv must occur only once per application. Otherwise
it would overwrite the previous values. Try this (in one line):

MonoSetEnv 
ORACLE_BASE=/opt/oracle/oradb;ORACLE_HOME=/opt/oracle/oradb/home;ORACLE_SID=imapdb


Robert



More information about the Mono-aspnet-list mailing list