SDE Tech Note 103: Troubleshooting installation of SDE for Oracle on Windows NTLast Update: 9/2/98 Known errors and solutions, work-arounds: SDE Service fails to start after reboot (Oracle) 406: COMPATIBLE parameter needs to be %s or greater 933: Error creating VERSION table. (-51), DBMS error code: 933 1017: init_DB DB_connect error: -51: DBMS error code: 1017: invalid username/password 1019: init_DB DB_connect error: -51, DBMS error code: 1019 1060: Service does not exist 1068: Dependency service not running 1069: Logon Failure 1072: Registry was busy 1075: NT service failure 2140: "Internal windows NT ..." 2186: "service not responding to control function" SDEHOME location was not found You do not have Administrator access SDE Servers do not appear to be licensed. Unable to initialize subprogram handling, error = -1 VERSION table created...Previous SDE Server Version 2.0.0 is not compatible with the current Version 3.0.0. Miscellaneous What services need to be running? Trouble starting SDE on non-domain system Licence Usage Error 0193: %1 is not a valid Windows NT application. Troubleshooting startup problems
SDE Service fails to start after reboot (Oracle) There is a known problemsde with Oracle service on NT where it reports to service control manager that it is up and running before it has finished initialization process. Hence, SDE service fails when it tries to connect to oracle server. Workaround: Make the SDE service a manual service and wait for oracle to complete its initialization process after reboot and then manually start the service. Contact technical support for the update on a possible patch from oracle. 406: COMPATIBLE parameter needs to be %s or greater Is there any way to test an Oracle installation to be sure it is setup properly. I was at a client site showing them how to load layers into Oracle and continue to get a compatibility Error 406 and layer cannot be put into normal io mode. Is this a SDE caused error or an underlying Oracle problem? Error 406 says: oerr ora 406 There's a COMPATIBLE in your init*.ora files that may need to be set differently or perhaps commented out. Mine looks like compatible = 7.3.0.0 1017: init_DB DB_connect error: -51: DBMS error code: 1017: invalid username/password The username/password combination used was invalid. For some commands, like "sdemon -o start -p password", the username is assumed to be the RDBMS user "SDE". The SDE Oracle user: MUST exist before starting SDE. (This user will own the VERSION and LAYERS tables.) MUST be named "SDE". (SDE software hard-codes this username.) MUST be granted CONNECT and RESOURCE. Should have its own private tablespace. init_DB DB_connect error: -51, DBMS error code: 1019 Question: Why does SDE fail to start with error 1019: % sdemon -o start set ORACLE_HOME=/one-tree2/app/oracle/product/7.3.2
1060 Service does not exist
absolutely baffeled by its statement "The specified service does not exist as an installed service" and does not know where to turn for a solution. Here are some things to consider. First, this error means that this is a Registry problem. For some reason the service entry, "esri_sde 5150/tcp", in either the /winnt/system32/drivers/etc/service or %SDEHOME%\etc\service or both may not been seen. If this is the case then the solution is simple, put it in. It may also be that your reference points in some of the following folders may not be pointing correctly. Look at: HKEY_LOCAL_MACHINE SOFTWARE ESRI SDE SDE version 3.0.2 for Oracle Make sure that all of the five parameters are set to the correct directories, client, server, group, and installer (check it against one that works). esri_sde Check and to make sure that license server, description, and SDEHOME are pointing to the correct setting. Also: HKEY_LOCAL_MACHINE SOFTWARE ESRI SDE SDE version 3.0.1 for SQLServer Make sure that all of the five parameters are set to the correct directories, client, server, group, and installer (check it against one that works). esri_sde Check and to make sure that license server, description, and SDEHOME are pointing to the correct setting. HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services esri_sde Check and make sure that in the ImagePath variable, that the giomgr.exe exists in the bin directory. In some NT configurations the ImagePath variable has a hard time seeing the executable because it doesn't recognize the "space" between the words "Program Files". In this case have the customer re-install the SDE software but not take the default of <drive>:\Program Files\ESRI\sde...... Have them put it at a neutral directory like <drive>:\sde301\.... Also by default the DependOnGroup variable is set to "blank". However, when you use the SDESERVICE command with the "-d" option, this is where this variable gets filled. So it should either be "blank", SQLSERVER, or ORACLE,ORCL in it, nothing else. And last but not least, if you are dealing with an SQL Server client, make sure that they have set up the SDE account correctly and that SDE is the owner with all the correct privledges to the database. If its anything else, its sure to return the NT 1060 error too. 1068 Dependency service not running Dependency check is unreliable ... ...I've done the SDE for SQL Server on several NT machines, and determined that the dependency check makes the setup script unreliable. In other words, some times after the install when you try to start the SDE Service the service control manager will immediately return error 1068, "Dependency ... not runningsde". As a work around, I use sdeservic, which always works... Could not start the SDE service (esri_sde) service on \\sabre The Event Viewer indicates that the SDE service did not start because the Net Logon service did not start. Attempting to start the Net Logon service from the Services panel got something like this message... Could not start the Net Logon service on \\sabre. The user has installed and started SDE for NT before, but using Beta 1 or 2. This is his first "final" release Spoke to development, who suggested changing the start-up parameters for the SDE Service to the SDE user (from System.) This made no difference, unfortunately. I had received some e-mail suggesting that the service logon for the SDE Service be set to System. This did not help. He has found new log files in SDEHOME\etc: sdelic.log and giomgr.log. He is e-mailing these to me. 1069 Logon Failure
1072 Registry was busy
"NT service failure: error 1075" and "Could not start SDE -- Check Network, $SDEHOME disk and DBMS" Ran sdemon -o start got the error messages: "Couldn't start esri_sdeservice(1075) DESCRIPTION "SDE Service(esri_sde)" 10) My hostname is gauss (gauss.hnit.is) Delete the service and try the following: sdeservice -o create -p sde -l gauss -d ORACLE,ORCL Where "ORCL" is the oracle sid. Good thinking. This solved the problem and sde started successfully with sdemon -o start!. We had switched the "-d" option on sdeservice to optional, allowing TWO_TASK operation. But it's not optional in a non-TWO_TASK installation. sdeWe will update the documentation and modify the command to produce a useful error message. 2140 "Internal windows NT ..."
Question: Why am I getting a 2140 "Internal windows NT ..." error? Cause: 1.) According to the README: 2.) The 2140 error generally means that the service, SDE, was launched by the Some place during the connection process the giomgr had tried, but had The sde.errlog or the giomgr.log sdecan sometimes indicate problems like Unless the 'sde' password that you gave when using sdeservice was bogus, Check your 'sde' priv's in Oracle and any configuration issues (e.g. 3.) Another cause of Error 2140: "An internal Windows NT error occurred.", is HKEY_LOCAL_MACHINE Check this value and see what it is. (Additional comment from user) 4.) There is a known-limit SDBsn64250 SDE 3.0.1 NT server has a limitation in the maximum path length (32 You would notice problem due to this limitation when you see a message in Your SDEHOME path could have too many characters. Try a "simple" SDEHOME 5.) (Other comments from users) Related Documents: C:\sde301\oraexe\sdeexe30\Readme.wri - Monday, January 26, 1998 3:53:26 PM 2186 "service not responding to control function" (from the 3.0.2 readme) SDEHOME location was not found SDE 3.0.1 NT server has a limitation in the maximum path length (32 characters) that can be set for SDEHOME. Unfortunately we couldn't catch it before 3.0.1 final and apologize for any inconvenience. This problem has been fixed for future releases. You would notice problem due to this limitation when you see a message in the event log indicating that SDEHOME location was not found even though your sdehome location in registry had a valid entry. SDE Servers do not appear to be licensed
Project: keycode Enclosures: ========== Description ========== If you try and start sdemon without the variable LM_LICENSE_FILE you get the following error: starlifter[sde]: sdemon -o start -p sde SDE Servers do not appear to be licensed. Licensing failure, unable to continue. Simply by setting LM_LICENSE_FILE it then works LM_LICENSE_FILE should not be required, we should be able to just copy the license.dat into $SDEHOME/sysgen (which is what I did). Product: SDE 3.0 Platform: all <---- THIS IS NOT TRUE. UNIX ONLY IN THIS CASE Question: Why does SDEMON fail to start with the following error: SDE Servers do not appear to be licensed. Licensing failure, unable to continue. Cause: Answer: Set LM_LICENSE_FILE environment variable. Notes: The documentation for this is a bit obscure, its in the CD booklet Installation Guide Related Documents: See SDBsn56505 and SDBsn55711 SDE 3.0.1 Pre-release could not start Wandered through his system. Found LM_LICENSE_FILE in system You do not have Administrator access
1.0 IMPORTANT.Using domain users in setup.exe The SDE setup program will query you for a service user name. If the user is a domain user, then use the <domain>\<username> syntax to install the SDE service correctly. Otherwise, you may get a message about not having Administrator's access. Unable to initialize subprogram handling, error = -1
Question: Why does SDEMON fail to start with the following error? Unable to initialize subprogram handling, error = -1 Answer: There are 3 possible problem scenarios: 1.) They don't have access to their tmp directory (/tmp or defined in giomgr.defs) 2.) The tmp directory is full. 3.) They don't have pthread library on that machine or not "Error creating VERSION table. (-51), DBMS error code: 933" or "VERSION table created... Previous SDE Server Version 2.0.0 is not compatible with the current Version 3.0.0." SDBsn55297 Error creating VERSION table. (-51)
VERSION table created... Could not start SDE -- Check Network, $SDEHOME disk and DBMS. Here are the contents of the version table it creates: SQL> select * from version;
Miscellaneous
1. If you use the Oracle Administrative Tool "Storage Manager" to set up your tablespaces be careful that even though you click on M (for Mb) you may get (k) for k. Thus your SDE tablespace may be only 25K NOT 25 Mb that you thought you set. This is too small for SDE to do its work and thus it won't start. We believe this is an Oracle interface bug. Setting the tablespace size in SQL*PLUS seems to behave right. 2. If your SDE [SDEHOME -- Ed.] is longer than 32 characters the start up command will not find it. Thus you get the SDE Error: SDE Home doesn't exist. Moving it to a "shorter pathed" place is the quick fix. What services need to be running? Specifically, which Services should we expect to be running on a functional NT/SDE/Oracle7 system? I see these; are the others required for SDE? o. ESRI License Manager Does this list of services indicate that there are 3 Oracle instances installed on my Yes. Note, running multiple instances of ORACLE on a system requires a large amount of memory (how much depends on the config.). You should switch the OracleService<sid> and OracleStart<sid> services to Manual if they are not in common use. After getting the debugging output, how does the user turn off the License Manager log file? Does the user simply enter a blank name for the log file? No clue. Never used it. Will test at some point and let you know. Trouble starting SDE on non-domain system
Open the Services Control Panel, select (one click) the SDE service, and click on the "Startup..." button. On the Service Panel, in the "Log On As:" section, click on the System Account choice. Close up the Service panel and reboot. License Usage Product: SDE 2.x, 3.x, ArcView 3.0, ArcInfo 7.1, MapObjects 1.x Platform: ALL Question: Does an SDE client, ie. ArcView, ArcInfo, or MapObjects, require additional Answer: Yes. Each connection made from an SDE client (AV3,MO,etc.) to the SDE server When a client establishes a connection, a "gsrvr" process is forked by the The "giomgr" process (sdemon) also uses one Oracle license. Error 0193: %1 is not a valid Windows NT application.
|