Sutdown of a Database in Shared Server Modus

Hi,
I have set up today a database called "db03" in Shared Server Mode. After the installation everything looked fine beside that there was no entry in the listener.ora file for the Database. Anyways I added the entry to the listener.ora and was able to connect to it via the command
sqlplus "sys@db03 as sysdba".
But when I tried to shut it down it gave me the error message
ORA-00106: cannot startup/shutdown database when connected to a dispatcher
back.
So I have checked in several forums and someone said the solution would be to connect to the Database via dedicated connection and there for a entry in the tnsnames.ora file must be added.
(server=dedicated)
I added the line to connection descriptor and if I connect back to the database it really works and I am able to shutdown the database.
But is that really the best and Oracle recommended what to shutdown a Database running in shared server mode ????
Thanks Marcus

There is a note in the administrator's guide that you have to have a dedicated connection to be able to shut down the database...
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96521/start.htm#7871
When a database is running in shared server mode, that just means that connections can be made to a shared server, not that all connections should connect to a shared server. When you are doing certain types of tasks, such as reporting, you are frequently better off requesting a dedicated connection. When you are shutting down the database, you have to request a dedicated session.
If you expect some of the sessions started from a particular machine to need dedicated connections and other sessions to require shared server connections, there are options other than modifying the TNS entry, but 99 times out of 100, anyone who will be shutting down a database will always want a dedicated connection.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Need to create a Database in Shared Serve Mode

    Hi,
    Please help me in Creating a Manual Database in Shared Server Mode. (I am a Student and It is a Learning Process).
    I am able to Create Database (Without DBCA) in Dedicated Mode and I have no doubts in that.
    What are the parameters i need to specify
    Please post me Helpful Links

    Poorna Prakash wrote:
    Hi,
    Please help me in Creating a Manual Database in Shared Server Mode. (I am a Student and It is a Learning Process).
    I am able to Create Database (Without DBCA) in Dedicated Mode and I have no doubts in that.
    What are the parameters i need to specify
    Please post me Helpful LinksYOu need to understand that ... as far as the database is concerned ... it's not an either/or situation between dedicated and shared server. Setting shared server parameter like DISPATCHERS simply allows the database to handle shared server connections. But it is up to the client to specify which method it wants, and the database will always allow dedicated server connections.

  • How to convert a dedicated running oracle server to a shared server

    i need help as to how to convert a dedicated running oracle server to a shared server.(step by step plz i am fairly a fresh person)
    there are presently 10 users but have to configure for 125 users accessing from 5 locations.
    also need how to implement connection manager

    125 users are not so much, unless your database server is a quite small one. Anyway, you have to configure Dispatchers and Shared Servers. See Configuring Oracle Database for Shared Server
    About Connection Manager see Configuring and Administering Oracle Connection Manager

  • Shared Server mode doesn't work well for no-adm users

    hi,
    please... my question is...
    i put the database in shared server mode, setting the correctly parameters, as follow below:
    NAME.......................................VALUE......
    max_shared_servers............................
    shared_servers....................................3
    shared_server_sessions.......................3
    dispatchers.........................................(PROT=tcp)(DISP=3)
    the listener services show me as below:
    LSNRCTL> services
    Estabelecendo conexÒo com (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=orcl)))
    Resumo de Serviþos...
    O serviþo "PLSExtProc" tem 1 instÔncia(s).
    InstÔncia "PLSExtProc", status UNKNOWN, tem 1 handler(s) para este serviþo...
    Handler(s):
    "DEDICATED" estabelecido:0 recusado:0
    LOCAL SERVER
    O serviþo "orcl" tem 1 instÔncia(s).
    InstÔncia "orcl", status READY, tem 4 handler(s) para este serviþo...
    Handler(s):
    "D002" estabelecido:0 recusado:0 atual:0 mßx.:1002 estado:ready
    DISPATCHER <machine: WINXP, pid: 1372>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2509))
    "D001" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
    DISPATCHER <machine: WINXP, pid: 3384>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2508))
    "D000" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
    DISPATCHER <machine: WINXP, pid: 3396>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2507))
    "DEDICATED" estabelecido:0 recusado:0 estado:ready
    LOCAL SERVER
    O serviþo "orcl_XPT" tem 1 instÔncia(s).
    InstÔncia "orcl", status READY, tem 4 handler(s) para este serviþo...
    Handler(s):
    "D002" estabelecido:0 recusado:0 atual:0 mßx.:1002 estado:ready
    DISPATCHER <machine: WINXP, pid: 1372>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2509))
    "D001" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
    DISPATCHER <machine: WINXP, pid: 3384>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2508))
    "D000" estabelecido:1 recusado:0 atual:1 mßx.:1002 estado:ready
    DISPATCHER <machine: WINXP, pid: 3396>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WinXP)(PORT=2507))
    "DEDICATED" estabelecido:0 recusado:0 estado:ready
    LOCAL SERVER
    O comando foi executado com Ûxito
    LSNRCTL>
    are the parameters correctly, aren't they ?
    when i connect by scott user for example, i have the follow result below, accessing the informations by V$SESSION view:
    USERNAME............STATUS........SERVER.........SCHEMANAME
    SCOTT....................INACTIVE......DEDICATED ....SCOTT
    SYS........................ACTIVE.........SHARED..........SYS
    SYS........................INACTIVE......SHARED..........SYS
    SYS........................INACTIVE......DEDICATED.....SYS
    why the SCOTT username show me that it's connection is by DEDICATED server ?
    thanks

    no Legatti,
    it isn't in my tnsnames.ora. The content is:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK
    \ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL_IPC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(Key = orcl))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = orcl)
    (HS = OK)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WinXP)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = WinXp)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

  • Problem with shared server mode

    Hi,
    I want to run my database in shared server mode.I have configured the fallowing parameters in init.ora
    SHARED_SERVERS=2
    MAX_SHARED_SERVERS=10
    DISPATCHERS="(PROTOCOL=TCP)(DISPATCHERS=2)"
    Then I opened the database.
    In another sql*plus session and logged in as scott.There i ran a script to insert 50,000 record s into a table.When the script was running i opened another session as SYSDBA and queried v$shared_server view.
    It showes.
    NAME PADDR STATUS MESSAGES BYTES BREAKS CIRCUIT IDLE BUSY REQUESTS
    S000 54C964F8 WAIT(COMMON) 0 0 0 00 56761 0 0
    S001 54C968A8 WAIT(COMMON) 0 0 0 00 56758 0 0
    Why it is ahowing status as WAIT and requests 0.
    What is wrong with my init.ora setting.Please help me.

    Hi,
    Shared servers (the MTS) does not use PGA RAM, it gets RAM from the large_pool_size region.
    BTW, I don't recomend using shared servers unless you have an acute RAM problem:
    http://www.dba-oracle.com/t_mts_multithreaded_servers_shared.htm
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author

  • Configure Shared Server

    Hello All Gurus;
    I m a new bie to oracle 9i working on Windows XP sp1. Where learning Configuring and Tuning Shared Server. I could not found the answer to the question how to configure a shared server or define in a Database that shared server will be used. Where and when it is to be defined on .... session/user/database level ?
    Pl. Guide me
    Thank You

    Hi Ora-boy,
    Where learning Configuring and Tuning Shared Server. First, never use shared servers (MTS) if you have enough RAM:
    http://www.dba-oracle.com/t_mts_multithreaded_servers_shared.htm
    Oracle's Tom Kyte notes that the MTS should not be used without a "real reason" and he notes that shared server connections are slower than with dedicated database connections (Oracle's default behavior):
    "Unless you have a real reason to use MTS -- don't."
    "a shared server connection is by design "slower" than a dedicated server (more stuff goes on, more complex) it is most likely only getting in the way."
    Also, here are my notes on configuring shared servers:
    http://www.dba-oracle.com/concepts/shared_pool_mts.htm
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Migrating from  Dedicated Server to Shared server

    Hi,
    Please let me know how to configure from Dedicated server to Shared server in oracle 10g.
    Any advises would be appreciated.
    Regards,
    - sridhar

    It is not that hard, you only need to configure four parameters and check the listener to verify this has already been configured and registered. On the other hand, you should configure your tnsnames.ora file so you have the alternative to connect by means of a shared or a dedicated oracle server, otherwise the default, once the dispatchers and the shared server processes are configured will be shared server.
    The four parameters to configure at the initialization parameter file are:
    dispatchers
    max_dispatchers
    shared_servers
    max_shared_servers
    and you should create an entry at the tnsnames.ora file that declares a (server=dedicated) that will be used to connect by means of a dedicated server.
    Further details on Howto configure the shared server can be found here --> Configuring Oracle Database for Shared Server.
    One side note I'd like to add, shared server is suitable for scaleability in OLTP environments, if your kind of job is either batch or DDS you should open a connection by means of a dedicated server, otherwise you'll create a severe bottleneck.
    ~ Madrid

  • Killing users Dedicated server  / Shared Server

    Hi,
    I have a Web Applications that connects to our Oracle database and I can see a lot of users
    stuck in the server and I have to manually kill these users.
    To do this I´ve set a idle time to the conections , and using this script I´m able to kill these users :
    sqlplus system/xxxxxx@instance <<EOF
    spool $tmpfile
    select p.spid from v\$process p,v\$session s
    where s.paddr=p.addr
    and s.status='SNIPED';
    spool off
    EOF
    for x in `cat $tmpfile | grep "^[0123456789]"`
    do
    kill -9 $x
    done
    rm $tmpfile
    I´ve also configured dead conections detection.
    But unfortunatelly This machine has limited resources and the number of users will grow a lot in near future. So my only option is to change the database to shared server. In Shared server I cannot use my script anymore, because it kills all the connected users of that shared server , and dead connections detections is not working very well too ...
    Anybody have a similar problem ? What could be done to clear the users that have already disconected from application and still use shared server mode ?
    Whn users Log off the application it works ok, but sometimes the user closes the browser or we have blue screen in windows, etc and the conection remains forever
    Thank you in advance,

    Really think this should be application issues rather than database issues. Application or application server should have a way to handle idle sessions. It's not a clean way to kill session in the background like that.
    In my environment, after developers changed application we don't have this problem any more.

  • Configuring Database Server to Shared Server Architecture

    Hello! Sir/Madam,
    Presently Our server configuration is Dedicated Server Architecture, due to number of connections opening in the dedicated server, we are shifting our server configuration to the Shared Server Archiecture.
    Will any One send me what are the parameters as to be set to Configure to the Shared Server Archiecture.
    Thanking U with Regards,
    Sravan
    Hyderabad.

    I would suggest also reviewing the DBA Administration manual Ch 4 Managing Oracle Database Processes using the Oracle® Database Administrator's Guide 10g Release 2 (10.2) Part Number B14231-01 since it discusses the database parameter settings in some detail.
    Remember to increase the size of the SGA to handle the UGA areas moved from the PGA into the Shared Pool.
    I would consider continuing to use dedicated sessions for batch and any process that uses dbms_alert or other features that do not work well with shared server.
    HTH -- Mark D Powell --

  • Shared server and starting up a database

    hi guys,
    I am reading in a book:
    And it is logically impossible to issue startup or shutdown commands through a shared server: the shared servers are part of the instance and thus not available at the time you issue a startup command.
    So the administrator should always have a dedicated server connection.
    This confuses me. How can a DBA have a dedicated server connection if we're using shared servers?
    thanks.

    OracleGuy777 wrote:
    hi guys,
    I am reading in a book:
    And it is logically impossible to issue startup or shutdown commands through a shared server: the shared servers are part of the instance and thus not available at the time you issue a startup command.
    So the administrator should always have a dedicated server connection.
    This confuses me. How can a DBA have a dedicated server connection if we're using shared servers?
    thanks.You've already marked the answer as correct, but let me clarify something for your.
    A database doesn't really operate in "shared server" mode vs. "dedicated server" mode. A database will always accept dedicated server connections. In addition, it may accept shared server conditions if it is configured to do so by specifying the dispatchers. It is always the responsibility of the client connection to specify what type of connection is requested.

  • How to find documents on Configuring database to work on  Shared server mode?

    Hi,
    Where can I find documents to configure my database (Oracle 9i Release 2) to work on Shared server mode?
    The Aix 4.3.3 platform has 1 CPU and 1G Memory,and can support only less than 20 connectiions while serving a B/S application.So I want to try MTS.

    Hi,
    a good help for me was this
    http://www.oracleadvice.com/Tips/MTS.htm
    Afterwards you are ready to understand the online doc
    and to find the best configuration.
    Regards
    Christoph

  • Not able to get Shared Server Mode to work in XE

    The server is an HP Dual CPU Xeon, 4 GB RAM. 120GB HD.
    Oracle XE reports the following:
    SGA 768 Target, 768MB Current.
    PGA 256MB Target, 55MB current (when there are a small number of client connections)
    The application and database work properly with a small number of connections, but
    memory usage goes way up on PGA when I start to add more connections.
    I have tried to set up the Oracle server in "Shared Server Mode" , but it appears
    that I was unsuccessful.
    From what I can tell, the oracle listener does not seem to be fowarding the incoming requests to the shared server dispatchers, but
    instead it is deciding to kick off a dedicated server process to handle each client request.
    In other words, it is working in dedicated server mode.
    I am stumped as to what needs to be done next. From what
    I can tell from reading documentation this should be working.
    Please advice as to what else I can do to get things working.
    Here is additional information:
    The parameter SHARED_SERVERS is equal to 4.
    parameter dispatchers=(PROTOCOL=TCP) (SERVICE=XEXDB)
    max_shared_servers, max_dispatchers, shared_server_sessions have no values.
    processes=150
    sessions=170
    Output of lnsrctl utility:
    LSNRCTL> services
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: CO_DB, pid: 5844>
    (ADDRESS=(PROTOCOL=tcp)(HOST=myhostname)(PORT=1771)
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    ILSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 18-SEP-2007 16:06:55
    Uptime 0 days 0 hr. 1 min. 33 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File E:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File E:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhostname)(PORT
    =1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    The contents of the spfile2init.ora file:
    xe.__db_cache_size=104857600
    xe.__java_pool_size=4194304
    xe.__large_pool_size=469762048
    xe.__shared_pool_size=222298112
    xe.__streams_pool_size=0
    *.audit_file_dest='E:\oraclexe\app\oracle\admin\XE\adump'
    *.background_dump_dest='E:\oraclexe\app\oracle\admin\XE\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='E:\oraclexe\oradata\XE\control.dbf'
    *.core_dump_dest='E:\oraclexe\app\oracle\admin\XE\cdump'
    *.db_name='XE'
    *.db_recovery_file_dest='f:\oracle_flash_recovery_area'
    *.db_recovery_file_dest_size=42949672960
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=XEXDB)'
    *.job_queue_processes=4
    *.open_cursors=300
    *.os_authent_prefix=''
    *.pga_aggregate_target=268435456
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=20
    *.sga_target=805306368
    *.shared_servers=4
    *.undo_management='AUTO'
    *.undo_tablespace='UNDO'
    *.user_dump_dest='E:\oraclexe\app\oracle\admin\XE\udump'
    The contents of listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    The contents of tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myhostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    The contents of sqlnet.ora:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)

    I don't think it is supported because of XE multiple cpu usage limitations but "shared server" is not documented in the XE documentation - http://www.oracle.com/pls/xe102/ranked?word=%22shared+server%22
    so you may want to follow this guide for setup and try -
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#ADMIN00502
    Best Regards,
    H.Tonguç YILMAZ
    My Oracle blog
    http://tonguc.wordpress.com
    "Never believe all you read or hear! Just because it is printed or someone is more experienced doesn't mean it is TRUE.."

  • Oracle 9I Database, and Mobile Server install history

    Dear Oracle technical representative:
    This TAR started out as a true request for help in solving installation problems with Oracle 9i Release 2 Enterprise Edition, and Oracle 9i Mobile Server Release 5.0.1, but it has turned into a history of frustration with out of date, laconic, and often incorrect, and misleading documentation. As a software developer, I understand that documentation is always out of date, at least mine is. Nonetheless, I must speak my mind while understanding, and sympathizing with your situation.
    I struggled through the documentation, and managed to get everything working. While I was doing that, I wrote down the step by step procedure that I used to get Database, and Mobile Server running. By sharing this rough install history with you, it is my hope that it will help prevent others from experiencing the same difficulties that I have had. It has been my observation that when a user has problems installing a trial software package they give up quickly, and do not purchase a copy. It is thus extremely important that the installation instructions, and quick start guide be accurate, attentive to detail, and well written. The first impression is the one that counts.
    The Oracle 9i Lite Installation, and Configuration Guide for Windows NT shipped with Oracle 9i Lite Release 5.0.1 definitely requires, and emergency rewrite. It is terribly out of date, inaccurate, and laconic. My guess is that it is a very sloppy rewrite of poorly written 8i documentation. The Oracle 9i Database Installation Guide for Windows is somewhat better. It however should do a better job informing you that before installing onto a old server the Microsoft Foundation Class (MFC), and VC runtime libraries must be up to date. The history describes the trouble with not having the MFC42.dll at version 6. Another corker is that the default port the installer presents is 2030, and not 1521, and that leads to major confusion in the both the Database, and Mobile Server installs.
    Thank you for looking at the history. I hope that it will be of use to you when you update your documentation.
    Thomas G. Matney
    Mississippi State University
    [email protected]
    (662)325-2791
    TAR for Oracle 9i Release 2 Database Enterprise Edition, and Oracle Lite Release 5.0.1 Mobile Server
    Installation problems are highlighted in red.
    Installation sequence/history:
         1. Installed Windows NT 4.0 Server SP1 on Dell Power Edge 4300 dual x86 server to wipe the slate clean.
         2. Setup TCP/IP, and IPX/SPX networks
              Computer name YGGDRASILL
              Host name = YGGDRASILL
              Domain = CFR.MSSTATE.EDU
              Internet name = YGGDRASILL.CFR.MSSATE.EDU = 130.18.130.225
         3. Installed NT SP3, and Internet Explorer 4.01 from the NT 40 Options Pack CD as the gateway to installing MTS 2.0, and IIS 4.0.
         4. Installed MTS 2.0, and IIS 4.0 from NT 4.0 Optins Pack CD.
         5. Applied NT 4.0 SP6.
         6. Installed Internet Explorer 5.5 as a prerequisite to installing MADAC 2.6.          
         7. Installed MDAC 2.6
         8. Installed Paint Shop Pro 7 for capturing error screens.
         9. As previous install errors stated that the ordinal function xxxx could not be found in MFC42.dll, the latest version (6.0.8665.0) of the dll was installed, and registered from MS VC++ SP5. Also I upgraded MSVCIRT.dll, MSVCRT.dll, MSCRT40.dll, and added MSVC60.dll from SP5 to be on the safe side.
    According to the installation documents all the prerequisites for installing Oracle 9i Release 2 Database Enterprise Edition are satisfied.
         10. Began install of Oracle Database Enterprise Edition with target parameters:
              Home directory = D:\Oracle\Ora92
              Database directory = D:\Oracle\oradata
              Global database name = FIA.YGGDRASILL.CFR.MSSTATE.EDU
              Port = 2030
              SID = FIA
              SYSTEM Password = phwphw
              SYS Password = phwphw
              SCOTT Password = phwphw
              DBSNMP Password = I left this one unassigned or empty.
              tnsnames.ora entry for remote TCP/IP connection
              a. CD 1 of 3 load
                   1. Error writting to MFC42u.dll. Action ignore. A check indicated that MFC42u.dll version did not match the updated version of MFC42.dll. Plan is to update after install. Unicode version of MFC is probably not used by the installer.
              b. CD 1 completed with only one problem, and CD 2 load begins.
              c. CD 2 installed without incident., and CD 3 load begins, and completes without farther problems. The only issue to address at this time is to update the MFC42u.dll.
                   HTTP Server URLs
                        http://7778
                        https://4443
         12. Evaluation of install success begins.
              a. Oracle HTTP Service will not start. It is of particular interest that on installs that I do not upgrade the MFC42.dll the Oracle HTTP Service will start correctly, but during the install I get the error message Ordinal nnnn not found in MFC42.dll, and the Oracle MTS Recovery Service crashes during the install. I am caught between a rock and hard spot on this one. See the Figure 1. At the end of this document. I do not need the HTTP Server at this time but I will need it later and this issue must be resolved. It appears that it hangs during startup. I am sorry but I lost the ordinal number nnnn.
              When I try to start the HTTP server from the Programs menu. It Hangs, and does not return an error message. See Figure 2, and the included Apache Setup.txt, the install log, and the HTTPd.conf . The conf, and setup files look OK to me. What is the problem?          
              b. All other services start correctly.
              c. Logged into the database as SCOTT on the server with SQL Plus using the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
              I created some tables, inserted data, and queried for the data. Everthing seems to be working correctly.
              d. Logged in remotely from my AOL account on a dial-up line using Oracle 9i Release 2 Personal Edition installed on my ThinkPad. Every thing tested out as above. I used the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill.cfr.msstate.edu)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
         13. I concluded that except for the Oracle HTTP Server Service not starting correctly, and that after updating the MFC42u.dll to VC++ SP5 level the stage is set for installing Oracle 9i Mobile Server Release 5.0.1. I copied the MFC42u.dll to the server and registered it successfully.
         14. As Visual Studio 6.0 Professional updates all of the MFC stuff, I decides to install it at this juncture, and apply SP5.
         15. Installed JDK1.3.1 required for Oracle 9i Mobile Server Release 5.0.1
    At this time the prerequisites for installing Oracle 9i Mobile Server Release 5.0.1 are satisfied, and MFC, and rt are at version 6.
    It is important to note that after installing MS Visual Studio Professional 6.0 SP5, the HTTP server started working. It is clear that prior to installing Oracle Database it is essential that MFC, and possibly other components are upgraded before starting an installation of Oracle. This probably only applies to old NT servers, but it should be mentioned in the installation instructions.
         16. Attempt to install Oracle Mobile Server Release 5.0.1
              a. File locations Screen
                   Name: = OraLite501               
                   Path: = D:\OraLite501
              b. Select Mobile Server at Installation Screen
              c. Mobile Server Repository Database Information Screen
                   Hostname = YGGDRASILL = hostname from tnsnames.ora
                   Port = 2030 = same as Database port
                        It is troublesome that the port in tsnames.ora is 1521, and not 2030 as was specified in the database install. I will try this port on the reinstall. On the retry, it worked. The problem was that I was mislead by the default port of 2030 at the database install. The database was actually installed on port 1521, and I was not given an error message, or warning. As I am a first time installer of Oracle products this threw me for a loop. The default port for the database needs to be 1521, if regardless of what the user specifies for a port you are going to install on port 1521.
                   Net Service Name = FIA.YGGDRASILL.CFR.MSSTATE.EDU = Global database name as required by installation instructions.
              d. Yes. At Do you want to install the Mobile Server Repository question.
              e. At Oracle Protocol Support, I checked the SPX box.
              f. Summary, and Install screens function to specifications.
              g. Mobile Server Repository Wizard
                   Database System password:
                        Password = phwphw
              h. Mobile Server Repository Wizard
                   Schema Name: fiafield
                   Password : fiafield
              i. Success at last with the install part. The problem was the wrong port number. See my above comments on this problem, and how Oracle could grease the skids for the next first time installer.
         j. I could not find the httpd.conf file in the place the install instructions said it should be for running the Mobile Server in Oracle HTTP Server. Since only one copy of httpd.conf existed, I added the include D:\OraLite501\mobile\server\bin\wtgias.conf to the bottom of the file assuming that it is the correct one. I the re-booted instead of using apache -k restart. The Oracle HTTP Server started, so there is hope. The install instructions state that the httpd.conf file would most likely be in the program files directory, when they are really installed in the Oracle Lite home directory.
         k. According to the documentation the Mobile Server should start when the Oracle HTTP Server starts with the wtgias.conf file added to the httpd.conf file. It does not. If I use Process Explorer, I know that Apache loaded the wtgias.conf, because both Apache.exe processes that are running have the wtgias.dll loaded. The facts are at this stage of the game are
              1. OraMTSRecoveryService is started
              2. OracleOraHome92HTTPService is started
              3. OracleOraHome92Listener is started on port
              4. OracleServiceFIA is started
              5. Apache.exe has the wtgias.dll loaded
              6. The Moble Server is not running and it should be if the documentation is correct.
              7. If I start the Mobile Server either as a service using wtgsvc -i or with the webtogo command from the DOS prompt, the Mobile Server starts, but when I attempt to log in with the URL http://Yggdrasill:7778/webtogo/startup it inform me the Mobile Server is not started and it is. Figure 3 shows the response I receive from the login attempt.
         l. I finally ran the Mobile Server in total debug mode using the command webtogo -d0", and it gave me the subtle hint that the correct URL is
              http://Yggdrasill.cfr.msstate.edu/webtogo/startup.
         When I use the above URL and I can login to the Mobile Server with UN = fiafield, and PW = fiafield. I was confused by the documentation. I was under the assumption that the host address would be either http://Yggdrasill:7778, or http://Yggdrasill:4443. After all when I, installed Oracle Database these URLs were listed. It needs to be made clear in the installation guide for the mobile server that the Mobile Server address is http://Your servers WWW address/webtogo/startup, and the statements about the Mobile Server will start when the Oracle HTTP Server is started needs to be removed since they are incorrect. Also, the documentation should clearly state that the Schema Name, and Password given in the Repository Wizard Screen are synonymous with the username, and password for the Mobile Server login.
         m. After determning the hard way that the Mobile Server does not start when the the Oracle HTTP Server starts, and that the correct URL is http://Internet address/webtogo/startup = http://Yggdrasill.cfr.msstate.edu/webtogo/startup, I decide to start the Mobile Server as a service with the command wtgsvc -i. After I re-booted, to my surprise, I could not login to the Mobile Server. When I checked the system services, the webtogo service was running. So to give the start as a service thing a fair chance I re-booted again, but obtained the same results. I thus concluded that the Mobile Server will not run correctly as a service. As it turns out my conclusion was wrong. After waiting a few minutes, my login try was successful. The documentation should indicate that after booting it may be a minute or two before the Mobile Server service become available.
         n. After some serious problems with the installer, and the documentation everything is working. I have a green light to go on to the next stage, which is program the handheld to take advantage of the Mobile Server. I will be glad to get back to programming, and am so thankful that I am not a network administrator.
         Appendix
    HTTPd.Conf (Abstract only), Apache Setup.txt,
    tsnames.ora, and listener.ora.
    HTTPd.conf (Abstract only)
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # Include the Oracle configuration file for custom settings
    include "D:\oracle\ora92\Apache\Apache\conf\oracle_apache.conf"
    include "D:\OraLite501\mobile\server\bin\wtgias.conf "
         tsnames.ora
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    FIA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    EXTPROC_CONNECTION_DATA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
              listener.ora
    # LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    (ORACLE_HOME = D:\oracle\ora92)
    (SID_NAME = FIA)
              Apache SetupInfo.txt
    The following information is available in:
    D:\oracle\ora92\Apache\Apache\setupinfo.txt
    The HTTP Server can be accessed using the following URLs:
    http://yggdrasill:7778
    https://yggdrasill:4443

    You can find information regarding enabling the iSQLPLUS in the following Oracle manual.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm

  • Which is better for performance Azure SQL Database or SQL Server in Azure VM?

    Hi,
    We are building an ASP.NET app that will be running on Microsoft Cloud which I think is the new name for Windows Azure. We're expecting this app to have many simultaneous users and want to make sure that we provide excellent performance to end users.
    Here are our main concerns/desires:
    Performance is paramount. Fast response times are very very important
    We want to have as little to do with platform maintenance as possible e.g. managing OS or SQL Server updates, etc.
    We are trying to use "out-of-the-box" standard features.
    With that said, which option would give us the best possible database performance: a SQL Server instance running in a VM on Azure or SQL Server Database as a fully managed service?
    Thanks, Sam

    hello,
    SQL Database using shared resources on the Microsft data centre. Microsoft balance the resource usage of SQL Database so that no one application continuously dominates any resource.You can try the 
    Premium Preview
    for Windows Azure SQL Database which offers better performance by guaranteeing a fixed amount of dedicated resources for a database.
    If you using SQL Server instance running in a VM, you control the operating system and database configuration. And the
    performance of the database depends on many factors such as the size of a virtual machine, and the configuration of the data disks.
    Reference:
    Choosing between SQL Server in Windows Azure VM & Windows Azure SQL Database
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • How do I set up a shared server Oracle 9i

    I'm trying to switch from a dedicated server to a shared server. I added mts_dispatchers, mts_servers and mts_max_servers to my configuration file, but got a message saying they have been depricated.
    How is this done in 9i?
    Thanks for your time,
    Anthony

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

Maybe you are looking for

  • Report Generation in Executable​s

    Using LabVIEW 2012 SP1, I created a vi that opens an Excel file and puts a string of data (time stamp and a data bit).  It iterates once a second and appends the file just fine on my laptop.  My problem is that when I create an executable, the Report

  • How do I move my files from dropbox to icloud?  I have 3g of files to move

    I need a short way to move my files from dropbox to icloud. I have alot of information to transfer.

  • Simple question (Trace issue) Access of undefined property

    Having a strange issue with my new Flash Builder and the trace command. Anyone seen this before and why? <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"    xmlns:s="library://ns.adobe.com/flex/spark"   

  • Multpile Email issue in Oracle Alert

    Hi, I need to do a customization where email needs to be sent when the quote gets Approved. I used Oracle Alerts for that. I have defined the alert on aso_quote_headers_all by checking 'After Update' option. Whenever we approve the quote, there are m

  • Cannot See Transfer Rules in Transport Connection

    Hello, I have searched Notes and Forums and have not found a solution for this! I performed some configuration in our newly upgraded BI system. We were on BW 3.5 and upgraded to BI 7.0 We also change how our landscape was interconnected. Our BW Dev s