Oracle / OCI error
François Prunayre
fx.prunayre at OIEAU.FR
Mon Aug 8 00:01:48 PDT 2005
Hi, question for Oracle users
Mapserver error is :
msDrawMap(): Image handling error. Failed to draw layer named 'CIBA'.
msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI Handlers.
Connection failure. Check the connection string. Error: .
With mapfile :
CONNECTIONTYPE oraclespatial
CONNECTION "zonage/zonage at rnde"
DATA "GEOM FROM CIBA USING UNIQUE ID SRID 41014"
With OGR, same problem
CONNECTION "oci:zonage/zonage at rnde"
CONNECTIONTYPE OGR
DATA "CIBA"
And ogrinfo oci:zonage/zonage at rnde CIBA works fine.
Httpd.conf is :
LoadModule cgi_module modules/mod_cgi.so
#LoadModule fastcgi_module modules/mod_fastcgi.so
<IfModule mod_env.c>
SetEnv TNS_ADMIN "/usr/local/oracle/product/10.2.0/client_1/network/admin"
SetEnv PATH "/usr/local/oracle/product/10.2.0/client_1/bin"
#SetEnv ORACLE_SID rnde
#SetEnv ORACLE_HOME /usr/local/oracle/product/10.2.0/client_1
#SetEnv LD_LIBRARY_PATH
/usr/local/oracle/product/10.2.0/client_1/lib:/usr/local/oracle/product/10.2
.0/client_1
SetEnv NLS_LANG AMERICAN_AMERICA.WE8ISO8859P15 </IfModule>
Any ideas on what is wrong ? I would like to use fastcgi once cgi works.
What do we have to set for fastcgi to work with oracle &mapserver ?
Thanks.
Francois
Office International de l'EAU
Web : http://www.oieau.fr
--
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et
rien de suspect n'a ete trouve.
Les donnees et renseignements contenus dans ce message sont personnels,
confidentiels et prives. Toute publication, utilisation ou diffusion, meme
partielle, doit etre autorisee.
Any data and information contained in this electronic mail is personal,
confidential and secret. Any total or partial publication, use or
distribution must be authorized.
--
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.
Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.
Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized.
More information about the MapServer-users
mailing list