Select to view content in your preferred language

ArcSDE set up for 10.0 fails for oracle 11g post installation

1271
3
01-09-2013 03:00 AM
srumithuplanchiwar
New Contributor
Hi
I was trying to do post installation for ArcSDE for oracle 11g and the first step asked for creation of sde user environment.
The first step failed as the oracle user is shown as sys and it was unable to create tablespace.
By default the user 'sys' is disabled.
We created tablespace and user (sde) by manually running the createsdeoracle sql script in \tools\oracle.
The script was successful and it created the user 'sde' and tablespace and was able to connect this user through oracle client.
The dbf file is created in my c:directory.

Now when i use GUI post installation for second step (Repository set up) and selecting the configurations as default for all the three options(giomgr,dbinit, dbtune) and clicking on 'Next' leads to repository set up for user name , password and net service name.
I gave user: sde, passowrd: sde and net service name as my service name (orcl) and clicking on next throws an exception

Connection to sde failed(0)

Extended error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.

Do i need to set any variables or any jars missing to set.
variables set:
oracle_home:C:\oracle\product\11.2.0\dbhome_1
TNS_ADMIN:C:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN

my tnsnames.ora file

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

listner.ora file

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = yyy))
      (ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1521))
    )
  )

How to resolve the below problem

Connection to sde failed(0)

Extended error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
0 Kudos
3 Replies
VinceAngelo
Esri Esteemed Contributor
Post-install can't function if the Oracle TNS isn't configured correctly (if TNSPING fails,
the setup utility can't connect).

Is the Oracle service local or remote?  The LOCAL variable (TWO_TASK in Unix) is necessary
in dbinit.sde if the Oracle server is remote.

Disabling the SYS user may put a servious crimp in getting ArcSDE functioning (only SYS
can grant access to the SYS packages needed by SDE).

Make sure you patch 10.0 binaries with SP4 or SP5 before postinstall.

- V
0 Kudos
srumithuplanchiwar
New Contributor
Hi
TNSPING ORCL(my service name) worked and status is shown as OK.

Oracle service is local and running on windows, so no need to set the property in dbinit.sde file.


My windows configuration: Windows2008 server r2.

Disabling sys  user: When i GUI post installation the UI wizard shows the user as disabled so I had to manually run the createsdeoracle and in the script the step
prompt * Connect as system/<password> to create the sde
prompt * tablespace and user.
I have used the following credentials:

connect system/adminprd and not used  sys

So whether this would create any problems as per your comment "Disabling the SYS user may put a servious crimp in getting ArcSDE functioning (only SYS can grant access to the SYS packages needed by SDE)"

Iam trying to run the repository set up using GUI and it fails for listener.
so my doubts
a) Script(createsdeoracle) which we used to create tablespace and user sde with the user System is enough to create tablespace or should i use only user Sys

b) Can i use manual steps to create repository as per below link
"http://forums.arcgis.com/threads/47451-Specify-a-valid-port-for-SDE-service-using-i-option-when-inst..."

c) Should i patch  patch 10.0 binaries with SP4 or SP5 before postinstall??
0 Kudos
VinceAngelo
Esri Esteemed Contributor
You also need to do the required grants to DBMS_PIPE, et. al.  Those MUST be done
as SYS or ArcSDE will not function (or install).

The -i flag only applies to user-schema geodatabases, not the initial install of a master
SDE instance.

You should always patch binaries before new install

- V
0 Kudos