POST
|
Hi , I have installed arcgis server 10.2 on linux machine and create an geodatabase. I want to use command line to call sde functions but not with sql. How can i do that. Is there such a service for arcgis server 10.2. Thanks.
... View more
04-01-2015
02:54 AM
|
0
|
0
|
3601
|
POST
|
Actually it is the only library that i need to use. And lsnrctl restart takes a lot of time because of some required procedures. I will remove the file reference from listener.ora. the file path will be in only extproc.ora file as in the esri documantation. Than i will try it i let you know about results. Before listener restart my listener file LISTENER= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1525)) (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC732)))) # line added by Agent SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = PGEO01) (ORACLE_HOME = /mypath/dbhome_1) (SID_NAME = PGEO01) ) ) #----ADDED BY TNSLSNR 19-FEB-2014 16:45:13--- PASSWORDS_LISTENER = 580EB7AB802BE1AA #-------------------------------------------- LISTENER_+ASM= (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = geopdb2)(PORT = 1525)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1525)) ) ) ADR_BASE_LISTENER = /u01/app/grid ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent SECURE_REGISTER_LISTENER = (TCP) and my tnsnames.ora file as below: LISTENER_+ASM = (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1525)) PGEO01= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=xxx.xxx.xxx.xxx) (PORT=1525) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME=PGEO01) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC732)) ) (CONNECT_DATA = (SID =PLSExtProc) (PRESENTATION = RO) ) ) and i add following line to extproc.ora file. SET EXTPROC_DLLS=ONLY:/mypath/libst_shapelib.so do you see any thing wrong ? Thank you for your help.
... View more
03-31-2015
05:17 AM
|
0
|
0
|
1551
|
POST
|
Hi, I am confused, you have reference to library in your listener file. Is it because you have different oracle version or shall i do the same. ? Thanks
... View more
03-31-2015
05:04 AM
|
0
|
2
|
1551
|
POST
|
Hi I made the changes described in the link that you gave. I basically add line -SET EXTPROC_DLLS=ONLY:/mypath/libst_shapelib.so But the error remained same. When i tried to call st_function like st_asText or any other i got this error. I checked the file location. Error:ORA-28575: unable to open RPC connection to external procedure agent Do you have any idea why i am getting this error. Here is my lsrnctl status result: STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production Start Date 30-MAR-2015 19:47:42 Uptime 0 days 15 hr. 32 min. 42 sec Trace Level off Security ON: Password or Local OS Authentication SNMP OFF Listener Parameter File /mypath/listener.ora Listener Log File /mypath/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xx.xxx.xxx)(PORT=1525))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM", status READY, has 1 handler(s) for this service... Service "PGEO01" has 2 instance(s). Instance "PGEO01", status UNKNOWN, has 1 handler(s) for this service... Instance "PGEO01", status READY, has 1 handler(s) for this service... Service "PGEO01XDB" has 1 instance(s). Instance "PGEO01", status READY, has 1 handler(s) for this service... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully Thanks.
... View more
03-31-2015
01:22 AM
|
0
|
4
|
1551
|
POST
|
Hi sory for late reply. I imported some big tables from geodatabase 1 to geodatabase 2. And their srid is set to 300002. Its actually okey because except the id the rest is same in st_spatial_references. But there are some batch processes running on the geodatabase 1 will run on geodatabase 2 so i need to convert all geographic collumns' s srid to 6. Is it safe to create an entry in st_spatial_references with srid 6 and run query like sde.st_transform(collumn_name,6). I thought that when i import tables it's srid value shall remain the same why it is different. Is it because two geodatabases are different versioned(10.0 10.2) or is it because there is not entry in spatial references table with srid 6, it creates one assign id in accordance with a rule.,
... View more
03-30-2015
06:56 AM
|
0
|
1
|
1107
|
POST
|
Hi I know that there is a lot of discussion about this error. But when i tried to apply the sollution presented, i still get the same error. Here is my problem definition. I have -2.6.18-371.6.1.el5 GNU/Linux 64 bit -Oracle 11.2.0 -Arcgis 10.2 installed. I create a geodatabase using arccatolog software, and after that i import some tables to this geodatabase. However when i try to use some functions of this geodatabase such as st_astext i get "unable to open RPC connection to external procedure agent" error. The complete error list is given below. ORA-28575: unable to open RPC connection to external procedure agent ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 67 ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 118 28575. 00000 - "unable to open RPC connection to external procedure agent" I checked for this error and found out that oracle requires some configurations for calling functions from extarnal libraries.In this case the library is libst_shapelib.so. I tried to make some configrurations in accordance to oracle documantation. The content of listener.ora, tnsnames.ora and extrproc.ora is given below. listener.ora ID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /u01/app/oracle11/product/11.2.0/dbhome_1) (PROGRAM = extproc) ) (SID_DESC = (GLOBAL_DBNAME = PGEO01) (ORACLE_HOME = /u01/app/oracle11/product/11.2.0/dbhome_1) (SID_NAME = PGEO01) ) (SID_DESC = (SID_NAME = PLSExtProcSDE) (ORACLE_HOME = /u01/app/oracle11/product/11.2.0/dbhome_1) (PROGRAM = extproc) (ENVS="EXTPROC_DLLS=/geocode/arcgis/server/lib/libst_shapelib.so") ) (SID_DESC = (SID_NAME = xxxxxx) (ORACLE_HOME = /u01/app/oracle11/product/11.2.0/dbhome_1) (PROGRAM = dg4odbc) (ENVS="LD_LIBRARY_PATH=/u01/app/oracle11/product/11.2.0/dbhome_1/bin") ) ) LISTENER = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xx.xxx.xx)(PORT = 1525)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROCSDE1528)) ) #----ADDED BY TNSLSNR 19-FEB-2014 16:45:13--- PASSWORDS_LISTENER = xxxxxxxxxxx #-------------------------------------------- tnsnames.ora PGEO01= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=xxx.xx.xxx.xxx) (PORT=1525) ) (CONNECT_DATA= (SERVER = DEDICATED) (SERVICE_NAME=PGEO01) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROCSDE1528)) ) (CONNECT_DATA = (SID =PLSExtProcSDE) (PRESENTATION = RO) ) ) PGSQL = (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xx.xxx.xxx)(PORT=1525)) (CONNECT_DATA = (SID = xxxxx)) (HS = OK) ) extproc.ora -I tried all options below: SET EXTPROC_DLLS= SET EXTPROC_DLLS=ANY SET EXTPROC_DLLS=ONLY:/dddd/arcgis/server/DatabaseSupport/Oracle/Linux64/lib After changing this files. I got the same error. As error indicates that there are 3 possibilities for this error. - Something wrong in tnsnames or listener. ora files -Incorrect keys or not matching -Network issues -Or the library is corrupted. I still think that i dis some mistake in the tnsnames and listener . ora file configuration. But i do not know where is the mistake can you help me . one final note: my lsnrctl status output is: Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xx.xx.xxx)(PORT=1525))) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM", status READY, has 1 handler(s) for this service... Service "PGEO01" has 1 instance(s). Instance "PGEO01", status READY, has 1 handler(s) for this service... Service "PGEO01XDB" has 1 instance(s). Instance "PGEO01", status READY, has 1 handler(s) for this service... The command completed successfully Thank You for your Time
... View more
03-30-2015
06:48 AM
|
0
|
6
|
6491
|
POST
|
Hi, Here is my case. I had 2 geodatabases. Second one is created later. And i import all tables in geodatabase-1 to geodatabase-2 by using ArcCatolog. I use srid 6 for my geodatabase 1 and its kind of a standart. But in geodatabase 2 the tables and indexes are imported with an different srid. I have to change srid of all geometry collumns and spatial indexes to 6. First i checked ST_spatial_references table for srid 6 and couldnt find it. There is srid 30002 with same content with srid 6 in geodatabase 1. Then i create an entry in ST_Spatial_references table manually for srid 6. After that I tried to create a spatial index with following query. CREATE INDEX SDE.INDEX_NAME ON SDE.TABLE_NAME (SHAPE) INDEXTYPE IS SDE.ST_SPATIAL_INDEX PARAMETERS('st_grids=1:0:0 st_srid=6') NOPARALLEL; and get this error. ORA-20085: Different SRID '6' do not match. I need to create and srid entry with id 6 properly. And change all the tables and spatial indexes set to srid 6. Can anyone help me? Note: srid 30002 and 6 has exactly same content in ST_SPATIAL_REFERENCES table except the id collumn. Thank You.
... View more
03-25-2015
02:42 AM
|
0
|
3
|
4390
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|